uses the new CPPPopUpButton Aristo art

This commit is contained in:
Antoine Mercadal committed 2010-12-17 12:52:22 +01:00
1 parent d4818b5a71
commit e90133ebd0
9 files changed
+11 -11

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1020 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 614 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 464 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 590 B

After

Width:  |  Height:  |  Size: 1.5 KiB

+11 -11
View File
@@ -517,17 +517,17 @@ var themedButtonValues = nil,
var button = [[CPPopUpButton alloc] initWithFrame:CGRectMake(0.0, 0.0, 100.0, 24.0) pullsDown:NO],
color = PatternColor(
[
["button-bezel-left.png", 4.0, 24.0],
["button-bezel-center.png", 1.0, 24.0],
["popup-bezel-right.png", 27.0, 24.0]
["popup-bezel-left.png", 3.0, 24.0],
["popup-bezel-center.png", 1.0, 24.0],
["popup-bezel-right.png", 21.0, 24.0]
],
PatternIsHorizontal),
disabledColor = PatternColor(
[
["button-bezel-disabled-left.png", 4.0, 24.0],
["button-bezel-disabled-center.png", 1.0, 24.0],
["popup-bezel-disabled-right.png", 27.0, 24.0]
["popup-bezel-disabled-left.png", 3.0, 24.0],
["popup-bezel-disabled-center.png", 1.0, 24.0],
["popup-bezel-disabled-right.png", 21.0, 24.0]
],
PatternIsHorizontal),
@@ -536,7 +536,7 @@ var themedButtonValues = nil,
[@"bezel-color", color, CPThemeStateBordered],
[@"bezel-color", disabledColor, CPThemeStateBordered | CPThemeStateDisabled],
[@"content-inset", CGInsetMake(0, 27.0 + 5.0, 0, 5.0), CPThemeStateBordered],
[@"content-inset", CGInsetMake(0, 21.0 + 5.0, 0, 5.0), CPThemeStateBordered],
[@"font", [CPFont boldSystemFontOfSize:12.0]],
[@"text-color", [CPColor colorWithCalibratedWhite:79.0 / 255.0 alpha:1.0]],
[@"text-shadow-color", [CPColor colorWithCalibratedWhite:240.0 / 255.0 alpha:1.0]],
@@ -561,16 +561,16 @@ var themedButtonValues = nil,
var button = [[CPPopUpButton alloc] initWithFrame:CGRectMake(0.0, 0.0, 100.0, 24.0) pullsDown:YES],
color = PatternColor(
[
["button-bezel-left.png", 4.0, 24.0],
["button-bezel-center.png", 1.0, 24.0],
["popup-bezel-left.png", 4.0, 24.0],
["popup-bezel-center.png", 1.0, 24.0],
["popup-bezel-right-pullsdown.png", 27.0, 24.0]
],
PatternIsHorizontal),
disabledColor = PatternColor(
[
["button-bezel-disabled-left.png", 4.0, 24.0],
["button-bezel-disabled-center.png", 1.0, 24.0],
["popup-bezel-disabled-left.png", 4.0, 24.0],
["popup-bezel-disabled-center.png", 1.0, 24.0],
["popup-bezel-disabled-right-pullsdown.png", 27.0, 24.0]
],
PatternIsHorizontal),