add separate color for the border of a selected time axis view item
git-svn-id: svn://localhost/ardour2/branches/3.0@9146 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
278286125c
commit
6215c3ceac
@ -124,6 +124,7 @@
|
||||
<Option name="tempo bar" value="70727fff"/>
|
||||
<Option name="tempo marker" value="f2425bff"/>
|
||||
<Option name="time axis frame" value="000000ff"/>
|
||||
<Option name="selected time axis frame" value="ff0000ff"/>
|
||||
<Option name="time stretch fill" value="e2b5b596"/>
|
||||
<Option name="time stretch outline" value="63636396"/>
|
||||
<Option name="transport drag rect" value="969696c6"/>
|
||||
|
@ -118,6 +118,7 @@ CANVAS_VARIABLE(canvasvar_StereoPannerInvertedBackground, "stereo panner inverte
|
||||
CANVAS_VARIABLE(canvasvar_TempoBar, "tempo bar")
|
||||
CANVAS_VARIABLE(canvasvar_TempoMarker, "tempo marker")
|
||||
CANVAS_VARIABLE(canvasvar_TimeAxisFrame, "time axis frame")
|
||||
CANVAS_VARIABLE(canvasvar_SelectedTimeAxisFrame, "selected time axis frame")
|
||||
CANVAS_VARIABLE(canvasvar_TimeStretchFill, "time stretch fill")
|
||||
CANVAS_VARIABLE(canvasvar_TimeStretchOutline, "time stretch outline")
|
||||
CANVAS_VARIABLE(canvasvar_TransportDragRect, "transport drag rect")
|
||||
|
@ -750,7 +750,11 @@ TimeAxisViewItem::set_frame_color()
|
||||
frame->property_fill_color_rgba() = f;
|
||||
|
||||
if (!_recregion) {
|
||||
if (_selected) {
|
||||
f = ARDOUR_UI::config()->canvasvar_SelectedTimeAxisFrame.get();
|
||||
} else {
|
||||
f = ARDOUR_UI::config()->canvasvar_TimeAxisFrame.get();
|
||||
}
|
||||
|
||||
if (!rect_visible) {
|
||||
f = UINT_RGBA_CHANGE_A (f, 64);
|
||||
|
Loading…
Reference in New Issue
Block a user