mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 05:36:31 +01:00
[Progressing] Topbar buttons
This commit is contained in:
parent
88639c0168
commit
e69e36ceaa
2 changed files with 10 additions and 2 deletions
|
|
@ -71,7 +71,8 @@
|
|||
text="sample rate"
|
||||
bgnormal="#43919A"
|
||||
fgnormal="#ffffff"
|
||||
fgactive="#7f7f7f"
|
||||
fgactive="#ffffff"
|
||||
fghover="#ffffff"
|
||||
winfont ="Arial 8"
|
||||
macfont ="Helvetica 8"
|
||||
x="269"
|
||||
|
|
|
|||
|
|
@ -43,7 +43,14 @@ WavesDropdown::add_menu_item (const std::string& item, void* cookie)
|
|||
|
||||
items.push_back (Gtk::Menu_Helpers::MenuElem (item, sigc::bind (sigc::mem_fun(*this, &WavesDropdown::_on_menu_item), items.size (), cookie)));
|
||||
|
||||
return _menu.items ().back ();
|
||||
Gtk::MenuItem& menuitem = _menu.items ().back ();
|
||||
ensure_style();
|
||||
Widget* child = menuitem.get_child ();
|
||||
if (child) {
|
||||
child->set_style (get_style());
|
||||
}
|
||||
|
||||
return menuitem;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue