diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-29 00:45:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-29 00:47:23 +0300 |
commit | d7a8fb0f709677b76cbd63e9a48a466a4940b6fb (patch) | |
tree | 7a4cd71809b8992f9e2d11d8aa212a7acc181480 /src/client.h | |
parent | 47cebf2c33561324ab800ec6ab8e5267b6550b1f (diff) | |
download | mv-d7a8fb0f709677b76cbd63e9a48a466a4940b6fb.tar.gz mv-d7a8fb0f709677b76cbd63e9a48a466a4940b6fb.tar.bz2 mv-d7a8fb0f709677b76cbd63e9a48a466a4940b6fb.tar.xz mv-d7a8fb0f709677b76cbd63e9a48a466a4940b6fb.zip |
Highlight window header with * if got new chat message with minimized window.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/client.h b/src/client.h index 393e4cb73..78e8eaf58 100644 --- a/src/client.h +++ b/src/client.h @@ -248,8 +248,9 @@ public: static bool getIsMinimized() { return instance()->mIsMinimized; } - static void setIsMinimized(const bool n) - { instance()->mIsMinimized = n; } + static void setIsMinimized(const bool n); + + static void newChatMessage(); static bool getInputFocused() { return instance()->mInputFocused; } @@ -386,6 +387,8 @@ private: bool mInputFocused; bool mMouseFocused; float mGuiAlpha; + std::string mCaption; + bool mNewMessageFlag; FPSmanager mFpsManager; }; |