From 024ee41f9392c1109c1c1ac06c42f4ed877e5593 Mon Sep 17 00:00:00 2001 From: thyphoonfr Date: Wed, 3 Aug 2016 21:11:02 +0200 Subject: [PATCH] Add RefreshMapGadget() to refreash the Gadget when resize or other ... --- PBMap.pb | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/PBMap.pb b/PBMap.pb index 18247e1..144c994 100644 --- a/PBMap.pb +++ b/PBMap.pb @@ -833,6 +833,10 @@ Module PBMap ProcedureReturn Value EndProcedure + Procedure RefreshMapGadget() + SignalSemaphore(OSM\Drawing\Semaphore) + EndProcedure + Procedure Event(Event.l) Protected Gadget.i Protected MouseX.i, MouseY.i @@ -1053,9 +1057,10 @@ CompilerIf #PB_Compiler_IsMainFile EndIf CompilerEndIf -; IDE Options = PureBasic 5.42 LTS (Windows - x86) -; CursorPosition = 11 -; Folding = -------- -; EnableUnicode +; IDE Options = PureBasic 5.50 (Windows - x86) +; CursorPosition = 835 +; FirstLine = 811 +; Folding = --------- ; EnableThread -; EnableXP \ No newline at end of file +; EnableXP +; EnableUnicode \ No newline at end of file