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:
2
graph.c
2
graph.c
@@ -530,7 +530,7 @@ int Init_mode_video(int width, int height, int fullscreen, int pix_ratio)
|
||||
|
||||
Menu_Y = Screen_height;
|
||||
if (Menu_is_visible)
|
||||
Menu_Y -= MENU_HEIGHT * Menu_factor_Y;
|
||||
Menu_Y -= Menu_height * Menu_factor_Y;
|
||||
Menu_status_Y = Screen_height-(Menu_factor_Y<<3);
|
||||
|
||||
Adjust_mouse_sensitivity(fullscreen);
|
||||
|
||||
Reference in New Issue
Block a user