summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/ConnectWindow.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-14 06:27:29 +0000
committerDavid Robillard <d@drobilla.net>2008-08-14 06:27:29 +0000
commit46d363c84afd6306a0fa7fe60b77808087047b44 (patch)
tree0972a00760874f37e05b33cdae776a08f42bdb86 /src/libs/gui/ConnectWindow.hpp
parent576774c657d99c7c9954eefff27b886694913022 (diff)
downloadingen-46d363c84afd6306a0fa7fe60b77808087047b44.tar.gz
ingen-46d363c84afd6306a0fa7fe60b77808087047b44.tar.bz2
ingen-46d363c84afd6306a0fa7fe60b77808087047b44.zip
Don't present (or even load widgets from XML) connection window until some time has passed (i.e. don't show it at all if the connection happens fast enough).
git-svn-id: http://svn.drobilla.net/lad/ingen@1375 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/ConnectWindow.hpp')
-rw-r--r--src/libs/gui/ConnectWindow.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libs/gui/ConnectWindow.hpp b/src/libs/gui/ConnectWindow.hpp
index d8635804..e7620026 100644
--- a/src/libs/gui/ConnectWindow.hpp
+++ b/src/libs/gui/ConnectWindow.hpp
@@ -65,15 +65,22 @@ private:
void disconnect();
void connect();
void quit();
+ void on_show();
void on_hide();
+ void load_widgets();
+ void set_connecting_widget_states();
+
bool gtk_callback();
+ const Glib::RefPtr<Gnome::Glade::Xml> _xml;
+
Mode _mode;
int32_t _ping_id;
bool _attached;
- int _connect_stage;
+ bool _widgets_loaded;
+ int _connect_stage;
SharedPtr<Glib::Module> _engine_module;
Ingen::Engine* (*_new_engine)(Ingen::Shared::World* world);