* Add support for drag and drop of a picture into grafx2 windows
WARNING : it will not ask to save changes before. I believe it should work like the fileselector but could not find where to plug it there... git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1548 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
19
src/main.c
19
src/main.c
@@ -85,6 +85,15 @@
|
||||
extern DECLSPEC int SDLCALL SDL_putenv(const char *variable);
|
||||
#endif
|
||||
|
||||
int test_colorcycling(void* useless)
|
||||
{
|
||||
byte r = 0;
|
||||
while(1) {
|
||||
SDL_Delay(50);
|
||||
Set_color(0,++r,0,0);
|
||||
}
|
||||
}
|
||||
|
||||
//--- Affichage de la syntaxe, et de la liste des modes vidéos disponibles ---
|
||||
void Display_syntax(void)
|
||||
{
|
||||
@@ -818,6 +827,16 @@ int Init_program(int argc,char * argv[])
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
// Color cycling test
|
||||
{
|
||||
SDL_Thread* t = SDL_CreateThread(test_colorcycling, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
AcceptDND();
|
||||
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user