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
|
|
@ -734,12 +734,6 @@ private:
|
|||
void jump_forward_to_mark ();
|
||||
void jump_backward_to_mark ();
|
||||
|
||||
uint32_t location_marker_color;
|
||||
uint32_t location_range_color;
|
||||
uint32_t location_loop_color;
|
||||
uint32_t location_punch_color;
|
||||
uint32_t location_cd_marker_color;
|
||||
|
||||
struct LocationMarkers {
|
||||
ArdourMarker* start;
|
||||
ArdourMarker* end;
|
||||
|
|
@ -759,7 +753,7 @@ private:
|
|||
|
||||
void set_name (const std::string&);
|
||||
void set_position (Temporal::timepos_t const & start, Temporal::timepos_t const & end = Temporal::timepos_t());
|
||||
void set_color_rgba (uint32_t);
|
||||
void set_color (std::string const&);
|
||||
};
|
||||
|
||||
LocationMarkers* find_location_markers (ARDOUR::Location*) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue