mirror of
https://github.com/edubart/otclient.git
synced 2025-12-22 16:27:10 +01:00
BEAWARE all game functionality is disabled with this commit for a while
* rework client modules * hide main window when loading * remake top menu functions * rework modules autoload * improve path resolving for otml and lua * move core_widgets to core_lib * fix tooltip issues * split some styles * add bit32 lua library * fix assert issues * fix compilation on linux 32 systems * rework gcc compile options * renable and fix some warnings * remove unused constants * speedup sprite cache * move UIGame to lua (not funcional yet) * fix a lot of issues in x11 window * fix crash handler * add some warnings do uiwidget and much more...
This commit is contained in:
@@ -80,8 +80,8 @@ public:
|
||||
bool isKeyPressed(Fw::Key keyCode) { return m_keysState[keyCode]; }
|
||||
|
||||
bool isVisible() { return m_visible; }
|
||||
bool isMaximized() { return m_maximized; }
|
||||
bool isFullscreen() { return m_fullscreen; }
|
||||
virtual bool isMaximized() = 0;
|
||||
bool hasFocus() { return m_focused; }
|
||||
|
||||
void setOnClose(const SimpleCallback& onClose) { m_onClose = onClose; }
|
||||
@@ -112,6 +112,7 @@ protected:
|
||||
Boolean<false> m_visible;
|
||||
Boolean<false> m_focused;
|
||||
Boolean<false> m_fullscreen;
|
||||
Boolean<false> m_maximized;
|
||||
|
||||
SimpleCallback m_onClose;
|
||||
OnResizeCallback m_onResize;
|
||||
|
||||
Reference in New Issue
Block a user