- all optionmenu items scriptified, but not integrated yet.

This commit is contained in:
Christoph Oelckers 2017-02-11 00:36:53 +01:00
commit f91d91d6e8
19 changed files with 1953 additions and 207 deletions

View file

@ -64,6 +64,7 @@ void M_DrawConText (int color, int x, int y, const char *str)
TAG_DONE);
}
IMPLEMENT_CLASS(DOptionMenu, false, false)
IMPLEMENT_POINTERS_START(DOptionMenu)
@ -475,13 +476,6 @@ void DOptionMenu::Drawer ()
Super::Drawer();
}
//=============================================================================
//
// base class for menu items
//
//=============================================================================
int DOptionMenuItem::Draw(DOptionMenuDescriptor *desc, int y, int indent, bool selected)
{
return indent;
@ -527,7 +521,6 @@ void DOptionMenuItem::drawLabel(int indent, int y, EColorRange color, bool graye
}
void DOptionMenuDescriptor::CalcIndent()
{
// calculate the menu indent