Hide button now brings a drop-down menu to choose toolbars to show/hide. Right-clicking it toggles them all off/on. Internal: Added support for dropdowns that expand above the button (available in toolbars and windows); Allowed toolbar buttons to wait for button release (the usual) or immediately trigger their effect.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1266 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-01-17 01:56:56 +00:00
parent 450b64ca10
commit 6a69fa2b79
14 changed files with 224 additions and 70 deletions

View File

@@ -174,9 +174,9 @@ T_Key_config ConfigKey[NB_SHORTCUTS] = {
SDLK_SPACE|MOD_SHIFT, // Shift + Space
0},
{18,
"Show/hide option menu",
"Switch the tool bar display on/off.",
"This hot-key cannot be removed.",
"Show/hide menu toolbars",
"Hides all toolbar menus, or shows",
"them back.",
"",
false,
SDLK_F10, // F10
@@ -1499,7 +1499,7 @@ word Ordering[NB_SHORTCUTS]=
SPECIAL_MOUSE_RIGHT, // Emulate mouse right
SPECIAL_CLICK_LEFT, // Emulate mouse click left
SPECIAL_CLICK_RIGHT, // Emulate mouse click right
0x200+BUTTON_HIDE, // Show / Hide menu
0x200+BUTTON_HIDE, // Show / Hide menus
SPECIAL_SHOW_HIDE_CURSOR, // Show / Hide cursor
SPECIAL_DOT_PAINTBRUSH, // Paintbrush = "."
0x100+BUTTON_PAINTBRUSHES, // Paintbrush choice