From 5ae6d3b29f93fe2bd7222eb843c8688561ac612c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 13 Mar 2014 20:33:37 +0300 Subject: improve variables order in windows. --- src/gui/windows/whoisonline.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'src/gui/windows/whoisonline.h') 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 mOnlinePlayers; std::set mOnlineNicks; @@ -218,6 +210,15 @@ private: std::vector mNeutral; std::vector mDisregard; std::vector 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; -- cgit v1.2.3-60-g2f50