On 2015-04-09 15:03, Gautier de Montmollin wrote:
> Hello,
> I'm new to GNOGA so perdon my beginner questions...
> I'd like to register the mouse position of last drop operation.
> The idea is to be able to move objects.
>
I (slowly) make my self acquainted with drag/drop via a
tic/tac/toe game.
3x3 squares where I can drop X:es or O:s where the
square is free. (Not done yet)
But I find it useful to set up these callbacks
-- set source
procedure Start_Drag
procedure End_Drag
-- set target
procedure Enter_Drag
-- clear target
procedure Leave_Drag
-- execute on target
procedure Drop (Object : in out Gnoga.Gui.Base.Base_Type'Class;
Drag_Text : in String ) ;
and see in what order they are fired,
and save info in the app-specific data structure - my_app
--
Björn
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list