Add RefreshMapGadget() to refreash the Gadget when resize or other ...

This commit is contained in:
2016-08-03 21:11:02 +02:00
parent 5a3ca03786
commit 024ee41f93

View File

@@ -833,6 +833,10 @@ Module PBMap
ProcedureReturn Value ProcedureReturn Value
EndProcedure EndProcedure
Procedure RefreshMapGadget()
SignalSemaphore(OSM\Drawing\Semaphore)
EndProcedure
Procedure Event(Event.l) Procedure Event(Event.l)
Protected Gadget.i Protected Gadget.i
Protected MouseX.i, MouseY.i Protected MouseX.i, MouseY.i
@@ -1053,9 +1057,10 @@ CompilerIf #PB_Compiler_IsMainFile
EndIf EndIf
CompilerEndIf CompilerEndIf
; IDE Options = PureBasic 5.42 LTS (Windows - x86) ; IDE Options = PureBasic 5.50 (Windows - x86)
; CursorPosition = 11 ; CursorPosition = 835
; Folding = -------- ; FirstLine = 811
; EnableUnicode ; Folding = ---------
; EnableThread ; EnableThread
; EnableXP ; EnableXP
; EnableUnicode