From d0ef3c950b8bfc20106ed9d2c1f3900091d542f2 Mon Sep 17 00:00:00 2001 From: Alexandre Wilhelm Date: Wed, 6 Feb 2013 11:15:39 -0800 Subject: [PATCH] Fixed bug about the border of the dividerColor in a window --- .../Resources/window-standard-divider-center.png | Bin 0 -> 992 bytes .../Resources/window-standard-divider-left.png | Bin 0 -> 993 bytes .../Resources/window-standard-divider-right.png | Bin 0 -> 993 bytes AppKit/Themes/Aristo2/ThemeDescriptors.j | 10 +++++++++- 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 AppKit/Themes/Aristo2/Resources/window-standard-divider-center.png create mode 100644 AppKit/Themes/Aristo2/Resources/window-standard-divider-left.png create mode 100644 AppKit/Themes/Aristo2/Resources/window-standard-divider-right.png diff --git a/AppKit/Themes/Aristo2/Resources/window-standard-divider-center.png b/AppKit/Themes/Aristo2/Resources/window-standard-divider-center.png new file mode 100644 index 0000000000000000000000000000000000000000..33a6de59bbc716e60baf44caacec9209e3cad55a GIT binary patch literal 992 zcmbVL!EVz)5Ot}Ls!HV!r`7fX60yBby@{=w%E=})5-wE|i5%J3+s10_HTIS`Irhe_ zAHkU);J}$*KmzdxaO282O#(ty4_LN$y`J}G=FQBz)05|WyN`A?P21}ovp%d_)w6RC z-q*9iH&`C3&PWa9nVRujXnrKe0`(GpF8YE;^EaQxp{8w5;^9b*f){Qm6P;H!dYNQ^ z*0jT;GUMTeP-ra9`Yp;B!7FU^KdKoJj8V16U+uC!f*!24o92g)&G?8EW+sQ>`1yW% m1%vgV$NXXWWjsle`#Yw#jkm79{z|`BGuP{!un(=*SHA(|+brV% literal 0 HcmV?d00001 diff --git a/AppKit/Themes/Aristo2/Resources/window-standard-divider-left.png b/AppKit/Themes/Aristo2/Resources/window-standard-divider-left.png new file mode 100644 index 0000000000000000000000000000000000000000..d348340cba719f9e41ff04c228f3d92f1d08a393 GIT binary patch literal 993 zcmbVLO>Wab6gH{^Ri%m*3o0Z=?xLU)+vC)e*s7_VOhO~!5~Y#Ij!f)nW3~2}@szk- zvg;AJ1Q%ezh7DI>#SORu&uJ16s=C0kJu`3K_r3q?{?V(=jjat$(>8mDbO7tU>RZ1L z|EG_>UBmKNbw=t~oTwR-Tnl0`;i#9gQ$FAx5RAxA`S!2Uokeb}AG}2Sr3VBl zR}7Wuc~*F(ug`fs*jHjxM{^Z*=Ib|3jlw=^3(1jV)N7H2F(Smkdk!J^1+pz{n-;vJ zhW9*&cy}53+m9s4UCB$)H}`!+sg{YvWPG3 zCSZ4g#dl)8w&Y9+ITYf2*#Z5jP@#e|b91^q$rC48Jg ocNYfhVUGsG^2cO69{1PQElu0icAorv_n;cOUgwB@ZjC?w1_YugxBvhE literal 0 HcmV?d00001 diff --git a/AppKit/Themes/Aristo2/Resources/window-standard-divider-right.png b/AppKit/Themes/Aristo2/Resources/window-standard-divider-right.png new file mode 100644 index 0000000000000000000000000000000000000000..0aed27b400844a46869c54d540cbf83b1edc8f3e GIT binary patch literal 993 zcmbVLO>Wab6gH{^Ri%m*3lM^ly8r~SJx)E2t(wY-V;TvUD2+sRWMWSntF^}+Pl?+l zyIzJ1uwYXOaRpY~fGhBvCIO+U3oP3+^X7fu`@ih(zuDY)w4o@4U3FSRTsmNFMM*IirFpe!?dV^)hr{CF*qO48R;Yg06w{FZcjn+C^l@)+i zl%3tGpz$%2Xu^)t+*5yj`KqEc@znQLWJE=WP1C&#!459=hw;U6>?G>$YqV3jK#(y> zQI(zKrCWLGoY#eYE!I^uSCPk_dhOIG>Z1-93|U&U5gQmILNvT>5rSVK)4--~z)Ko< z+qH;m+Gz2pU`-^4?jQ&kw&3KcQz;8q*JrbtHfw5J9O>9`oSMTl8=%oB&vQwuMqX|$ z83Iq2L*sXV^_| z@ZjIbTSlwd_8rS2ewzdVRu|ahf3l{7GkV<~f3?d}1U*=9SIrNH)%dU+W=6npJh897 n!C>9*1^%%5F&U4?{k3&NQC=#~9{>DsuO7NycR%>t9)J1`+NmlL literal 0 HcmV?d00001 diff --git a/AppKit/Themes/Aristo2/ThemeDescriptors.j b/AppKit/Themes/Aristo2/ThemeDescriptors.j index b9931737c..7af0d140f 100644 --- a/AppKit/Themes/Aristo2/ThemeDescriptors.j +++ b/AppKit/Themes/Aristo2/ThemeDescriptors.j @@ -1873,6 +1873,14 @@ var themedButtonValues = nil, bottomHeight:5.0 }), + dividerColor = PatternColor( + "window-standard-divider{position}.png", + { + width: 1.0, + height: 1.0, + orientation: PatternIsHorizontal + }), + closeButtonImage = PatternImage(@"window-standard-close-button.png", 16, 16), closeButtonImageInactive = PatternImage(@"window-standard-close-button-inactive.png", 16, 16), closeButtonImageHighlighted = PatternImage(@"window-standard-button-highlighted.png", 16, 16), @@ -1905,7 +1913,7 @@ var themedButtonValues = nil, [@"title-vertical-alignment", CPCenterVerticalTextAlignment], [@"title-bar-height", 31], - [@"divider-color", [CPColor colorWithHexString:@"858585"]], + [@"divider-color", dividerColor], [@"body-color", bezelColor], [@"title-bar-height", 31],