Keyboard shortcuts that open a window now also close it (Issue 88). Fixed a recent bug that made contextual help in FX window only work once.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1004 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-08-23 00:41:40 +00:00
parent 8ac66726f2
commit 7bfdb28936
9 changed files with 85 additions and 30 deletions

View File

@@ -978,6 +978,8 @@ int Menu_shade(void)
Key=0;
Window_help(BUTTON_EFFECTS, "SHADE");
}
else if (Is_shortcut(Key,SPECIAL_SHADE_MENU))
clicked_button=5;
}
}
while ((clicked_button!=4) && (clicked_button!=5));
@@ -1097,6 +1099,8 @@ void Button_Quick_shade_menu(void)
}
if (Is_shortcut(Key,0x100+BUTTON_HELP))
Window_help(BUTTON_EFFECTS, "QUICK SHADE");
else if (Is_shortcut(Key,SPECIAL_QUICK_SHADE_MENU))
clicked_button=1;
}
while ((clicked_button!=1) && (clicked_button!=2));