mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tip
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting tooltips. Removes inclusion of ardour_ui.h from 16 files.
This commit is contained in:
parent
2031007a3a
commit
1d42ed077e
25 changed files with 166 additions and 154 deletions
|
|
@ -27,12 +27,12 @@
|
|||
#include "ardour/panner_shell.h"
|
||||
#include "ardour/session.h"
|
||||
|
||||
#include "ardour_ui.h"
|
||||
#include "panner_ui.h"
|
||||
#include "panner2d.h"
|
||||
#include "gui_thread.h"
|
||||
#include "stereo_panner.h"
|
||||
#include "timers.h"
|
||||
#include "tooltips.h"
|
||||
#include "mono_panner.h"
|
||||
#include "ui_config.h"
|
||||
|
||||
|
|
@ -43,6 +43,7 @@ using namespace ARDOUR;
|
|||
using namespace PBD;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace Gtk;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
PannerUI::PannerUI (Session* s)
|
||||
: _current_nouts (-1)
|
||||
|
|
@ -68,8 +69,8 @@ PannerUI::PannerUI (Session* s)
|
|||
pan_automation_style_button.set_name ("MixerAutomationModeButton");
|
||||
pan_automation_state_button.set_name ("MixerAutomationPlaybackButton");
|
||||
|
||||
ARDOUR_UI::instance()->set_tip (pan_automation_state_button, _("Pan automation mode"));
|
||||
ARDOUR_UI::instance()->set_tip (pan_automation_style_button, _("Pan automation type"));
|
||||
set_tooltip (pan_automation_state_button, _("Pan automation mode"));
|
||||
set_tooltip (pan_automation_style_button, _("Pan automation type"));
|
||||
|
||||
//set_size_request_to_display_given_text (pan_automation_state_button, X_("O"), 2, 2);
|
||||
//set_size_request_to_display_given_text (pan_automation_style_button, X_("0"), 2, 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue