mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
rework on dat and spr loader
This commit is contained in:
@@ -37,7 +37,7 @@ void UIManager::resize(const Size& size)
|
||||
m_rootWidget->resize(size);
|
||||
}
|
||||
|
||||
void UIManager::inputEvent(const InputEvent& event)
|
||||
void UIManager::inputEvent(const PlatformEvent& event)
|
||||
{
|
||||
// translate input event to ui events
|
||||
if(m_rootWidget) {
|
||||
|
@@ -13,7 +13,7 @@ public:
|
||||
|
||||
void render();
|
||||
void resize(const Size& size);
|
||||
void inputEvent(const InputEvent& event);
|
||||
void inputEvent(const PlatformEvent& event);
|
||||
|
||||
bool importStyles(const std::string& file);
|
||||
void importStyleFromOTML(const OTMLNodePtr& styleNode);
|
||||
|
Reference in New Issue
Block a user