Mostly kinda fixed up keyboard issues for EZGames.
They can add their keyboard listeners directly to the GameControl object to receive global key events. There are strange focus weirdnesses on the flex side- sometimes you have focus with no focus highlight and sometimes you don't have focus and you do have the highlight. Punting, rather than spending more hours on this. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@138 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -49,10 +49,10 @@ public class EZGamePanel extends VBox
|
||||
_ezObj = (plobj as EZGameObject);
|
||||
backend = new GameControlBackend(_ctx, _ezObj);
|
||||
|
||||
_gameView = new GameContainer(cfg.configData); // TODO
|
||||
_gameView.tabEnabled = true;
|
||||
_gameView = new GameContainer(cfg.configData); // TODO?
|
||||
backend.setSharedEvents(
|
||||
Loader(_gameView.getMedia()).contentLoaderInfo.sharedEvents);
|
||||
backend.setContainer(_gameView);
|
||||
addChild(_gameView);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user