mirror of
https://github.com/edubart/otclient.git
synced 2025-12-23 00:27:12 +01:00
major UIWidget rewrite with new features
This commit is contained in:
@@ -47,12 +47,12 @@ void UIManager::terminate()
|
||||
|
||||
void UIManager::render()
|
||||
{
|
||||
m_rootWidget->render();
|
||||
m_rootWidget->draw();
|
||||
}
|
||||
|
||||
void UIManager::resize(const Size& size)
|
||||
{
|
||||
m_rootWidget->resize(g_window.getSize());
|
||||
m_rootWidget->setSize(g_window.getSize());
|
||||
}
|
||||
|
||||
void UIManager::inputEvent(const InputEvent& event)
|
||||
|
||||
Reference in New Issue
Block a user