Reverted the change of input system (mostly, still needs more testing) Changed color cycling so it no longer needs a separate thread.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1581 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -167,7 +167,7 @@ void Button_Message_initial(void)
|
||||
Display_cursor();
|
||||
|
||||
while(!Mouse_K && !Key)
|
||||
Get_input();
|
||||
Get_input(20);
|
||||
if (Mouse_K)
|
||||
Wait_end_of_click();
|
||||
|
||||
@@ -337,7 +337,7 @@ void Button_Select_forecolor(void)
|
||||
// Wait loop after initial click
|
||||
while(Mouse_K)
|
||||
{
|
||||
Get_input();
|
||||
Get_input(20);
|
||||
|
||||
if (Button_under_mouse()==BUTTON_CHOOSE_COL)
|
||||
{
|
||||
@@ -373,7 +373,7 @@ void Button_Select_backcolor(void)
|
||||
// Wait loop after initial click
|
||||
do
|
||||
{
|
||||
Get_input();
|
||||
Get_input(20);
|
||||
|
||||
if (Button_under_mouse()==BUTTON_CHOOSE_COL)
|
||||
break; // This will repeat this button's action
|
||||
|
||||
Reference in New Issue
Block a user