Created
February 1, 2012 22:03
-
-
Save toddfreese/1719761 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uploadButton = [[CPButton alloc] initWithFrame:CGRectMake(490 + folderWidth, 13, 120, 24)]; | |
| [uploadButton setTitle:@"Asset Upload"]; | |
| [uploadButton setTarget:self]; | |
| [uploadButton setAction:@selector(upload:)]; | |
| var slices = [["Resources/button-bezel-disabled-left.png", 4.0, 24.0], | |
| ["Resources/button-bezel-disabled-center.png", 1.0, 24.0], | |
| ["Resources/button-bezel-disabled-right.png", 4.0, 24.0]]; | |
| [uploadButton setValue:CPColorWithImages(slices) forThemeAttribute:@"bezel-color" inState:CPThemeStateDisabled]; | |
| [bottomButtonView addSubview:uploadButton]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment