Fixed sliders and repeatable buttons, for the change of timing method.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1567 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-08-09 22:56:06 +00:00
parent 84e81bbb3f
commit e4d6dcbcbe
3 changed files with 22 additions and 11 deletions

View File

@@ -149,13 +149,7 @@ void Error_function(int error_code, const char *filename, int line_number, const
for (index=0;index<=255;index++)
temp_palette[index].R=255;
Set_palette(temp_palette);
SDL_Delay(500);
// TODO: Replace the above by a loop where cursor is active:
// Need_Timer_events=1
// Compute target=now+500
// Do
// Get_input()
// While now<target
Delay_with_active_mouse(50); // Half a second of red flash
Set_palette(Main_palette);
}
else