Bladeren bron

Extended graphics flags to Long. Resolves #58.

Brucey 3 jaren geleden
bovenliggende
commit
4d83d70748
4 gewijzigde bestanden met toevoegingen van 6 en 6 verwijderingen
  1. 1 1
      cocoamaxgui.mod/cocoagui.bmx
  2. 2 2
      gtk3maxgui.mod/gtkgadget.bmx
  3. 2 2
      maxgui.mod/gadget.bmx
  4. 1 1
      win32maxguiex.mod/win32maxguiex.bmx

+ 1 - 1
cocoamaxgui.mod/cocoagui.bmx

@@ -924,7 +924,7 @@ Type TNSGadget Extends TGadget
 	
 ' canvas
 
-	Method AttachGraphics:TGraphics( flags )
+	Method AttachGraphics:TGraphics( flags:Long )
 		canvas=brl.Graphics.AttachGraphics( Query(QUERY_NSVIEW_CLIENT),flags )
 	End Method
 	

+ 2 - 2
gtk3maxgui.mod/gtkgadget.bmx

@@ -4591,7 +4591,7 @@ End Rem
 Type TGTKCanvas Extends TGTKGadget
 
 	Field canvas:TGraphics
-	Field Mode:Int
+	Field Mode:Long
 	
 
 	Function CreateCanvas:TGTKCanvas(x:Int, y:Int, w:Int, h:Int, label:String, group:TGadget, style:Int)
@@ -4642,7 +4642,7 @@ Type TGTKCanvas Extends TGTKGadget
 		PostGuiEvent(EVENT_GADGETPAINT, TGadget(obj))
 	End Function
 	
-	Method AttachGraphics:TGraphics( flags:Int )
+	Method AttachGraphics:TGraphics( flags:Long )
 		Mode = flags
 	End Method
 

+ 2 - 2
maxgui.mod/gadget.bmx

@@ -851,7 +851,7 @@ Type TGadget
 	Method GetProp()
 	End Method
 ' canvas
-	Method AttachGraphics:TGraphics( flags )
+	Method AttachGraphics:TGraphics( flags:Long )
 	End Method
 	Method CanvasGraphics:TGraphics()
 	End Method
@@ -1108,7 +1108,7 @@ Type TProxyGadget Extends TGadget
 		Return proxy.SetPixmap(pixmap,flags)
 	End Method
 ' canvas
-	Method AttachGraphics:TGraphics( flags )
+	Method AttachGraphics:TGraphics( flags:Long )
 		Return proxy.AttachGraphics( flags )
 	End Method
 	Method CanvasGraphics:TGraphics()

+ 1 - 1
win32maxguiex.mod/win32maxguiex.bmx

@@ -3798,7 +3798,7 @@ Type TWindowsPanel Extends TWindowsGadget
 		RedrawGadget(Self)
 	EndMethod
 
-	Method AttachGraphics:TGraphics( flags )
+	Method AttachGraphics:TGraphics( flags:Long )
 		_canvas=brl.Graphics.AttachGraphics( _hwnd,flags )
 	EndMethod