#include "ardour_dialog.h"
#include "editing.h"
#include "ui_config.h"
+#include "window_proxy.h"
class About;
class AddRouteDialog;
class Splash;
class ThemeManager;
class MidiTracer;
+class WindowProxyBase;
+class GlobalPortMatrixWindow;
namespace Gtkmm2ext {
class TearOff;
bool run_startup (bool should_be_new, std::string load_template);
- void show ();
- bool shown() { return shown_flag; }
-
void show_splash ();
void hide_splash ();
void launch_chat ();
+ void launch_manual ();
+ void launch_reference ();
void show_about ();
void hide_about ();
void set_shuttle_fract (double);
+ void add_window_proxy (WindowProxyBase *);
+ void remove_window_proxy (WindowProxyBase *);
+
protected:
friend class PublicEditor;
void manage_window (Gtk::Window&);
AudioClock big_clock;
- Gtk::Window* big_clock_window;
+ ActionWindowProxy<Gtk::Window>* big_clock_window;
int original_big_clock_width;
int original_big_clock_height;
double original_big_clock_font_size;
BundleManager *bundle_manager;
void create_bundle_manager ();
- LocationUIWindow *location_ui;
+ ActionWindowProxy<LocationUIWindow>* location_ui;
int create_location_ui ();
void handle_locations_change (ARDOUR::Location*);
+ ActionWindowProxy<GlobalPortMatrixWindow>* _global_port_matrix[ARDOUR::DataType::num_types];
+ void toggle_global_port_matrix (ARDOUR::DataType);
+
static UIConfiguration *ui_config;
ThemeManager *theme_manager;
About* about;
Splash* splash;
void pop_back_splash ();
- bool shown_flag;
/* cleanup */
void platform_specific ();
void platform_setup ();
void fontconfig_dialog ();
+ void toggle_translations ();
PBD::ScopedConnectionList forever_connections;
*/
bool idle_finish ();
void queue_finish ();
+
+ std::list<WindowProxyBase*> _window_proxies;
};
#endif /* __ardour_gui_h__ */