mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Partial editbox support for high scores
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user