Skip to content

Commit

Permalink
iOS SDK: Use the new set of button image
Browse files Browse the repository at this point in the history
  • Loading branch information
Yujuan Bao committed Sep 9, 2010
1 parent 57818a0 commit 09c5083
Show file tree
Hide file tree
Showing 18 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions sample/DemoApp/Classes/FBLoginButton.m
Expand Up @@ -33,9 +33,9 @@ @implementation FBLoginButton
*/
- (UIImage*)buttonImage {
if (_isLoggedIn) {
return [UIImage imageNamed:@"FBConnect.bundle/images/logout.png"];
return [UIImage imageNamed:@"FBConnect.bundle/images/LogoutNormal.png"];
} else {
return [UIImage imageNamed:@"FBConnect.bundle/images/login.png"];
return [UIImage imageNamed:@"FBConnect.bundle/images/LoginNormal.png"];
}
}

Expand All @@ -44,9 +44,9 @@ - (UIImage*)buttonImage {
*/
- (UIImage*)buttonHighlightedImage {
if (_isLoggedIn) {
return [UIImage imageNamed:@"FBConnect.bundle/images/logout_down.png"];
return [UIImage imageNamed:@"FBConnect.bundle/images/LogoutPressed.png"];
} else {
return [UIImage imageNamed:@"FBConnect.bundle/images/login_down.png"];
return [UIImage imageNamed:@"FBConnect.bundle/images/LoginPressed.png"];
}
}

Expand Down
Binary file added sample/FBConnect.bundle/images/LoginNormal.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sample/FBConnect.bundle/images/LoginNormal@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sample/FBConnect.bundle/images/LoginPressed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sample/FBConnect.bundle/images/LogoutNormal.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sample/FBConnect.bundle/images/LogoutPressed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed sample/FBConnect.bundle/images/login.png
Binary file not shown.
Binary file removed sample/FBConnect.bundle/images/login_down.png
Binary file not shown.
Binary file removed sample/FBConnect.bundle/images/logout.png
Binary file not shown.
Binary file removed sample/FBConnect.bundle/images/logout_down.png
Binary file not shown.
8 changes: 4 additions & 4 deletions sample/theRunAround/Classes/FBLoginButton.m
Expand Up @@ -33,9 +33,9 @@ @implementation FBLoginButton
*/
- (UIImage*)buttonImage {
if (_isLoggedIn) {
return [UIImage imageNamed:@"FBConnect.bundle/images/logout.png"];
return [UIImage imageNamed:@"FBConnect.bundle/images/LogoutNormal.png"];
} else {
return [UIImage imageNamed:@"FBConnect.bundle/images/login.png"];
return [UIImage imageNamed:@"FBConnect.bundle/images/LoginNormal.png"];
}
}

Expand All @@ -44,9 +44,9 @@ - (UIImage*)buttonImage {
*/
- (UIImage*)buttonHighlightedImage {
if (_isLoggedIn) {
return [UIImage imageNamed:@"FBConnect.bundle/images/logout_down.png"];
return [UIImage imageNamed:@"FBConnect.bundle/images/LogoutPressed.png"];
} else {
return [UIImage imageNamed:@"FBConnect.bundle/images/login_down.png"];
return [UIImage imageNamed:@"FBConnect.bundle/images/LoginPressed.png"];
}
}

Expand Down

0 comments on commit 09c5083

Please sign in to comment.