change references to what was "very small text" to "smaller text";
This is more consistent with the naming of the font size for the canvas via wscript. Also, provide the new "very small" font size. Also, several styles defined in clearlooks.rc.in used spaces in font names or derived styles instead of underscores, this fixes that.
This commit is contained in:
parent
c08cfa8109
commit
8196734e3f
@ -2,7 +2,7 @@
|
|||||||
# This is the GTK style file for Ardour
|
# This is the GTK style file for Ardour
|
||||||
#
|
#
|
||||||
|
|
||||||
style "very_small_text"
|
style "smaller_text"
|
||||||
{
|
{
|
||||||
font_name = "%FONT_SMALLER%"
|
font_name = "%FONT_SMALLER%"
|
||||||
}
|
}
|
||||||
@ -431,7 +431,7 @@ style "transport_rec_button_alternate"
|
|||||||
bg[ACTIVE] = { 0.91, 0.68, 0.68 }
|
bg[ACTIVE] = { 0.91, 0.68, 0.68 }
|
||||||
}
|
}
|
||||||
|
|
||||||
style "shuttle_control" = "very_small_text"
|
style "shuttle_control" = "smaller_text"
|
||||||
{
|
{
|
||||||
fg[NORMAL] = { 0.85, 0.92, 0.98 }
|
fg[NORMAL] = { 0.85, 0.92, 0.98 }
|
||||||
fg[ACTIVE] = { 0.85, 0.92, 0.98 }
|
fg[ACTIVE] = { 0.85, 0.92, 0.98 }
|
||||||
@ -1060,7 +1060,7 @@ style "selected_strip_frame"
|
|||||||
bg[NORMAL] = { 0.79, 0.28, 0.18 }
|
bg[NORMAL] = { 0.79, 0.28, 0.18 }
|
||||||
}
|
}
|
||||||
|
|
||||||
style "flashing_alert" = "very_small_text"
|
style "flashing_alert" = "smaller_text"
|
||||||
{
|
{
|
||||||
fg[NORMAL] = { 0.80, 0.80, 0.80 }
|
fg[NORMAL] = { 0.80, 0.80, 0.80 }
|
||||||
bg[NORMAL] = { 0.26, 0.26, 0.31 }
|
bg[NORMAL] = { 0.26, 0.26, 0.31 }
|
||||||
|
@ -434,7 +434,7 @@ style "transport_rec_button_alternate"
|
|||||||
bg[ACTIVE] = { 0.91, 0.68, 0.68 }
|
bg[ACTIVE] = { 0.91, 0.68, 0.68 }
|
||||||
}
|
}
|
||||||
|
|
||||||
style "shuttle_control" = "very_small_text"
|
style "shuttle_control" = "smaller_text"
|
||||||
{
|
{
|
||||||
fg[NORMAL] = { 0.85, 0.92, 0.98 }
|
fg[NORMAL] = { 0.85, 0.92, 0.98 }
|
||||||
fg[ACTIVE] = { 0.85, 0.92, 0.98 }
|
fg[ACTIVE] = { 0.85, 0.92, 0.98 }
|
||||||
@ -1064,7 +1064,7 @@ style "selected_strip_frame"
|
|||||||
bg[NORMAL] = { 0.79, 0.28, 0.18 }
|
bg[NORMAL] = { 0.79, 0.28, 0.18 }
|
||||||
}
|
}
|
||||||
|
|
||||||
style "flashing_alert" = "very_small_text"
|
style "flashing_alert" = "smaller_text"
|
||||||
{
|
{
|
||||||
fg[NORMAL] = { 0, 0, 0 }
|
fg[NORMAL] = { 0, 0, 0 }
|
||||||
bg[NORMAL] = { 0.80, 0.80, 0.80 }
|
bg[NORMAL] = { 0.80, 0.80, 0.80 }
|
||||||
|
@ -22,8 +22,9 @@
|
|||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
CANVAS_FONT_VARIABLE(SmallFont, "small font")
|
CANVAS_FONT_VARIABLE(VerySmallFont, "very small font")
|
||||||
CANVAS_FONT_VARIABLE(SmallerFont, "smaller font")
|
CANVAS_FONT_VARIABLE(SmallerFont, "smaller font")
|
||||||
|
CANVAS_FONT_VARIABLE(SmallFont, "small font")
|
||||||
CANVAS_FONT_VARIABLE(NormalFont, "normal font")
|
CANVAS_FONT_VARIABLE(NormalFont, "normal font")
|
||||||
CANVAS_FONT_VARIABLE(BigFont, "big font")
|
CANVAS_FONT_VARIABLE(BigFont, "big font")
|
||||||
CANVAS_FONT_VARIABLE(LargeFont, "large font")
|
CANVAS_FONT_VARIABLE(LargeFont, "large font")
|
||||||
|
@ -290,7 +290,12 @@ style "status_bar_box"
|
|||||||
bg[NORMAL] = @background
|
bg[NORMAL] = @background
|
||||||
}
|
}
|
||||||
|
|
||||||
style "very_small_text"
|
style "smaller_text"
|
||||||
|
{
|
||||||
|
font_name = "@FONTFAMILY@ @FONT_VERYSMALL@"
|
||||||
|
}
|
||||||
|
|
||||||
|
style "smaller_text"
|
||||||
{
|
{
|
||||||
font_name = "@FONTFAMILY@ @FONT_SMALLER@"
|
font_name = "@FONTFAMILY@ @FONT_SMALLER@"
|
||||||
}
|
}
|
||||||
@ -386,7 +391,7 @@ style "verbose_canvas_cursor" = "big_bold_text"
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
style "marker_text" = "small text"
|
style "marker_text" = "small_text"
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -400,7 +405,7 @@ style "midi_tracer_textview" = "medium_monospace_text"
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
style "time_axis_view_item_name" = "very small text"
|
style "time_axis_view_item_name" = "smaller_text"
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -409,7 +414,7 @@ style "midi_tracer_textview" = "medium_monospace_text"
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
style "time_axis_view_item_name" = "very small text"
|
style "time_axis_view_item_name" = "smaller_text"
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
style "contrasting_popup" = "medium_monospace_text"
|
style "contrasting_popup" = "medium_monospace_text"
|
||||||
@ -506,15 +511,15 @@ style "meterbridge_label" = "small_text"
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
style "midi_device" = "very_small_text"
|
style "midi_device" = "smaller_text"
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
style "solo_isolate" = "very_small_text"
|
style "solo_isolate" = "smaller_text"
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
style "solo_safe" = "very_small_text"
|
style "solo_safe" = "smaller_text"
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -547,7 +552,7 @@ style "midi_channel_selector_button"
|
|||||||
fg[ACTIVE] = @light_text_on_dark
|
fg[ACTIVE] = @light_text_on_dark
|
||||||
}
|
}
|
||||||
|
|
||||||
style "shuttle_control" = "very_small_text"
|
style "shuttle_control" = "smaller_text"
|
||||||
{
|
{
|
||||||
fg[NORMAL] = @control_text2
|
fg[NORMAL] = @control_text2
|
||||||
fg[ACTIVE] = @control_text2
|
fg[ACTIVE] = @control_text2
|
||||||
@ -606,7 +611,7 @@ style "font_scale_slider" = "default"
|
|||||||
bg[NORMAL] = shade(1.4, @background)
|
bg[NORMAL] = shade(1.4, @background)
|
||||||
}
|
}
|
||||||
|
|
||||||
style "very_small_bright_when_active" = "very_small_text"
|
style "very_small_bright_when_active" = "smaller_text"
|
||||||
{
|
{
|
||||||
fg[NORMAL] = @foreground
|
fg[NORMAL] = @foreground
|
||||||
bg[NORMAL] = @background
|
bg[NORMAL] = @background
|
||||||
@ -761,14 +766,14 @@ style "small_red_on_black_entry" = "small_bold_text"
|
|||||||
bg[ACTIVE] = @bases
|
bg[ACTIVE] = @bases
|
||||||
}
|
}
|
||||||
|
|
||||||
style "audio_bus_base" = "very_small_text"
|
style "audio_bus_base" = "smaller_text"
|
||||||
{
|
{
|
||||||
fg[NORMAL] = @foreground
|
fg[NORMAL] = @foreground
|
||||||
bg[NORMAL] = @audio_bus
|
bg[NORMAL] = @audio_bus
|
||||||
bg[ACTIVE] = @background
|
bg[ACTIVE] = @background
|
||||||
}
|
}
|
||||||
|
|
||||||
style "foldback_bus_base" = "very_small_text"
|
style "foldback_bus_base" = "smaller_text"
|
||||||
{
|
{
|
||||||
fg[NORMAL] = @foreground
|
fg[NORMAL] = @foreground
|
||||||
bg[NORMAL] = @foldback_bg
|
bg[NORMAL] = @foldback_bg
|
||||||
@ -933,7 +938,7 @@ style "plugin_slider"
|
|||||||
text[PRELIGHT] = @texts
|
text[PRELIGHT] = @texts
|
||||||
}
|
}
|
||||||
|
|
||||||
style "processor_control_button" = "very_small_text"
|
style "processor_control_button" = "smaller_text"
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -961,7 +966,7 @@ style "inspector_track_list_display" = "track_list_display"
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
style "processor_list" = "very_small_text"
|
style "processor_list" = "smaller_text"
|
||||||
{
|
{
|
||||||
bg[NORMAL] = @bases
|
bg[NORMAL] = @bases
|
||||||
bg[ACTIVE] = shade (1.8, @fg_selected)
|
bg[ACTIVE] = shade (1.8, @fg_selected)
|
||||||
@ -1002,7 +1007,7 @@ style "selected_strip_frame"
|
|||||||
bg[NORMAL] = darker(@bright_indicator)
|
bg[NORMAL] = darker(@bright_indicator)
|
||||||
}
|
}
|
||||||
|
|
||||||
style "flashing_alert" = "very_small_text"
|
style "flashing_alert" = "smaller_text"
|
||||||
{
|
{
|
||||||
GtkButton::child-displacement-x = 0
|
GtkButton::child-displacement-x = 0
|
||||||
GtkButton::child-displacement-y = 0
|
GtkButton::child-displacement-y = 0
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
<Option name="font-scale" value="102400"/>
|
<Option name="font-scale" value="102400"/>
|
||||||
</UI>
|
</UI>
|
||||||
<Canvas>
|
<Canvas>
|
||||||
|
<Option name="very small font" value="@FONT_VERYSMALL@"/>
|
||||||
<Option name="small font" value="@FONT_SMALL@"/>
|
<Option name="small font" value="@FONT_SMALL@"/>
|
||||||
<Option name="smaller font" value="@FONT_SMALLER@"/>
|
<Option name="smaller font" value="@FONT_SMALLER@"/>
|
||||||
<Option name="normal font" value="@FONT_NORMAL@"/>
|
<Option name="normal font" value="@FONT_NORMAL@"/>
|
||||||
|
@ -769,6 +769,7 @@ def build(bld):
|
|||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
basefont = ""
|
basefont = ""
|
||||||
font_sizes = {
|
font_sizes = {
|
||||||
|
'VERYSMALL' : '7',
|
||||||
'SMALLER' : '9',
|
'SMALLER' : '9',
|
||||||
'SMALL' : '10',
|
'SMALL' : '10',
|
||||||
'NORMAL' : '11',
|
'NORMAL' : '11',
|
||||||
@ -786,6 +787,7 @@ def build(bld):
|
|||||||
else: # Linux/X11 & Windows fonts
|
else: # Linux/X11 & Windows fonts
|
||||||
basefont = '' # unspecified - use system defaults
|
basefont = '' # unspecified - use system defaults
|
||||||
font_sizes = {
|
font_sizes = {
|
||||||
|
'VERYSMALL' : '8',
|
||||||
'SMALLER' : '6',
|
'SMALLER' : '6',
|
||||||
'SMALL' : '7',
|
'SMALL' : '7',
|
||||||
'NORMAL' : '8',
|
'NORMAL' : '8',
|
||||||
|
Loading…
Reference in New Issue
Block a user