Level editor work

This commit is contained in:
elasota
2020-01-04 01:19:01 -05:00
parent ec7e511cdd
commit a4b8db1065
29 changed files with 358 additions and 168 deletions

View File

@@ -35,6 +35,16 @@ namespace PortabilityLayer
OnStateChanged();
}
void Widget::SetVisible(bool visible)
{
m_visible = visible;
}
bool Widget::IsVisible() const
{
return m_visible;
}
void Widget::SetHighlightStyle(int16_t style)
{
(void)style;
@@ -54,6 +64,7 @@ namespace PortabilityLayer
: m_rect(state.m_rect)
, m_window(state.m_window)
, m_enabled(state.m_enabled)
, m_visible(true)
, m_state(0)
{
}