cocoaTouch/SDLOverrides/SDL_uikitview.m
changeset 2705 2b5625c4ec16
parent 2701 3a8560c00f78
child 2714 c85ffe57d971
--- a/cocoaTouch/SDLOverrides/SDL_uikitview.m	Sun Jan 24 07:37:00 2010 +0000
+++ b/cocoaTouch/SDLOverrides/SDL_uikitview.m	Sun Jan 24 13:37:03 2010 +0000
@@ -67,6 +67,7 @@
 
 	attackButton = [[UIButton alloc] initWithFrame:CGRectMake(30, 480, 260,50)];
 	[attackButton setBackgroundImage:[UIImage imageNamed:@"Default.png"] forState:UIControlStateNormal];
+	[attackButton setBackgroundImage:[UIImage imageNamed:@"Default.png"] forState:UIControlStateHighlighted];
 	[attackButton addTarget:[self superclass] action:@selector(attackButtonPressed) forControlEvents:UIControlEventTouchDown];
 	[attackButton addTarget:[self superclass] action:@selector(attackButtonReleased) forControlEvents:UIControlEventTouchUpInside|UIControlEventTouchUpOutside];
 	[self addSubview:attackButton];