- minor cleanup
This commit is contained in:
parent
97382ea49a
commit
65d8b0889c
1
bigbluebutton-client/src/org/bigbluebutton/main/views/ChromeChangeMicImage.mxml
Executable file → Normal file
1
bigbluebutton-client/src/org/bigbluebutton/main/views/ChromeChangeMicImage.mxml
Executable file → Normal file
@ -36,7 +36,6 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
<![CDATA[
|
||||
import mx.core.FlexGlobals;
|
||||
import mx.managers.PopUpManager;
|
||||
|
||||
import org.bigbluebutton.common.LogUtil;
|
||||
import org.bigbluebutton.core.BBB;
|
||||
import org.bigbluebutton.modules.phone.events.UseFlashModeCommand;
|
||||
|
1
bigbluebutton-client/src/org/bigbluebutton/main/views/MainCanvas.mxml
Executable file → Normal file
1
bigbluebutton-client/src/org/bigbluebutton/main/views/MainCanvas.mxml
Executable file → Normal file
@ -25,7 +25,6 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
<mx:Script>
|
||||
<![CDATA[
|
||||
import flexlib.mdi.containers.MDIWindow;
|
||||
|
||||
import mx.controls.Alert;
|
||||
import mx.utils.ArrayUtil;
|
||||
import org.bigbluebutton.common.IBbbModuleWindow;
|
||||
|
64
bigbluebutton-client/src/org/bigbluebutton/main/views/MainToolbar.mxml
Executable file → Normal file
64
bigbluebutton-client/src/org/bigbluebutton/main/views/MainToolbar.mxml
Executable file → Normal file
@ -40,9 +40,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
<mx:Script>
|
||||
<![CDATA[
|
||||
import com.asfusion.mate.events.Dispatcher;
|
||||
|
||||
import mx.core.UIComponent;
|
||||
|
||||
import org.bigbluebutton.common.IBbbToolbarComponent;
|
||||
import org.bigbluebutton.common.LogUtil;
|
||||
import org.bigbluebutton.common.events.CloseWindowEvent;
|
||||
@ -69,17 +67,12 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
public static const ALIGN_RIGHT:String ="ALIGN_RIGHT";
|
||||
public static const ALIGN_LEFT:String = "ALIGN_LEFT";
|
||||
|
||||
[Bindable]
|
||||
private var showHelpBtn:Boolean = false;
|
||||
[Bindable]
|
||||
private var showToolbar:Boolean = false;
|
||||
[Bindable]
|
||||
public var toolbarOptions:LayoutOptions = new LayoutOptions();
|
||||
[Bindable] private var showHelpBtn:Boolean = false;
|
||||
[Bindable] private var showToolbar:Boolean = false;
|
||||
[Bindable] public var toolbarOptions:LayoutOptions = new LayoutOptions();
|
||||
[Bindable] private var baseIndex:int;
|
||||
[Bindable] private var numButtons:int;
|
||||
|
||||
[Bindable]
|
||||
private var baseIndex:int;
|
||||
[Bindable]
|
||||
private var numButtons:int;
|
||||
/*
|
||||
* Because of the de-centralized way buttons are added to the toolbar, there is a large gap between the tab indexes of the main buttons
|
||||
* on the left and the tab indexes of the "other" items on the right (shortcut glossary, language slector, etc). This will make it more
|
||||
@ -119,29 +112,30 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
}
|
||||
}
|
||||
|
||||
private function checkAccessiblity(e:TimerEvent):void {
|
||||
// remove the quick links if there's no screen reader active
|
||||
if (!Accessibility.active) {
|
||||
quickLinks.removeAllChildren();
|
||||
}
|
||||
}
|
||||
private function onQuickLinkClicked(window:String):void {
|
||||
var dispatcher:Dispatcher = new Dispatcher();
|
||||
switch(window) {
|
||||
case "users":
|
||||
dispatcher.dispatchEvent(new ShortcutEvent(ShortcutEvent.FOCUS_USERS_WINDOW));
|
||||
break;
|
||||
case "webcams":
|
||||
dispatcher.dispatchEvent(new ShortcutEvent(ShortcutEvent.FOCUS_VIDEO_WINDOW));
|
||||
break;
|
||||
case "presentation":
|
||||
dispatcher.dispatchEvent(new ShortcutEvent(ShortcutEvent.FOCUS_PRESENTATION_WINDOW));
|
||||
break;
|
||||
case "chat":
|
||||
dispatcher.dispatchEvent(new ShortcutEvent(ShortcutEvent.FOCUS_CHAT_WINDOW));
|
||||
break;
|
||||
}
|
||||
}
|
||||
private function checkAccessiblity(e:TimerEvent):void {
|
||||
// remove the quick links if there's no screen reader active
|
||||
if (!Accessibility.active) {
|
||||
quickLinks.removeAllChildren();
|
||||
}
|
||||
}
|
||||
|
||||
private function onQuickLinkClicked(window:String):void {
|
||||
var dispatcher:Dispatcher = new Dispatcher();
|
||||
switch(window) {
|
||||
case "users":
|
||||
dispatcher.dispatchEvent(new ShortcutEvent(ShortcutEvent.FOCUS_USERS_WINDOW));
|
||||
break;
|
||||
case "webcams":
|
||||
dispatcher.dispatchEvent(new ShortcutEvent(ShortcutEvent.FOCUS_VIDEO_WINDOW));
|
||||
break;
|
||||
case "presentation":
|
||||
dispatcher.dispatchEvent(new ShortcutEvent(ShortcutEvent.FOCUS_PRESENTATION_WINDOW));
|
||||
break;
|
||||
case "chat":
|
||||
dispatcher.dispatchEvent(new ShortcutEvent(ShortcutEvent.FOCUS_CHAT_WINDOW));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public function displayToolbar():void{
|
||||
toolbarOptions = new LayoutOptions();
|
||||
|
0
bigbluebutton-client/src/org/bigbluebutton/modules/phone/managers/FlashCallManager.as
Executable file → Normal file
0
bigbluebutton-client/src/org/bigbluebutton/modules/phone/managers/FlashCallManager.as
Executable file → Normal file
Loading…
Reference in New Issue
Block a user