summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
commit5ae6d3b29f93fe2bd7222eb843c8688561ac612c (patch)
treebb531156ba9adb428fea2fae5b97f94d3198d70d /src/gui/windows/whoisonline.h
parent938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff)
downloadmanaplus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz
manaplus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2
manaplus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz
manaplus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/whoisonline.h')
-rw-r--r--src/gui/windows/whoisonline.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h
index 271bf6ffd..915150409 100644
--- a/src/gui/windows/whoisonline.h
+++ b/src/gui/windows/whoisonline.h
@@ -189,18 +189,11 @@ private:
UPDATE_LIST
};
+ time_t mUpdateTimer;
+
/** A thread that use libcurl to download updates. */
SDL_Thread *mThread;
- /** Status of the current download. */
- DownloadStatus mDownloadStatus;
-
- /** Flag that show if current download is complete. */
- bool mDownloadComplete;
-
- /** Byte count currently downloaded in mMemoryBuffer. */
- int mDownloadedBytes;
-
/** Buffer for files downloaded to memory. */
char *mMemoryBuffer;
@@ -209,7 +202,6 @@ private:
BrowserBox *mBrowserBox;
ScrollArea *mScrollArea;
- time_t mUpdateTimer;
std::set<OnlinePlayer*> mOnlinePlayers;
std::set<std::string> mOnlineNicks;
@@ -218,6 +210,15 @@ private:
std::vector<OnlinePlayer*> mNeutral;
std::vector<OnlinePlayer*> mDisregard;
std::vector<OnlinePlayer*> mEnemy;
+
+ /** Byte count currently downloaded in mMemoryBuffer. */
+ int mDownloadedBytes;
+
+ /** Status of the current download. */
+ DownloadStatus mDownloadStatus;
+
+ /** Flag that show if current download is complete. */
+ bool mDownloadComplete;
bool mAllowUpdate;
bool mShowLevel;
bool mUpdateOnlineList;