summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-29 00:45:50 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-29 00:47:23 +0300
commitd7a8fb0f709677b76cbd63e9a48a466a4940b6fb (patch)
tree7a4cd71809b8992f9e2d11d8aa212a7acc181480 /src/client.h
parent47cebf2c33561324ab800ec6ab8e5267b6550b1f (diff)
downloadmv-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.h7
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;
};