src/themes/Atlanta/metacity-theme-1.xml:

2005-01-31  Muktha  <muktha.narayan@wipro.com>

        src/themes/Atlanta/metacity-theme-1.xml:
        src/themes/Simple/metacity-theme-1.xml:
        src/themes/Bright/metacity-theme-1.xml:
        Make the unfocussed title bar distinguishable. Fixes #125291.
This commit is contained in:
Muktha 2005-01-31 09:54:34 +00:00 committed by Muktha Narayan
parent dab5dc2c70
commit a7c2bacd64
4 changed files with 24 additions and 7 deletions

View File

@ -1,3 +1,10 @@
2005-01-31 Muktha <muktha.narayan@wipro.com>
src/themes/Atlanta/metacity-theme-1.xml:
src/themes/Simple/metacity-theme-1.xml:
src/themes/Bright/metacity-theme-1.xml:
Make the unfocussed title bar distinguishable. Fixes #125291.
2005-01-28 Elijah Newren <newren@gmail.com> 2005-01-28 Elijah Newren <newren@gmail.com>
Patch from RHEL-3 (Havoc doesn't remember how it got there) that Patch from RHEL-3 (Havoc doesn't remember how it got there) that

View File

@ -175,6 +175,11 @@
<include name="focus_outline"/> <include name="focus_outline"/>
</draw_ops> </draw_ops>
<draw_ops name="background_unfocused">
<include name="outer_bevel"/>
<include name="focus_outline"/>
</draw_ops>
<draw_ops name="title_gradient"> <draw_ops name="title_gradient">
<gradient type="diagonal" x="0" y="0" width="width-SpacerWidth" height="height"> <gradient type="diagonal" x="0" y="0" width="width-SpacerWidth" height="height">
<color value="blend/gtk:bg[NORMAL]/gtk:bg[SELECTED]/0.6"/> <color value="blend/gtk:bg[NORMAL]/gtk:bg[SELECTED]/0.6"/>
@ -245,7 +250,7 @@
</draw_ops> </draw_ops>
<frame_style name="normal_unfocused" geometry="normal"> <frame_style name="normal_unfocused" geometry="normal">
<piece position="entire_background" draw_ops="outer_bevel"/> <piece position="entire_background" draw_ops="background_unfocused"/>
<piece position="title" draw_ops="title_normal"/> <piece position="title" draw_ops="title_normal"/>
<!-- we don't specify for prelight, so normal is used --> <!-- we don't specify for prelight, so normal is used -->

View File

@ -190,7 +190,7 @@
</draw_ops> </draw_ops>
<draw_ops name="outer_bevel"> <draw_ops name="outer_bevel">
<rectangle color="#000000" <rectangle color="gtk:fg[NORMAL]"
x="0" y="0" width="width-1" height="height-1"/> x="0" y="0" width="width-1" height="height-1"/>
<line color="gtk:light[NORMAL]" <line color="gtk:light[NORMAL]"
x1="1" y1="1" x2="1" y2="height-2"/> x1="1" y1="1" x2="1" y2="height-2"/>
@ -207,7 +207,7 @@
</draw_ops> </draw_ops>
<draw_ops name="focus_outline"> <draw_ops name="focus_outline">
<rectangle color="#000000" <rectangle color="gtk:fg[NORMAL]"
x="left_width-1" y="top_height-1" x="left_width-1" y="top_height-1"
width="width-left_width-right_width+1" width="width-left_width-right_width+1"
height="height-top_height-bottom_height+1"/> height="height-top_height-bottom_height+1"/>
@ -218,6 +218,11 @@
<include name="focus_outline"/> <include name="focus_outline"/>
</draw_ops> </draw_ops>
<draw_ops name="background_unfocused">
<include name="outer_bevel"/>
<include name="focus_outline"/>
</draw_ops>
<draw_ops name="title_box"> <draw_ops name="title_box">
<rectangle color="gtk:fg[NORMAL]" filled="false" <rectangle color="gtk:fg[NORMAL]" filled="false"
x="0" y="1" width="width-SpacerWidth+3" height="height-2"/> x="0" y="1" width="width-SpacerWidth+3" height="height-2"/>
@ -278,7 +283,7 @@
</draw_ops> </draw_ops>
<frame_style name="normal_unfocused" geometry="normal"> <frame_style name="normal_unfocused" geometry="normal">
<piece position="entire_background" draw_ops="outer_bevel"/> <piece position="entire_background" draw_ops="background_unfocused"/>
<piece position="title" draw_ops="title_normal"/> <piece position="title" draw_ops="title_normal"/>
<!-- we don't specify for prelight, so normal is used --> <!-- we don't specify for prelight, so normal is used -->

View File

@ -124,7 +124,7 @@
</draw_ops> </draw_ops>
<draw_ops name="outer_bevel"> <draw_ops name="outer_bevel">
<rectangle color="#000000" <rectangle color="gtk:fg[NORMAL]"
x="0" y="0" width="width" height="height" filled="true"/> x="0" y="0" width="width" height="height" filled="true"/>
<rectangle color="gtk:bg[NORMAL]" <rectangle color="gtk:bg[NORMAL]"
x="1" y="1" width="width-2" height="height-2" filled="true"/> x="1" y="1" width="width-2" height="height-2" filled="true"/>
@ -160,7 +160,7 @@
<draw_ops name="title_tile_unfocused"> <draw_ops name="title_tile_unfocused">
<line color="blend/gtk:bg[NORMAL]/#000000/0.1" x1="0" y1="0" x2="width" y2="0"/> <line color="blend/gtk:bg[NORMAL]/#000000/0.1" x1="0" y1="0" x2="width" y2="0"/>
<line color="blend/gtk:bg[NORMAL]/#000000/0.2" x1="0" y1="1" x2="width" y2="1"/> <line color="blend/gtk:bg[NORMAL]/#ffffff/0.2" x1="0" y1="1" x2="width" y2="1"/>
</draw_ops> </draw_ops>
<draw_ops name="title_bg"> <draw_ops name="title_bg">
@ -174,7 +174,7 @@
<draw_ops name="title_bg_unfocused"> <draw_ops name="title_bg_unfocused">
<tile name="title_tile_unfocused" tile_width="width" tile_height="2" x="0" y="0" width="width-1" height="height-1"/> <tile name="title_tile_unfocused" tile_width="width" tile_height="2" x="0" y="0" width="width-1" height="height-1"/>
<rectangle color="blend/#000000/gtk:bg[NORMAL]/0.7" filled="false" x="0" y="0" width="width-1" height="height-1"/> <rectangle color="blend/#000000/gtk:fg[NORMAL]/0.7" filled="false" x="0" y="0" width="width-1" height="height-1"/>
<rectangle color="blend/#000000/gtk:bg[NORMAL]/0.8" filled="true" x="0" y="0" width="1" height="1"/> <rectangle color="blend/#000000/gtk:bg[NORMAL]/0.8" filled="true" x="0" y="0" width="1" height="1"/>
<rectangle color="blend/#000000/gtk:bg[NORMAL]/0.8" filled="true" x="width-1" y="0" width="1" height="1"/> <rectangle color="blend/#000000/gtk:bg[NORMAL]/0.8" filled="true" x="width-1" y="0" width="1" height="1"/>
<rectangle color="blend/#000000/gtk:bg[NORMAL]/0.8" filled="true" x="0" y="height-1" width="1" height="1"/> <rectangle color="blend/#000000/gtk:bg[NORMAL]/0.8" filled="true" x="0" y="height-1" width="1" height="1"/>