mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- fixed size setup for most menus.
All of Raze's menus scale to 320x200 and to get proper mouse coordinates the definitions must reflect that as well. Fixes #271
This commit is contained in:
parent
80404558f6
commit
2f2d0443f2
3 changed files with 5 additions and 1 deletions
|
@ -86,6 +86,7 @@ int Printf (int printlevel, const char *format, ...) ATTRIBUTE((format(printf,2,
|
|||
int Printf (const char *format, ...) ATTRIBUTE((format(printf,1,2)));
|
||||
int DPrintf (int level, const char *format, ...) ATTRIBUTE((format(printf,2,3)));
|
||||
|
||||
void I_DebugPrint(const char* cp);
|
||||
void debugprintf(const char* f, ...); // Prints to the debugger's log.
|
||||
|
||||
// flag to silence non-error output
|
||||
|
|
|
@ -82,6 +82,7 @@ LISTMENU "MainMenu"
|
|||
|
||||
LISTMENU "IngameMenu"
|
||||
{
|
||||
Size 320, 200
|
||||
ifgame(Duke, Nam, WW2GI, Redneck, RedneckRides)
|
||||
{
|
||||
position 160, 55
|
||||
|
@ -152,6 +153,7 @@ LISTMENU "IngameMenu"
|
|||
|
||||
LISTMENU "EpisodeMenu"
|
||||
{
|
||||
Size 320, 200
|
||||
ifgame(Duke, Nam, WW2GI, Redneck, RedneckRides)
|
||||
{
|
||||
position 160, 48
|
||||
|
@ -176,6 +178,7 @@ LISTMENU "EpisodeMenu"
|
|||
|
||||
LISTMENU "SkillMenu"
|
||||
{
|
||||
Size 320, 200
|
||||
ifgame(Duke, Nam, WW2GI, Redneck, RedneckRides)
|
||||
{
|
||||
position 160, 48
|
||||
|
@ -1719,6 +1722,7 @@ OptionValue "os_isanyof_values"
|
|||
/*
|
||||
LISTMENU "MultiMenu"
|
||||
{
|
||||
Size 320, 200
|
||||
ifgame(Duke, Nam, WW2GI)
|
||||
{
|
||||
position 160, 55, 135
|
||||
|
|
|
@ -246,7 +246,6 @@ class ListMenu : Menu
|
|||
y = int((y - fy) * h / fh);
|
||||
}
|
||||
|
||||
|
||||
if (mFocusControl != NULL)
|
||||
{
|
||||
mFocusControl.MouseEvent(type, x, y);
|
||||
|
|
Loading…
Reference in a new issue