Partial editbox support for high scores

This commit is contained in:
elasota
2020-02-16 20:55:47 -05:00
parent bd2e27978e
commit 8f4ac13919
18 changed files with 523 additions and 80 deletions

View File

@@ -84,6 +84,19 @@ namespace PortabilityLayer
(void)style;
}
bool Widget::HandlesTickEvents() const
{
return false;
}
void Widget::GainFocus()
{
}
void Widget::LoseFocus()
{
}
void Widget::SetString(const PLPasStr &str)
{
(void)str;
@@ -99,6 +112,11 @@ namespace PortabilityLayer
return m_rect;
}
Window *Widget::GetWindow() const
{
return m_window;
}
Widget::Widget(const WidgetBasicState &state)
: m_rect(state.m_rect)
, m_window(state.m_window)
@@ -120,6 +138,10 @@ namespace PortabilityLayer
{
}
void Widget::OnTick()
{
}
void Widget::BaseRelease(void *storage)
{
PortabilityLayer::MemoryManager::GetInstance()->Release(storage);