mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +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,11 +27,12 @@
|
|||
#include "gtkmm2ext/utils.h"
|
||||
#include "gtkmm2ext/rgb_macros.h"
|
||||
|
||||
#include "ardour_ui.h"
|
||||
#include "button_joiner.h"
|
||||
#include "tooltips.h"
|
||||
#include "ui_config.h"
|
||||
|
||||
using namespace Gtk;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
||||
ButtonJoiner::ButtonJoiner (const std::string& str, Gtk::Widget& lw, Gtk::Widget& rw, bool central_joiner)
|
||||
: left (lw)
|
||||
|
|
@ -219,7 +220,7 @@ void
|
|||
ButtonJoiner::action_tooltip_changed ()
|
||||
{
|
||||
std::string str = _action->property_tooltip().get_value();
|
||||
ARDOUR_UI::instance()->set_tip (*this, str);
|
||||
set_tooltip (*this, str);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue