diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-13 20:33:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-13 20:33:37 +0300 |
commit | 5ae6d3b29f93fe2bd7222eb843c8688561ac612c (patch) | |
tree | bb531156ba9adb428fea2fae5b97f94d3198d70d /src/gui/windows/whoisonline.h | |
parent | 938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff) | |
download | manaverse-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz manaverse-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2 manaverse-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz manaverse-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip |
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/whoisonline.h')
-rw-r--r-- | src/gui/windows/whoisonline.h | 21 |
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; |