Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion CCControlExtension/CCControl/CCControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,20 @@ @implementation CCControl
@synthesize opacity = opacity_;
@synthesize color = color_;
@synthesize opacityModifyRGB = opacityModifyRGB_;
@synthesize displayedColor;
@synthesize cascadeColorEnabled;
@synthesize displayedOpacity;
@synthesize cascadeOpacityEnabled;

- (void)updateDisplayedColor:(ccColor3B)color
{
// Nothing to do
}

- (void)updateDisplayedOpacity:(GLubyte)opacity
{
// Nothing to do
}

- (void)dealloc
{
Expand All @@ -135,7 +149,7 @@ - (id)init
{
#ifdef __IPHONE_OS_VERSION_MAX_ALLOWED
// Enabled the touch event
self.isTouchEnabled = YES;
[self setTouchEnabled:YES];
#elif __MAC_OS_X_VERSION_MAX_ALLOWED
// Enabled the mouse event
self.mouseEnabled = YES;
Expand Down
15 changes: 15 additions & 0 deletions CCControlExtension/CCControl/Utils/CCScale9Sprite.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,21 @@ @implementation CCScale9Sprite
@synthesize insetRight = insetRight_;
@synthesize preferedSize = preferedSize_;

@synthesize displayedOpacity;
@synthesize cascadeOpacityEnabled;
@synthesize displayedColor;
@synthesize cascadeColorEnabled;

- (void)updateDisplayedColor:(ccColor3B)color
{
// Nothing to do
}

- (void)updateDisplayedOpacity:(GLubyte)opacity
{
// Nothing to do
}

- (void)dealloc
{
[topLeft release];
Expand Down