mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 05:36:31 +01:00
move utility functions into a dedicated namespace
Conflicts: gtk2_ardour/about.cc gtk2_ardour/editor_ops.cc
This commit is contained in:
parent
b831d8997b
commit
a17616f1da
106 changed files with 114 additions and 79 deletions
|
|
@ -36,7 +36,6 @@
|
||||||
|
|
||||||
#include "gtkmm2ext/actions.h"
|
#include "gtkmm2ext/actions.h"
|
||||||
|
|
||||||
#include "utils.h"
|
|
||||||
#include "actions.h"
|
#include "actions.h"
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@ using namespace Gtkmm2ext;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
std::vector<std::string> AddRouteDialog::channel_combo_strings;
|
std::vector<std::string> AddRouteDialog::channel_combo_strings;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@
|
||||||
#include "ardour/session.h"
|
#include "ardour/session.h"
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
|
|
||||||
#include "utils.h"
|
|
||||||
#include "add_video_dialog.h"
|
#include "add_video_dialog.h"
|
||||||
#include "utils_videotl.h"
|
#include "utils_videotl.h"
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ ArdourButton::ArdourButton (Element e)
|
||||||
, _hovering (false)
|
, _hovering (false)
|
||||||
, _focused (false)
|
, _focused (false)
|
||||||
{
|
{
|
||||||
ColorsChanged.connect (sigc::mem_fun (*this, &ArdourButton::color_handler));
|
ARDOUR_UI_UTILS::ColorsChanged.connect (sigc::mem_fun (*this, &ArdourButton::color_handler));
|
||||||
}
|
}
|
||||||
|
|
||||||
ArdourButton::ArdourButton (const std::string& str, Element e)
|
ArdourButton::ArdourButton (const std::string& str, Element e)
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
ArdourDialog::ArdourDialog (string title, bool modal, bool use_seperator)
|
ArdourDialog::ArdourDialog (string title, bool modal, bool use_seperator)
|
||||||
: Dialog (title, modal, use_seperator)
|
: Dialog (title, modal, use_seperator)
|
||||||
|
|
|
||||||
|
|
@ -146,6 +146,7 @@ typedef uint64_t microseconds_t;
|
||||||
#include "open_file_dialog_proxy.h"
|
#include "open_file_dialog_proxy.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,7 @@ using namespace PBD;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Glib;
|
using namespace Glib;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
int
|
int
|
||||||
ARDOUR_UI::setup_windows ()
|
ARDOUR_UI::setup_windows ()
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,6 @@
|
||||||
#include "actions.h"
|
#include "actions.h"
|
||||||
#include "mixer_ui.h"
|
#include "mixer_ui.h"
|
||||||
#include "startup.h"
|
#include "startup.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "window_manager.h"
|
#include "window_manager.h"
|
||||||
#include "global_port_matrix.h"
|
#include "global_port_matrix.h"
|
||||||
#include "location_ui.h"
|
#include "location_ui.h"
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
ArdourWindow::ArdourWindow (string title)
|
ArdourWindow::ArdourWindow (string title)
|
||||||
: Window ()
|
: Window ()
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,6 @@
|
||||||
#include "audio_region_editor.h"
|
#include "audio_region_editor.h"
|
||||||
#include "audio_region_view.h"
|
#include "audio_region_view.h"
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,6 @@
|
||||||
#include "control_point.h"
|
#include "control_point.h"
|
||||||
#include "ghostregion.h"
|
#include "ghostregion.h"
|
||||||
#include "audio_time_axis.h"
|
#include "audio_time_axis.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "rgb_macros.h"
|
#include "rgb_macros.h"
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,6 @@
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "rgb_macros.h"
|
#include "rgb_macros.h"
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Editing;
|
using namespace Editing;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@
|
||||||
#include "ardour/session.h"
|
#include "ardour/session.h"
|
||||||
|
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "automation_controller.h"
|
#include "automation_controller.h"
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,6 @@
|
||||||
#include "rgb_macros.h"
|
#include "rgb_macros.h"
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "public_editor.h"
|
#include "public_editor.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "selection.h"
|
#include "selection.h"
|
||||||
#include "time_axis_view.h"
|
#include "time_axis_view.h"
|
||||||
#include "point_selection.h"
|
#include "point_selection.h"
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "rgb_macros.h"
|
#include "rgb_macros.h"
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@ using namespace std;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
list<Gdk::Color> AxisView::used_colors;
|
list<Gdk::Color> AxisView::used_colors;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
using std::min;
|
using std::min;
|
||||||
using std::string;
|
using std::string;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
BigClockWindow::BigClockWindow (AudioClock& c)
|
BigClockWindow::BigClockWindow (AudioClock& c)
|
||||||
: ArdourWindow (_("Big Clock"))
|
: ArdourWindow (_("Big Clock"))
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
BundleEditorMatrix::BundleEditorMatrix (Gtk::Window* parent, Session* session, boost::shared_ptr<Bundle> bundle)
|
BundleEditorMatrix::BundleEditorMatrix (Gtk::Window* parent, Session* session, boost::shared_ptr<Bundle> bundle)
|
||||||
: PortMatrix (parent, session, DataType::NIL)
|
: PortMatrix (parent, session, DataType::NIL)
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,6 @@
|
||||||
#include "crossfade_edit.h"
|
#include "crossfade_edit.h"
|
||||||
#include "rgb_macros.h"
|
#include "rgb_macros.h"
|
||||||
#include "keyboard.h"
|
#include "keyboard.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "actions.h"
|
#include "actions.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -128,6 +128,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Glib;
|
using namespace Glib;
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@ using namespace Gtk;
|
||||||
using namespace Glib;
|
using namespace Glib;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Editing;
|
using namespace Editing;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,6 @@
|
||||||
#include "audio_time_axis.h"
|
#include "audio_time_axis.h"
|
||||||
#include "midi_time_axis.h"
|
#include "midi_time_axis.h"
|
||||||
#include "session_import_dialog.h"
|
#include "session_import_dialog.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "interthread_progress_window.h"
|
#include "interthread_progress_window.h"
|
||||||
#include "mouse_cursors.h"
|
#include "mouse_cursors.h"
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Glib;
|
using namespace Glib;
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@
|
||||||
#include "canvas/debug.h"
|
#include "canvas/debug.h"
|
||||||
#include "canvas/scroll_group.h"
|
#include "canvas/scroll_group.h"
|
||||||
|
|
||||||
#include "utils.h"
|
|
||||||
#include "editor_cursors.h"
|
#include "editor_cursors.h"
|
||||||
#include "editor.h"
|
#include "editor.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "pbd/signals.h"
|
#include "pbd/signals.h"
|
||||||
|
#include "ardour/types.h"
|
||||||
|
|
||||||
#include "canvas/arrow.h"
|
#include "canvas/arrow.h"
|
||||||
#include "canvas/line.h"
|
#include "canvas/line.h"
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,6 @@
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "control_point.h"
|
#include "control_point.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "region_gain_line.h"
|
#include "region_gain_line.h"
|
||||||
#include "editor_drag.h"
|
#include "editor_drag.h"
|
||||||
#include "audio_time_axis.h"
|
#include "audio_time_axis.h"
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
EditorGroupTabs::EditorGroupTabs (Editor* e)
|
EditorGroupTabs::EditorGroupTabs (Editor* e)
|
||||||
: EditorComponent (e)
|
: EditorComponent (e)
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,6 @@
|
||||||
#include "automation_time_axis.h"
|
#include "automation_time_axis.h"
|
||||||
#include "control_point.h"
|
#include "control_point.h"
|
||||||
#include "prompter.h"
|
#include "prompter.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "selection.h"
|
#include "selection.h"
|
||||||
#include "keyboard.h"
|
#include "keyboard.h"
|
||||||
#include "editing.h"
|
#include "editing.h"
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,6 @@
|
||||||
#include "strip_silence_dialog.h"
|
#include "strip_silence_dialog.h"
|
||||||
#include "time_axis_view.h"
|
#include "time_axis_view.h"
|
||||||
#include "transpose_dialog.h"
|
#include "transpose_dialog.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
#include "dbg_msg.h"
|
#include "dbg_msg.h"
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Glib;
|
using namespace Glib;
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using Gtkmm2ext::Keyboard;
|
using Gtkmm2ext::Keyboard;
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,6 @@
|
||||||
#include "time_axis_view.h"
|
#include "time_axis_view.h"
|
||||||
#include "editor_drag.h"
|
#include "editor_drag.h"
|
||||||
#include "editor_cursors.h"
|
#include "editor_cursors.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ using namespace std;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
EditorSnapshots::EditorSnapshots (Editor* e)
|
EditorSnapshots::EditorSnapshots (Editor* e)
|
||||||
: EditorComponent (e)
|
: EditorComponent (e)
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,6 @@
|
||||||
#include "time_axis_view.h"
|
#include "time_axis_view.h"
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "tempo_lines.h"
|
#include "tempo_lines.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,7 @@ using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Glib;
|
using namespace Glib;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
static const unsigned int midi_tab = 2;
|
static const unsigned int midi_tab = 2;
|
||||||
static const unsigned int latency_tab = 1; /* zero-based, page zero is the main setup page */
|
static const unsigned int latency_tab = 1; /* zero-based, page zero is the main setup page */
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
|
|
||||||
ExportFileNotebook::ExportFileNotebook () :
|
ExportFileNotebook::ExportFileNotebook () :
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,6 @@
|
||||||
#include "ardour/session_metadata.h"
|
#include "ardour/session_metadata.h"
|
||||||
#include "ardour/broadcast_info.h"
|
#include "ardour/broadcast_info.h"
|
||||||
|
|
||||||
#include "utils.h"
|
|
||||||
#include "opts.h"
|
#include "opts.h"
|
||||||
#include "export_video_dialog.h"
|
#include "export_video_dialog.h"
|
||||||
#include "utils_videotl.h"
|
#include "utils_videotl.h"
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,7 @@
|
||||||
#include "dbg_msg.h"
|
#include "dbg_msg.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,6 @@
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "prompter.h"
|
#include "prompter.h"
|
||||||
#include "plugin_ui.h"
|
#include "plugin_ui.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "automation_controller.h"
|
#include "automation_controller.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
GlobalPortMatrix::GlobalPortMatrix (Gtk::Window* p, Session* s, DataType t)
|
GlobalPortMatrix::GlobalPortMatrix (Gtk::Window* p, Session* s, DataType t)
|
||||||
: PortMatrix (p, s, t)
|
: PortMatrix (p, s, t)
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,9 @@
|
||||||
|
|
||||||
#include <sigc++/signal.h>
|
#include <sigc++/signal.h>
|
||||||
|
|
||||||
|
namespace ARDOUR_UI_UTILS {
|
||||||
extern sigc::signal<void> ColorsChanged;
|
extern sigc::signal<void> ColorsChanged;
|
||||||
extern sigc::signal<void> DPIReset;
|
extern sigc::signal<void> DPIReset;
|
||||||
|
} // namespace
|
||||||
|
|
||||||
#endif /* __gtk_ardour_global_signals_h__ */
|
#endif /* __gtk_ardour_global_signals_h__ */
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using Gtkmm2ext::Keyboard;
|
using Gtkmm2ext::Keyboard;
|
||||||
|
|
||||||
list<Gdk::Color> GroupTabs::_used_colors;
|
list<Gdk::Color> GroupTabs::_used_colors;
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
#include "midi_region_view.h"
|
#include "midi_region_view.h"
|
||||||
#include "public_editor.h"
|
#include "public_editor.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "hit.h"
|
#include "hit.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
|
|
||||||
IOSelector::IOSelector (Gtk::Window* p, ARDOUR::Session* session, boost::shared_ptr<ARDOUR::IO> io)
|
IOSelector::IOSelector (Gtk::Window* p, ARDOUR::Session* session, boost::shared_ptr<ARDOUR::IO> io)
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@
|
||||||
#include "actions.h"
|
#include "actions.h"
|
||||||
#include "keyboard.h"
|
#include "keyboard.h"
|
||||||
#include "keyeditor.h"
|
#include "keyeditor.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,6 @@
|
||||||
#include <gtkmm2ext/utils.h>
|
#include <gtkmm2ext/utils.h>
|
||||||
|
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "opts.h"
|
#include "opts.h"
|
||||||
#include "enums.h"
|
#include "enums.h"
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
|
||||||
PBD::Signal1<void,Marker*> Marker::CatchDeletion;
|
PBD::Signal1<void,Marker*> Marker::CatchDeletion;
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@
|
||||||
#include "dbg_msg.h"
|
#include "dbg_msg.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,7 @@
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Glib;
|
using namespace Glib;
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,6 @@
|
||||||
#include "rgb_macros.h"
|
#include "rgb_macros.h"
|
||||||
#include "selection.h"
|
#include "selection.h"
|
||||||
#include "streamview.h"
|
#include "streamview.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "patch_change_dialog.h"
|
#include "patch_change_dialog.h"
|
||||||
#include "verbose_cursor.h"
|
#include "verbose_cursor.h"
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Editing;
|
using namespace Editing;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -91,6 +91,7 @@
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
|
|
||||||
MixerGroupTabs::MixerGroupTabs (Mixer_UI* m)
|
MixerGroupTabs::MixerGroupTabs (Mixer_UI* m)
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Glib;
|
using namespace Glib;
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
MonoPanner::MonoPanner (boost::shared_ptr<ARDOUR::PannerShell> p)
|
MonoPanner::MonoPanner (boost::shared_ptr<ARDOUR::PannerShell> p)
|
||||||
: PannerInterface (p->panner())
|
: PannerInterface (p->panner())
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,8 @@
|
||||||
#include "mouse_cursors.h"
|
#include "mouse_cursors.h"
|
||||||
#include "editor_xpms"
|
#include "editor_xpms"
|
||||||
|
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
MouseCursors::MouseCursors ()
|
MouseCursors::MouseCursors ()
|
||||||
: cross_hair (0)
|
: cross_hair (0)
|
||||||
, trimmer (0)
|
, trimmer (0)
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@
|
||||||
|
|
||||||
#include "option_editor.h"
|
#include "option_editor.h"
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,7 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using Gtkmm2ext::Keyboard;
|
using Gtkmm2ext::Keyboard;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,6 @@
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "panner_ui.h"
|
#include "panner_ui.h"
|
||||||
#include "panner2d.h"
|
#include "panner2d.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "stereo_panner.h"
|
#include "stereo_panner.h"
|
||||||
#include "mono_panner.h"
|
#include "mono_panner.h"
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@
|
||||||
#include "ardour/session.h"
|
#include "ardour/session.h"
|
||||||
|
|
||||||
#include "port_insert_ui.h"
|
#include "port_insert_ui.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
/** PortMatrix constructor.
|
/** PortMatrix constructor.
|
||||||
* @param session Our session.
|
* @param session Our session.
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@
|
||||||
#include "port_matrix_column_labels.h"
|
#include "port_matrix_column_labels.h"
|
||||||
#include "port_matrix.h"
|
#include "port_matrix.h"
|
||||||
#include "port_matrix_body.h"
|
#include "port_matrix_body.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@
|
||||||
#include "port_matrix.h"
|
#include "port_matrix.h"
|
||||||
#include "port_matrix_body.h"
|
#include "port_matrix_body.h"
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,6 @@
|
||||||
#include "return_ui.h"
|
#include "return_ui.h"
|
||||||
#include "route_processor_selection.h"
|
#include "route_processor_selection.h"
|
||||||
#include "send_ui.h"
|
#include "send_ui.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,11 @@ class VerboseCursor;
|
||||||
class XMLNode;
|
class XMLNode;
|
||||||
struct SelectionRect;
|
struct SelectionRect;
|
||||||
|
|
||||||
|
namespace ARDOUR_UI_UTILS {
|
||||||
|
bool relay_key_press (GdkEventKey* ev, Gtk::Window* win);
|
||||||
|
bool forward_key_press (GdkEventKey* ev);
|
||||||
|
}
|
||||||
|
|
||||||
using ARDOUR::framepos_t;
|
using ARDOUR::framepos_t;
|
||||||
using ARDOUR::framecnt_t;
|
using ARDOUR::framecnt_t;
|
||||||
|
|
||||||
|
|
@ -410,8 +415,8 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible, publi
|
||||||
|
|
||||||
static PublicEditor* _instance;
|
static PublicEditor* _instance;
|
||||||
|
|
||||||
friend bool relay_key_press (GdkEventKey*, Gtk::Window*);
|
friend bool ARDOUR_UI_UTILS::relay_key_press (GdkEventKey*, Gtk::Window*);
|
||||||
friend bool forward_key_press (GdkEventKey*);
|
friend bool ARDOUR_UI_UTILS::forward_key_press (GdkEventKey*);
|
||||||
|
|
||||||
PBD::Signal0<void> SnapChanged;
|
PBD::Signal0<void> SnapChanged;
|
||||||
PBD::Signal0<void> MouseModeChanged;
|
PBD::Signal0<void> MouseModeChanged;
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,7 @@ using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
class ClickOptions : public OptionEditorBox
|
class ClickOptions : public OptionEditorBox
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@
|
||||||
#include "main_clock.h"
|
#include "main_clock.h"
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "region_editor.h"
|
#include "region_editor.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@
|
||||||
#include "control_point.h"
|
#include "control_point.h"
|
||||||
#include "region_gain_line.h"
|
#include "region_gain_line.h"
|
||||||
#include "audio_region_view.h"
|
#include "audio_region_view.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#include "time_axis_view.h"
|
#include "time_axis_view.h"
|
||||||
#include "editor.h"
|
#include "editor.h"
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
RegionLayeringOrderEditor::RegionLayeringOrderEditor (PublicEditor& pe)
|
RegionLayeringOrderEditor::RegionLayeringOrderEditor (PublicEditor& pe)
|
||||||
: ArdourWindow (_("RegionLayeringOrderEditor"))
|
: ArdourWindow (_("RegionLayeringOrderEditor"))
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Editing;
|
using namespace Editing;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@
|
||||||
#include "ardour/rc_configuration.h"
|
#include "ardour/rc_configuration.h"
|
||||||
#include "ardour/return.h"
|
#include "ardour/return.h"
|
||||||
|
|
||||||
#include "utils.h"
|
|
||||||
#include "return_ui.h"
|
#include "return_ui.h"
|
||||||
#include "io_selector.h"
|
#include "io_selector.h"
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,6 @@
|
||||||
#include "rhythm_ferret.h"
|
#include "rhythm_ferret.h"
|
||||||
#include "audio_region_view.h"
|
#include "audio_region_view.h"
|
||||||
#include "editor.h"
|
#include "editor.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "time_axis_view.h"
|
#include "time_axis_view.h"
|
||||||
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@
|
||||||
|
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,6 @@
|
||||||
#include "return_ui.h"
|
#include "return_ui.h"
|
||||||
#include "route_params_ui.h"
|
#include "route_params_ui.h"
|
||||||
#include "send_ui.h"
|
#include "send_ui.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -82,6 +82,7 @@
|
||||||
#include "dbg_msg.h"
|
#include "dbg_msg.h"
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
|
|
||||||
uint32_t RouteUI::_max_invert_buttons = 3;
|
uint32_t RouteUI::_max_invert_buttons = 3;
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@
|
||||||
#include "ardour/send.h"
|
#include "ardour/send.h"
|
||||||
#include "ardour/rc_configuration.h"
|
#include "ardour/rc_configuration.h"
|
||||||
|
|
||||||
#include "utils.h"
|
|
||||||
#include "send_ui.h"
|
#include "send_ui.h"
|
||||||
#include "io_selector.h"
|
#include "io_selector.h"
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ using namespace Gdk;
|
||||||
using namespace Glib;
|
using namespace Glib;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
#define dbg_msg(a) MessageDialog (a, PROGRAM_NAME).run();
|
#define dbg_msg(a) MessageDialog (a, PROGRAM_NAME).run();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,6 @@
|
||||||
#include "prompter.h"
|
#include "prompter.h"
|
||||||
#include "sfdb_ui.h"
|
#include "sfdb_ui.h"
|
||||||
#include "editing.h"
|
#include "editing.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "gain_meter.h"
|
#include "gain_meter.h"
|
||||||
#include "main_clock.h"
|
#include "main_clock.h"
|
||||||
#include "public_editor.h"
|
#include "public_editor.h"
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ SoundcloudExportSelector::SoundcloudExportSelector () :
|
||||||
sc_table.set_row_spacings (5);
|
sc_table.set_row_spacings (5);
|
||||||
sc_frame->add (sc_table);
|
sc_frame->add (sc_table);
|
||||||
|
|
||||||
sc_table.attach ( *(Gtk::manage (new Gtk::Image (get_icon (X_("soundcloud"))))) , 0, 1, 0, 2);
|
sc_table.attach ( *(Gtk::manage (new Gtk::Image (ARDOUR_UI_UTILS::get_icon (X_("soundcloud"))))) , 0, 1, 0, 2);
|
||||||
|
|
||||||
sc_table.attach (soundcloud_username_label, 0, 1, 1, 2);
|
sc_table.attach (soundcloud_username_label, 0, 1, 1, 2);
|
||||||
sc_table.attach (soundcloud_username_entry, 1, 3, 1, 2);
|
sc_table.attach (soundcloud_username_entry, 1, 3, 1, 2);
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,7 @@ using namespace Gdk;
|
||||||
using namespace Glib;
|
using namespace Glib;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
ArdourStartup* ArdourStartup::the_startup = 0;
|
ArdourStartup* ArdourStartup::the_startup = 0;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,7 @@ using namespace Glib;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_note_off_event_handler (GtkWidget* /*widget*/, int note, gpointer arg)
|
_note_off_event_handler (GtkWidget* /*widget*/, int note, gpointer arg)
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
static const int pos_box_size = 8;
|
static const int pos_box_size = 8;
|
||||||
static const int lr_box_size = 15;
|
static const int lr_box_size = 15;
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Editing;
|
using namespace Editing;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@
|
||||||
#include "ardour/rc_configuration.h"
|
#include "ardour/rc_configuration.h"
|
||||||
|
|
||||||
#include "tempo_dialog.h"
|
#include "tempo_dialog.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,9 +51,12 @@ using namespace std;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
sigc::signal<void> ColorsChanged;
|
namespace ARDOUR_UI_UTILS {
|
||||||
sigc::signal<void,uint32_t> ColorChanged;
|
sigc::signal<void> ColorsChanged;
|
||||||
|
sigc::signal<void,uint32_t> ColorChanged;
|
||||||
|
}
|
||||||
|
|
||||||
ThemeManager::ThemeManager()
|
ThemeManager::ThemeManager()
|
||||||
: ArdourWindow (_("Theme Manager"))
|
: ArdourWindow (_("Theme Manager"))
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,7 @@ using namespace std;
|
||||||
using namespace Gtk;
|
using namespace Gtk;
|
||||||
using namespace Gdk;
|
using namespace Gdk;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace Editing;
|
using namespace Editing;
|
||||||
using namespace ArdourCanvas;
|
using namespace ArdourCanvas;
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@ using namespace Editing;
|
||||||
using namespace Glib;
|
using namespace Glib;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
using namespace ARDOUR_UI_UTILS;
|
||||||
using namespace Gtkmm2ext;
|
using namespace Gtkmm2ext;
|
||||||
|
|
||||||
Pango::FontDescription TimeAxisViewItem::NAME_FONT;
|
Pango::FontDescription TimeAxisViewItem::NAME_FONT;
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,6 @@
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
|
|
||||||
#include "utils.h"
|
|
||||||
#include "opts.h"
|
#include "opts.h"
|
||||||
#include "transcode_video_dialog.h"
|
#include "transcode_video_dialog.h"
|
||||||
#include "utils_videotl.h"
|
#include "utils_videotl.h"
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ class UIConfiguration : public PBD::Stateful
|
||||||
std::string get_##var () const { return var.get(); } \
|
std::string get_##var () const { return var.get(); } \
|
||||||
bool set_##var (const std::string& val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
|
bool set_##var (const std::string& val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
|
||||||
#define CANVAS_FONT_VARIABLE(var,name) \
|
#define CANVAS_FONT_VARIABLE(var,name) \
|
||||||
Pango::FontDescription get_##var () const { return sanitized_font (var.get()); } \
|
Pango::FontDescription get_##var () const { return ARDOUR_UI_UTILS::sanitized_font (var.get()); } \
|
||||||
bool set_##var (const std::string& val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
|
bool set_##var (const std::string& val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
|
||||||
#include "canvas_vars.h"
|
#include "canvas_vars.h"
|
||||||
#undef CANVAS_VARIABLE
|
#undef CANVAS_VARIABLE
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue