From ad069f442ce1a042361620f30d5b313668df23c4 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Tue, 5 Jul 2016 13:11:29 +0600 Subject: GUI: Add "Run server" button in Cloud tab --- gui/options.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gui/options.h') diff --git a/gui/options.h b/gui/options.h index fa7a1d28b9..77470aef57 100644 --- a/gui/options.h +++ b/gui/options.h @@ -247,7 +247,7 @@ protected: PopUpWidget *_updatesPopUp; #endif -#ifdef USE_CLOUD +#if defined USE_CLOUD || defined USE_SDL_NET // // Cloud controls // @@ -263,9 +263,13 @@ protected: ButtonWidget *_storageConnectButton; ButtonWidget *_storageRefreshButton; ButtonWidget *_storageDownloadButton; + ButtonWidget *_runServerButton; + StaticTextWidget *_serverInfoLabel; bool _redrawCloudTab; void setupCloudTab(); +#endif +#ifdef USE_CLOUD void storageInfoCallback(Cloud::Storage::StorageInfoResponse response); void storageListDirectoryCallback(Cloud::Storage::ListDirectoryResponse response); #endif -- cgit v1.2.3