mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-04 06:08:59 +00:00
Merge pull request #2809 from bedalton/fixed-cocolor-parameter-to-cpstring
Fixed: Changed CPColor parameter to CPString
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -267,7 +267,7 @@ var cachedBlackColor,
|
||||
|
||||
@return an initialized RGB color
|
||||
*/
|
||||
+ (CPColor)colorWithHexString:(string)hex
|
||||
+ (CPColor)colorWithHexString:(CPString)hex
|
||||
{
|
||||
var rgba = hexToRGB(hex);
|
||||
return rgba ? [[CPColor alloc] _initWithRGBA: rgba] : null;
|
||||
|
||||
@@ -2152,7 +2152,7 @@ var themedButtonValues = nil,
|
||||
[segmentedControl setTag:3 forSegment:2];
|
||||
|
||||
return segmentedControl;
|
||||
}
|
||||
};
|
||||
|
||||
+ (CPSegmentedControl)themedSegmentedControl
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user