Got stick mapper to see the correct foreground/background methods.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3429 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Nikos Barkas 2010-05-29 19:10:06 +00:00
parent 01afc05c13
commit 834e09c007

View File

@ -61,8 +61,8 @@ MA 02110-1301, USA.
[gui setSelectedRow: selFunctionIdx + GUI_ROW_FUNCSTART];
[[UNIVERSE gameView] supressKeysUntilKeyUp];
NSString *fgName = [UNIVERSE screenBackgroundNameForKey:[self status] == STATUS_DOCKED ? @"docked_overlay" : @"paused_overlay"];
[gui setForegroundTexture:[OOTexture textureWithName:fgName inFolder:@"Images"]];
[gui setBackgroundTexture:[OOTexture textureWithName:[UNIVERSE screenBackgroundNameForKey:@"settings"] inFolder:@"Images"]];
[gui setForegroundTextureName:fgName];
[gui setBackgroundTextureKey:@"settings"];
}
- (void) stickMapperInputHandler: (GuiDisplayGen *)gui