Drag-n-drop file in Grafx2 window is now cleanly prevented while a window is open: The OS's mouse cursor is the 'forbidden' sign. Preparatory work for horizontal slider controls.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1597 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
15
src/input.c
15
src/input.c
@@ -96,21 +96,6 @@ short Joybutton_left_click=0; // Button number that serves as left click
|
||||
short Joybutton_right_click=0; // Button number that serves as right-click
|
||||
#endif
|
||||
|
||||
|
||||
void AcceptDND(void)
|
||||
{
|
||||
#ifdef __WIN32__
|
||||
SDL_SysWMinfo wminfo;
|
||||
HWND hwnd;
|
||||
|
||||
SDL_VERSION(&wminfo.version);
|
||||
SDL_GetWMInfo(&wminfo);
|
||||
hwnd = wminfo.window;
|
||||
DragAcceptFiles(hwnd,TRUE);
|
||||
SDL_EventState (SDL_SYSWMEVENT,SDL_ENABLE );
|
||||
#endif
|
||||
}
|
||||
|
||||
int Has_shortcut(word function)
|
||||
{
|
||||
if (function == 0xFFFF)
|
||||
|
||||
Reference in New Issue
Block a user