Ctrl-Shift-? opens glossary window (or closes it if already open)

This commit is contained in:
jtrobinson 2012-08-20 21:11:19 +00:00
parent 9b2a9bca46
commit 7f53baa363
4 changed files with 15 additions and 10 deletions

View File

@ -236,4 +236,6 @@ bbb.shortcutkey.chat.chatbox.golatest.function = Go to latest message
bbb.shortcutkey.chat.chatbox.gofirst = control+shift+32
bbb.shortcutkey.chat.chatbox.gofirst.function = Go to first message
bbb.shortcutkey.chat.chatbox.goread = control+shift+82
bbb.shortcutkey.chat.chatbox.goread.function = Go to the most recent message you have read
bbb.shortcutkey.chat.chatbox.goread.function = Go to the most recent message you have read
bbb.shortcutkey.glossary.open = control+shift+191
bbb.shortcutkey.glossary.open.function = Open shortcut glossary window

View File

@ -229,6 +229,7 @@
keyCombos[(ResourceUtil.getInstance().getString('bbb.shortcutkey.chat.chattabs') as String)] = ShortcutEvent.FOCUS_CHAT_TABS;
keyCombos[(ResourceUtil.getInstance().getString('bbb.shortcutkey.present.focusslide') as String)] = ShortcutEvent.FOCUS_SLIDE;
keyCombos[(ResourceUtil.getInstance().getString('bbb.shortcutkey.whiteboard.undo') as String)] = ShortcutEvent.UNDO_WHITEBOARD;
keyCombos[(ResourceUtil.getInstance().getString('bbb.shortcutkey.glossary.open') as String)] = ShortcutEvent.OPEN_SHORTCUT_WIN;
}
public function hotkeyCapture():void{

View File

@ -101,6 +101,7 @@
private var receivedConfigLocaleVer:Boolean = false;
private var receivedResourceLocaleVer:Boolean = false;
private var glossaryOpen:Boolean = false;
public function get mode():String {
return _mode;
@ -185,11 +186,16 @@
if (scWindow == null) {
scWindow = new ShortcutHelpWindow();
}
mdiCanvas.windowManager.add(scWindow);
mdiCanvas.windowManager.absPos(scWindow, mdiCanvas.width/2 - 150, mdiCanvas.height/2 - 150);
scWindow.width = 300;
scWindow.height = 300;
scWindow.focusCategories();
if (!glossaryOpen){
mdiCanvas.windowManager.add(scWindow);
mdiCanvas.windowManager.absPos(scWindow, mdiCanvas.width/2 - 150, mdiCanvas.height/2 - 150);
scWindow.width = 300;
scWindow.height = 300;
scWindow.focusCategories();
}
else
mdiCanvas.windowManager.remove(scWindow);
glossaryOpen = !glossaryOpen;
}
private function toggleFullScreen():void{

View File

@ -64,10 +64,6 @@
this.addEventListener(ListEvent.ITEM_ROLL_OVER, onRollOver);
this.addEventListener(ListEvent.ITEM_ROLL_OUT, onRollOut);
//var foo:Object = UserManager.getInstance().getConference().isUserPresenter(data.userid);
//LogUtil.debug("WATERFALL Info for user " + data.userid + ": name is " + UserManager.getConference().getParticipantIndex(data.userid));
LogUtil.debug("WATERFALL Info for user " + data.userid + ": are they presenter? " + UserManager.getInstance().getConference().isUserPresenter(data.userid));
}
public function onRollOver(e:ViewersRollEvent):void{