- Added some dummy functions for the option menu.

This commit is contained in:
drfrag 2019-07-10 18:05:26 +02:00
parent 660d930cf6
commit a6429a1ae1

View file

@ -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")