Drag and drop files: more stable. Unfinished

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1570 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-08-12 20:08:36 +00:00
parent cd39485232
commit c83cd8c339
4 changed files with 101 additions and 34 deletions

View File

@@ -60,5 +60,17 @@ extern int Snap_axis_origin_X;
/// For the :Snap_axis mode, sets the origin's point (in image coordinates)
extern int Snap_axis_origin_Y;
/// Boolean, true if Push_timer_event() should put "ticks" in the SDL queue
extern volatile int Need_Timer_events;
///
/// Boolean, true if the timer should put "ticks" in the SDL queue.
/// This one flag is for tools (airbrush) or windows (repeatable button) that require it.
extern volatile int Need_timer_for_tool;
///
/// Boolean, true if the timer should put "ticks" in the SDL queue.
/// This one flag is for the mouse emulation, by keyboard/joystick.
extern volatile int Need_timer_for_cursor;
///
/// This malloced string is set when a drag-and-drop event
/// brings a file to Grafx2's window.
extern char * Drop_file_name;