mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
move utility functions into a dedicated namespace
This commit is contained in:
parent
1bd4e448de
commit
a3c378cf62
107 changed files with 115 additions and 81 deletions
|
|
@ -30,7 +30,6 @@
|
|||
#include "ardour/version.h"
|
||||
#include "ardour/filesystem_paths.h"
|
||||
|
||||
#include "utils.h"
|
||||
#include "version.h"
|
||||
|
||||
#include "about.h"
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@
|
|||
|
||||
#include "gtkmm2ext/actions.h"
|
||||
|
||||
#include "utils.h"
|
||||
#include "actions.h"
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ using namespace Gtkmm2ext;
|
|||
using namespace std;
|
||||
using namespace PBD;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
std::vector<std::string> AddRouteDialog::channel_combo_strings;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
#include "ardour/session.h"
|
||||
#include "ardour_ui.h"
|
||||
|
||||
#include "utils.h"
|
||||
#include "add_video_dialog.h"
|
||||
#include "utils_videotl.h"
|
||||
#include "i18n.h"
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ ArdourButton::ArdourButton (Element e)
|
|||
, _hovering (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)
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
using namespace std;
|
||||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
ArdourDialog::ArdourDialog (string title, bool modal, bool use_seperator)
|
||||
: Dialog (title, modal, use_seperator)
|
||||
|
|
|
|||
|
|
@ -138,6 +138,7 @@ typedef uint64_t microseconds_t;
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace Gtk;
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ using namespace PBD;
|
|||
using namespace Gtkmm2ext;
|
||||
using namespace Gtk;
|
||||
using namespace Glib;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
int
|
||||
ARDOUR_UI::setup_windows ()
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@
|
|||
#include "actions.h"
|
||||
#include "mixer_ui.h"
|
||||
#include "startup.h"
|
||||
#include "utils.h"
|
||||
#include "window_manager.h"
|
||||
#include "global_port_matrix.h"
|
||||
#include "location_ui.h"
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
using namespace std;
|
||||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
ArdourWindow::ArdourWindow (string title)
|
||||
: Window ()
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace std;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
#include "audio_region_editor.h"
|
||||
#include "audio_region_view.h"
|
||||
#include "ardour_ui.h"
|
||||
#include "utils.h"
|
||||
#include "gui_thread.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@
|
|||
#include "control_point.h"
|
||||
#include "ghostregion.h"
|
||||
#include "audio_time_axis.h"
|
||||
#include "utils.h"
|
||||
#include "rgb_macros.h"
|
||||
#include "gui_thread.h"
|
||||
#include "ardour_ui.h"
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@
|
|||
#include "ardour_ui.h"
|
||||
#include "rgb_macros.h"
|
||||
#include "gui_thread.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Editing;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
#include "ardour/session.h"
|
||||
|
||||
#include "ardour_ui.h"
|
||||
#include "utils.h"
|
||||
#include "automation_controller.h"
|
||||
#include "gui_thread.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@
|
|||
#include "rgb_macros.h"
|
||||
#include "ardour_ui.h"
|
||||
#include "public_editor.h"
|
||||
#include "utils.h"
|
||||
#include "selection.h"
|
||||
#include "time_axis_view.h"
|
||||
#include "point_selection.h"
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@
|
|||
#include "ardour_ui.h"
|
||||
#include "rgb_macros.h"
|
||||
#include "gui_thread.h"
|
||||
#include "utils.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ using namespace std;
|
|||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
list<Gdk::Color> AxisView::used_colors;
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
|
||||
using std::min;
|
||||
using std::string;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
BigClockWindow::BigClockWindow (AudioClock& c)
|
||||
: ArdourWindow (_("Big Clock"))
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
BundleEditorMatrix::BundleEditorMatrix (Gtk::Window* parent, Session* session, boost::shared_ptr<Bundle> bundle)
|
||||
: PortMatrix (parent, session, DataType::NIL)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@
|
|||
#include "crossfade_edit.h"
|
||||
#include "rgb_macros.h"
|
||||
#include "keyboard.h"
|
||||
#include "utils.h"
|
||||
#include "gui_thread.h"
|
||||
#include "actions.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -126,6 +126,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Glib;
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ using namespace Gtk;
|
|||
using namespace Glib;
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Editing;
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@
|
|||
#include "audio_time_axis.h"
|
||||
#include "midi_time_axis.h"
|
||||
#include "session_import_dialog.h"
|
||||
#include "utils.h"
|
||||
#include "gui_thread.h"
|
||||
#include "interthread_progress_window.h"
|
||||
#include "mouse_cursors.h"
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Glib;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "canvas/debug.h"
|
||||
#include "canvas/scroll_group.h"
|
||||
|
||||
#include "utils.h"
|
||||
#include "editor_cursors.h"
|
||||
#include "editor.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
*/
|
||||
|
||||
#include "pbd/signals.h"
|
||||
#include "ardour/types.h"
|
||||
|
||||
#include "canvas/arrow.h"
|
||||
#include "canvas/line.h"
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@
|
|||
#include "ardour_ui.h"
|
||||
#include "gui_thread.h"
|
||||
#include "control_point.h"
|
||||
#include "utils.h"
|
||||
#include "region_gain_line.h"
|
||||
#include "editor_drag.h"
|
||||
#include "audio_time_axis.h"
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
EditorGroupTabs::EditorGroupTabs (Editor* e)
|
||||
: EditorComponent (e)
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@
|
|||
#include "automation_time_axis.h"
|
||||
#include "control_point.h"
|
||||
#include "prompter.h"
|
||||
#include "utils.h"
|
||||
#include "selection.h"
|
||||
#include "keyboard.h"
|
||||
#include "editing.h"
|
||||
|
|
|
|||
|
|
@ -89,7 +89,6 @@
|
|||
#include "strip_silence_dialog.h"
|
||||
#include "time_axis_view.h"
|
||||
#include "transpose_dialog.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
@ -7043,7 +7042,7 @@ Editor::lock ()
|
|||
if (!lock_dialog) {
|
||||
lock_dialog = new Gtk::Dialog (string_compose (_("%1: Locked"), PROGRAM_NAME), true);
|
||||
|
||||
Gtk::Image* padlock = manage (new Gtk::Image (::get_icon ("padlock_closed")));
|
||||
Gtk::Image* padlock = manage (new Gtk::Image (ARDOUR_UI_UTILS::get_icon ("padlock_closed")));
|
||||
lock_dialog->get_vbox()->pack_start (*padlock);
|
||||
|
||||
ArdourButton* b = manage (new ArdourButton);
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Glib;
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using Gtkmm2ext::Keyboard;
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@
|
|||
#include "time_axis_view.h"
|
||||
#include "editor_drag.h"
|
||||
#include "editor_cursors.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ using namespace std;
|
|||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
EditorSnapshots::EditorSnapshots (Editor* e)
|
||||
: EditorComponent (e)
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@
|
|||
#include "time_axis_view.h"
|
||||
#include "ardour_ui.h"
|
||||
#include "tempo_lines.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ using namespace Gtk;
|
|||
using namespace Gtkmm2ext;
|
||||
using namespace PBD;
|
||||
using namespace Glib;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
static const unsigned int midi_tab = 2;
|
||||
static const unsigned int latency_tab = 1; /* zero-based, page zero is the main setup page */
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
|
||||
ExportFileNotebook::ExportFileNotebook () :
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@
|
|||
#include "ardour/session_metadata.h"
|
||||
#include "ardour/broadcast_info.h"
|
||||
|
||||
#include "utils.h"
|
||||
#include "opts.h"
|
||||
#include "export_video_dialog.h"
|
||||
#include "utils_videotl.h"
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace Gtk;
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@
|
|||
#include "ardour_ui.h"
|
||||
#include "prompter.h"
|
||||
#include "plugin_ui.h"
|
||||
#include "utils.h"
|
||||
#include "gui_thread.h"
|
||||
#include "automation_controller.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
GlobalPortMatrix::GlobalPortMatrix (Gtk::Window* p, Session* s, DataType t)
|
||||
: PortMatrix (p, s, t)
|
||||
|
|
|
|||
|
|
@ -22,7 +22,9 @@
|
|||
|
||||
#include <sigc++/signal.h>
|
||||
|
||||
namespace ARDOUR_UI_UTILS {
|
||||
extern sigc::signal<void> ColorsChanged;
|
||||
extern sigc::signal<void> DPIReset;
|
||||
} // namespace
|
||||
|
||||
#endif /* __gtk_ardour_global_signals_h__ */
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
using namespace std;
|
||||
using namespace Gtk;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using Gtkmm2ext::Keyboard;
|
||||
|
||||
list<Gdk::Color> GroupTabs::_used_colors;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
#include "midi_region_view.h"
|
||||
#include "public_editor.h"
|
||||
#include "utils.h"
|
||||
#include "hit.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace Gtk;
|
||||
|
||||
IOSelector::IOSelector (Gtk::Window* p, ARDOUR::Session* session, boost::shared_ptr<ARDOUR::IO> io)
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@
|
|||
#include "actions.h"
|
||||
#include "keyboard.h"
|
||||
#include "keyeditor.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace Gtk;
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@
|
|||
#include <gtkmm2ext/utils.h>
|
||||
|
||||
#include "version.h"
|
||||
#include "utils.h"
|
||||
#include "ardour_ui.h"
|
||||
#include "opts.h"
|
||||
#include "enums.h"
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace Gtkmm2ext;
|
||||
|
||||
PBD::Signal1<void,Marker*> Marker::CatchDeletion;
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Glib;
|
||||
|
|
|
|||
|
|
@ -68,7 +68,6 @@
|
|||
#include "rgb_macros.h"
|
||||
#include "selection.h"
|
||||
#include "streamview.h"
|
||||
#include "utils.h"
|
||||
#include "patch_change_dialog.h"
|
||||
#include "verbose_cursor.h"
|
||||
#include "ardour_ui.h"
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Editing;
|
||||
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
using namespace std;
|
||||
using namespace Gtk;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
|
||||
MixerGroupTabs::MixerGroupTabs (Mixer_UI* m)
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtk;
|
||||
using namespace Glib;
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace PBD;
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@
|
|||
using namespace std;
|
||||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
static const int pos_box_size = 9;
|
||||
static const int lr_box_size = 15;
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@
|
|||
#include "mouse_cursors.h"
|
||||
#include "editor_xpms"
|
||||
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
MouseCursors::MouseCursors ()
|
||||
: cross_hair (0)
|
||||
, trimmer (0)
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
#include "option_editor.h"
|
||||
#include "gui_thread.h"
|
||||
#include "utils.h"
|
||||
#include "i18n.h"
|
||||
|
||||
using namespace std;
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
using namespace std;
|
||||
using namespace Gtk;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using Gtkmm2ext::Keyboard;
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
#include "ardour_ui.h"
|
||||
#include "panner_ui.h"
|
||||
#include "panner2d.h"
|
||||
#include "utils.h"
|
||||
#include "gui_thread.h"
|
||||
#include "stereo_panner.h"
|
||||
#include "mono_panner.h"
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace Gtk;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
#include "ardour/session.h"
|
||||
|
||||
#include "port_insert_ui.h"
|
||||
#include "utils.h"
|
||||
#include "gui_thread.h"
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@
|
|||
using namespace std;
|
||||
using namespace Gtk;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
/** PortMatrix constructor.
|
||||
* @param session Our session.
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
#include "port_matrix_column_labels.h"
|
||||
#include "port_matrix.h"
|
||||
#include "port_matrix_body.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
#include "port_matrix.h"
|
||||
#include "port_matrix_body.h"
|
||||
#include "i18n.h"
|
||||
#include "utils.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@
|
|||
#include "return_ui.h"
|
||||
#include "route_processor_selection.h"
|
||||
#include "send_ui.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -84,6 +84,11 @@ class VerboseCursor;
|
|||
class XMLNode;
|
||||
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::framecnt_t;
|
||||
|
||||
|
|
@ -408,8 +413,8 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible, publi
|
|||
|
||||
static PublicEditor* _instance;
|
||||
|
||||
friend bool relay_key_press (GdkEventKey*, Gtk::Window*);
|
||||
friend bool forward_key_press (GdkEventKey*);
|
||||
friend bool ARDOUR_UI_UTILS::relay_key_press (GdkEventKey*, Gtk::Window*);
|
||||
friend bool ARDOUR_UI_UTILS::forward_key_press (GdkEventKey*);
|
||||
|
||||
PBD::Signal0<void> SnapChanged;
|
||||
PBD::Signal0<void> MouseModeChanged;
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ using namespace Gtk;
|
|||
using namespace Gtkmm2ext;
|
||||
using namespace PBD;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
class ClickOptions : public OptionEditorBox
|
||||
{
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
#include "main_clock.h"
|
||||
#include "gui_thread.h"
|
||||
#include "region_editor.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
#include "control_point.h"
|
||||
#include "region_gain_line.h"
|
||||
#include "audio_region_view.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "time_axis_view.h"
|
||||
#include "editor.h"
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
using namespace std;
|
||||
using namespace Gtk;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
RegionLayeringOrderEditor::RegionLayeringOrderEditor (PublicEditor& pe)
|
||||
: ArdourWindow (_("RegionLayeringOrderEditor"))
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Editing;
|
||||
using namespace Gtk;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
#include "ardour/rc_configuration.h"
|
||||
#include "ardour/return.h"
|
||||
|
||||
#include "utils.h"
|
||||
#include "return_ui.h"
|
||||
#include "io_selector.h"
|
||||
#include "ardour_ui.h"
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
#include "rhythm_ferret.h"
|
||||
#include "audio_region_view.h"
|
||||
#include "editor.h"
|
||||
#include "utils.h"
|
||||
#include "time_axis_view.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
|
||||
using namespace Gtk;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace std;
|
||||
using namespace PBD;
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@
|
|||
#include "return_ui.h"
|
||||
#include "route_params_ui.h"
|
||||
#include "send_ui.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@
|
|||
#include "i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace Gtk;
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@
|
|||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
|
||||
uint32_t RouteUI::_max_invert_buttons = 3;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "ardour/send.h"
|
||||
#include "ardour/rc_configuration.h"
|
||||
|
||||
#include "utils.h"
|
||||
#include "send_ui.h"
|
||||
#include "io_selector.h"
|
||||
#include "ardour_ui.h"
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ using namespace Gdk;
|
|||
using namespace Glib;
|
||||
using namespace PBD;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
static string poor_mans_glob (string path)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@
|
|||
#include "prompter.h"
|
||||
#include "sfdb_ui.h"
|
||||
#include "editing.h"
|
||||
#include "utils.h"
|
||||
#include "gain_meter.h"
|
||||
#include "main_clock.h"
|
||||
#include "public_editor.h"
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ SoundcloudExportSelector::SoundcloudExportSelector () :
|
|||
sc_table.set_row_spacings (5);
|
||||
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_entry, 1, 3, 1, 2);
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ using namespace Gdk;
|
|||
using namespace Glib;
|
||||
using namespace PBD;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
ArdourStartup* ArdourStartup::the_startup = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ using namespace Glib;
|
|||
using namespace Gtkmm2ext;
|
||||
using namespace PBD;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
static void
|
||||
_note_off_event_handler (GtkWidget* /*widget*/, int note, gpointer arg)
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@
|
|||
using namespace std;
|
||||
using namespace Gtk;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
static const int pos_box_size = 8;
|
||||
static const int lr_box_size = 15;
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@
|
|||
|
||||
using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Editing;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
#include "ardour/rc_configuration.h"
|
||||
|
||||
#include "tempo_dialog.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -51,9 +51,12 @@ using namespace std;
|
|||
using namespace Gtk;
|
||||
using namespace PBD;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
sigc::signal<void> ColorsChanged;
|
||||
sigc::signal<void,uint32_t> ColorChanged;
|
||||
namespace ARDOUR_UI_UTILS {
|
||||
sigc::signal<void> ColorsChanged;
|
||||
sigc::signal<void,uint32_t> ColorChanged;
|
||||
}
|
||||
|
||||
ThemeManager::ThemeManager()
|
||||
: ArdourWindow (_("Theme Manager"))
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ using namespace std;
|
|||
using namespace Gtk;
|
||||
using namespace Gdk;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace PBD;
|
||||
using namespace Editing;
|
||||
using namespace ArdourCanvas;
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ using namespace Editing;
|
|||
using namespace Glib;
|
||||
using namespace PBD;
|
||||
using namespace ARDOUR;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
using namespace Gtkmm2ext;
|
||||
|
||||
Pango::FontDescription TimeAxisViewItem::NAME_FONT;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@
|
|||
#include "ardour_ui.h"
|
||||
#include "gui_thread.h"
|
||||
|
||||
#include "utils.h"
|
||||
#include "opts.h"
|
||||
#include "transcode_video_dialog.h"
|
||||
#include "utils_videotl.h"
|
||||
|
|
|
|||
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