Changeset 26757
- Timestamp:
- 2013-01-20T15:19:25+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/GlamED/trunk/src/org/honours/gui/KeyboardActions.java
r26588 r26757 9 9 import org.expeditee.gui.FrameKeyboardActions; 10 10 import org.honours.actions.MiscActions; 11 import org.honours.collection.Collection; 11 12 12 13 public class KeyboardActions implements KeyListener{ … … 27 28 28 29 int keyCode = e.getKeyCode(); 29 //Frame currFrame = DisplayIO.getCurrentFrame(); 30 Frame currFrame = DisplayIO.getCurrentFrame(); 31 Collection coll = Collection.findCollection(currFrame); 30 32 31 //TODO:Check if current frame is a "content-layer" 32 33 if(coll != null){ 33 34 //If F9 (Audience Mode button) has been pressed. 34 35 if(keyCode == KeyEvent.VK_F9){ … … 53 54 } 54 55 55 56 } 56 57 FrameKeyboardActions.getInstance().keyPressed(e); 57 58 }
Note:
See TracChangeset
for help on using the changeset viewer.