Internal support for variable-height menu
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1066 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
4
global.h
4
global.h
@@ -458,9 +458,11 @@ GFX2_GLOBAL short Brush_rotation_center_Y;
|
||||
|
||||
/// Boolean, true if the menu has to be displayed.
|
||||
GFX2_GLOBAL byte Menu_is_visible;
|
||||
/// Height of the menu, when it's displayed
|
||||
GFX2_GLOBAL word Menu_height;
|
||||
///
|
||||
/// Y position (in screen coordinates) where the menu begins.
|
||||
/// This is always either ::Screen_height (when menu is hidden) or (::Screen_height - ::MENU_HEIGHT)
|
||||
/// This is always either ::Screen_height (when menu is hidden) or (::Screen_height - ::Menu_height)
|
||||
/// As a result, the drawing algoritm always draws the image from 0 to ::Menu_Y-1
|
||||
GFX2_GLOBAL word Menu_Y;
|
||||
/// Y position of the status bar (in screen coordinates)
|
||||
|
||||
Reference in New Issue
Block a user