Layer toolbar visible by default. Grafx2 now records which toolbars are visible on exit, and restores them next time.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1327 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-02-08 18:58:42 +00:00
parent b0a700850f
commit 6f08d59f01
8 changed files with 68 additions and 32 deletions

5
init.h
View File

@@ -44,3 +44,8 @@ extern char Gui_loading_error_message[512];
/// If an error is encountered, it frees what needs it, prints an error message
/// in ::Gui_loading_error_message, and returns NULL.
byte * Load_font(const char * font_name);
///
/// Based on which toolbars are visible, updates their offsets and
/// computes ::Menu_height and ::Menu_Y
void Compute_menu_offsets(void);