mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 20:26:30 +01:00
Allow editor toolbar and background to be themeable.
This commit is contained in:
parent
b4cf8cfc49
commit
45622aff48
2 changed files with 21 additions and 3 deletions
|
|
@ -412,6 +412,10 @@ style "transport_frame"
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
style "editor_window"
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
style "transport_base" = "medium_bold_text"
|
style "transport_base" = "medium_bold_text"
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
@ -1094,6 +1098,8 @@ widget "*timecodeoffset clock" style:highest "medium_text"
|
||||||
widget "*BaseFrame" style:highest "base_frame"
|
widget "*BaseFrame" style:highest "base_frame"
|
||||||
widget "*TransportFrame" style:highest "transport_frame"
|
widget "*TransportFrame" style:highest "transport_frame"
|
||||||
widget "*TransportFrame*" style:highest "transport_frame"
|
widget "*TransportFrame*" style:highest "transport_frame"
|
||||||
|
widget "*EditorWindow*" style:highest "editor_window"
|
||||||
|
widget "*EditorWindow" style:highest "editor_window"
|
||||||
|
|
||||||
widget "*SendStripBase" style:highest "send_strip_base"
|
widget "*SendStripBase" style:highest "send_strip_base"
|
||||||
widget "*AudioTrackStripBase" style:highest "audio_track_base"
|
widget "*AudioTrackStripBase" style:highest "audio_track_base"
|
||||||
|
|
|
||||||
|
|
@ -757,9 +757,21 @@ Editor::Editor ()
|
||||||
global_vpacker.set_spacing (2);
|
global_vpacker.set_spacing (2);
|
||||||
global_vpacker.set_border_width (0);
|
global_vpacker.set_border_width (0);
|
||||||
|
|
||||||
global_vpacker.pack_start (toolbar_hbox, false, false);
|
Gtk::EventBox* ebox = manage (new Gtk::EventBox); //a themeable box
|
||||||
global_vpacker.pack_start (edit_pane, true, true);
|
ebox->set_name("EditorWindow");
|
||||||
global_hpacker.pack_start (global_vpacker, true, true);
|
ebox->add (toolbar_hbox);
|
||||||
|
|
||||||
|
Gtk::EventBox* epane_box = manage (new Gtk::EventBox); //a themeable box
|
||||||
|
epane_box->set_name("EditorWindow");
|
||||||
|
epane_box->add (edit_pane);
|
||||||
|
|
||||||
|
Gtk::EventBox* epane_box2 = manage (new Gtk::EventBox); //a themeable box
|
||||||
|
epane_box2->set_name("EditorWindow");
|
||||||
|
epane_box2->add (global_vpacker);
|
||||||
|
|
||||||
|
global_vpacker.pack_start (*ebox, false, false);
|
||||||
|
global_vpacker.pack_start (*epane_box, true, true);
|
||||||
|
global_hpacker.pack_start (*epane_box2, true, true);
|
||||||
|
|
||||||
/* need to show the "contents" widget so that notebook will show if tab is switched to
|
/* need to show the "contents" widget so that notebook will show if tab is switched to
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue