mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Make Markers properly themable, use color-names
This simplifies code, and also immediately changes marker colors when the theme is changed.
This commit is contained in:
parent
8c861914c8
commit
dbebc0b7e0
10 changed files with 108 additions and 115 deletions
|
|
@ -267,11 +267,6 @@ Editor::Editor ()
|
|||
, internal_snap_mode (SnapOff)
|
||||
, _join_object_range_state (JOIN_OBJECT_RANGE_NONE)
|
||||
, _notebook_shrunk (false)
|
||||
, location_marker_color (0)
|
||||
, location_range_color (0)
|
||||
, location_loop_color (0)
|
||||
, location_punch_color (0)
|
||||
, location_cd_marker_color (0)
|
||||
, entered_marker (0)
|
||||
, _show_marker_lines (false)
|
||||
, clicked_axisview (0)
|
||||
|
|
@ -502,12 +497,6 @@ Editor::Editor ()
|
|||
build_draw_midi_menus();
|
||||
build_edit_point_menu();
|
||||
|
||||
location_marker_color = UIConfiguration::instance().color ("location marker");
|
||||
location_range_color = UIConfiguration::instance().color ("location range");
|
||||
location_cd_marker_color = UIConfiguration::instance().color ("location cd marker");
|
||||
location_loop_color = UIConfiguration::instance().color ("location loop");
|
||||
location_punch_color = UIConfiguration::instance().color ("location punch");
|
||||
|
||||
timebar_height = std::max (12., ceil (15. * UIConfiguration::instance().get_ui_scale()));
|
||||
|
||||
TimeAxisView::setup_sizes ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue