13
0

specify time info box bg in style file(s), and make nudge clock use the same bg color (not in style file, but the UI conf file, naturally)

git-svn-id: svn://localhost/ardour2/branches/3.0@13434 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-11-11 16:04:30 +00:00
parent a57f4ead2d
commit 57ce855053
5 changed files with 14 additions and 1 deletions

View File

@ -340,6 +340,11 @@ style "inspector_processor_list" = "processor_list"
base[SELECTED] = { 0.3, 0.3, 0.3 }
}
style "time_info_box"
{
bg[NORMAL] = { 0.149, 0.149, 0.149 }
}
##include ardour3_dark_fonts.rc
##include ardour3_dark_styles.rc
##include ardour3_widgets.rc

View File

@ -598,7 +598,7 @@
<Option name="selection clock: text" value="6bb620ff"/>
<Option name="selection clock: edited text" value="ff0000ff"/>
<Option name="selection clock: cursor" value="f11000ff"/>
<Option name="nudge clock: background" value="000000ff"/>
<Option name="nudge clock: background" value="262626ff"/>
<Option name="nudge clock: text" value="6bb620ff"/>
<Option name="nudge clock: edited text" value="ffa500ff"/>
<Option name="nudge clock: cursor" value="ffa500ff"/>

View File

@ -351,6 +351,11 @@ style "inspector_processor_list" = "processor_list"
base[SELECTED] = { 0.3, 0.3, 0.3 }
}
style "time_info_box"
{
bg[NORMAL] = { 0.149, 0.149, 0.149 }
}
##include ardour3_light_fonts.rc
##include ardour3_light_styles.rc
##include ardour3_widgets.rc

View File

@ -348,6 +348,7 @@ widget "*TimeInfoSelectionTitle" style:highest "very_small_text"
widget "*TimeInfoSelectionLabel" style:highest "very_small_text"
widget "*TimeInfoPunchTitle" style:highest "very_small_text"
widget "*TimeInfoPunchButton" style:highest "very_small_text"
widget "*TimeInfoBox" style:highest "time_info_box"
widget "*RouteNameEditorEntry" style:highest "text_cell_entry"
widget "*RegionNameEditorEntry" style:highest "text_cell_entry"
widget "*EditorRouteGroupsAllGroupButton" style:highest "default_toggle_button"

View File

@ -48,6 +48,8 @@ TimeInfoBox::TimeInfoBox ()
, syncing_selection (false)
, syncing_punch (false)
{
set_name (X_("TimeInfoBox"));
selection_start = new AudioClock ("selection-start", false, "selection", false, false, false, false);
selection_end = new AudioClock ("selection-end", false, "selection", false, false, false, false);
selection_length = new AudioClock ("selection-length", false, "selection", false, false, true, false);