From 1582d9e6d9257d4b624e944b81efe5e6b4acbfce Mon Sep 17 00:00:00 2001 From: Yves Rizoud Date: Sat, 31 Oct 2009 23:57:32 +0000 Subject: [PATCH] Contextual help for skin window git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1129 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- buttons.c | 2 ++ helpfile.h | 24 +++++++++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/buttons.c b/buttons.c index 75e0eba6..f6008f3e 100644 --- a/buttons.c +++ b/buttons.c @@ -1121,6 +1121,8 @@ void Button_Skins(void) do { clicked_button=Window_clicked_button(); + if (Is_shortcut(Key,0x100+BUTTON_HELP)) + Window_help(BUTTON_SETTINGS, "SKINS"); switch(clicked_button) { diff --git a/helpfile.h b/helpfile.h index 748794f7..a3938903 100644 --- a/helpfile.h +++ b/helpfile.h @@ -2065,11 +2065,6 @@ static const T_Help_table helptable_settings[] = HELP_TEXT ("some particular files or directories must be") HELP_TEXT ("displayed by the fileselectors or not.") HELP_TEXT ("") - HELP_TEXT ("- Show/Hide picture limits: Indicates if the") - HELP_TEXT ("picture boundaries must be displayed when") - HELP_TEXT ("you are in a resolution bigger than the") - HELP_TEXT ("picture.") - HELP_TEXT ("") HELP_TEXT ("- Clear palette: Indicates if loading a file") HELP_TEXT ("with a palette of less than 256 colors must") HELP_TEXT ("erase the rest of the current palette") @@ -2117,9 +2112,6 @@ static const T_Help_table helptable_settings[] = HELP_TEXT ("placing the handle in the center of the") HELP_TEXT ("brush.") HELP_TEXT ("") - HELP_TEXT ("- Separate colors: Draws a squaring around") - HELP_TEXT ("the colors of the tool-bar.") - HELP_TEXT ("") HELP_TEXT ("- Auto-set resolution: sets the best") HELP_TEXT ("resolution for the loaded image.") HELP_TEXT ("") @@ -2151,9 +2143,10 @@ static const T_Help_table helptable_settings[] = HELP_TEXT ("GrafX2 with a classical font, or another one") HELP_TEXT ("a bit funnier.") HELP_TEXT ("") - HELP_TEXT ("- Cursor: allows you to choose whether you") - HELP_TEXT ("prefer a solid cursor or a transparent") - HELP_TEXT ("cursor.") + HELP_TEXT ("- Cursor: Allows you to choose the graphic") + HELP_TEXT ("mouse cursor: Solid and Thin are solid black") + HELP_TEXT ("and white cursors defined by the skin file,") + HELP_TEXT (" Transparent is a 1-pixel wide XOR cross.") HELP_TEXT ("") HELP_TEXT ("- Graphic file: you can change the whole") HELP_TEXT ("interface by selecting where the sprites for") @@ -2165,6 +2158,15 @@ static const T_Help_table helptable_settings[] = HELP_TEXT ("days of Sunset Design. If you create a good") HELP_TEXT ("skin, feel free to share it with us! We may") HELP_TEXT ("include it in a future release...") + HELP_TEXT ("") + HELP_TEXT ("- Separate colors: Draws a squaring around") + HELP_TEXT ("the colors of the tool-bar.") + HELP_TEXT ("") + HELP_TEXT ("- Show/Hide picture limits: Indicates if the") + HELP_TEXT ("picture boundaries must be displayed when") + HELP_TEXT ("you are in a resolution bigger than the") + HELP_TEXT ("picture.") + HELP_TEXT ("") }; static const T_Help_table helptable_clear[] = {