mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-22 15:47:19 +00:00
- Added some dummy functions for the option menu.
This commit is contained in:
parent
660d930cf6
commit
a6429a1ae1
1 changed files with 15 additions and 0 deletions
|
@ -289,6 +289,21 @@ class Menu : Object native ui version("2.4")
|
|||
screen.DrawText (ConFont, color, x, y, str, DTA_CellX, 8 * CleanXfac_1, DTA_CellY, 8 * CleanYfac_1);
|
||||
}
|
||||
|
||||
static Font OptionFont()
|
||||
{
|
||||
return SmallFont;
|
||||
}
|
||||
|
||||
static int OptionHeight()
|
||||
{
|
||||
return OptionFont().GetHeight();
|
||||
}
|
||||
|
||||
static int OptionWidth(String s)
|
||||
{
|
||||
return OptionFont().StringWidth(s);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class MenuDescriptor : Object native ui version("2.4")
|
||||
|
|
Loading…
Reference in a new issue