Renamed selectewebcam package using small case.
This commit is contained in:
parent
6d5cd2207f
commit
5479266123
@ -5,7 +5,8 @@
|
||||
@namespace skins "org.bigbluebutton.air.main.views.skins.*";
|
||||
@namespace common "org.bigbluebutton.view.navigation.pages.common.*";
|
||||
@namespace presentation "org.bigbluebutton.air.presentation.views.*";
|
||||
@namespace selectWebcam "org.bigbluebutton.air.presentation.views.selectWebcam.*";
|
||||
@namespace selectwebcam "org.bigbluebutton.air.presentation.views.selectwebcam.*";
|
||||
@namespace commonviews "org.bigbluebutton.air.common.views.*";
|
||||
|
||||
s|List.cameraProfilesListStyle
|
||||
{
|
||||
@ -16,7 +17,7 @@ s|Button {
|
||||
fontWeight: normal;
|
||||
}
|
||||
|
||||
selectWebcam|SelectStreamPopUpBase
|
||||
selectwebcam|SelectStreamPopUpBase
|
||||
{
|
||||
modalTransparency: .8;
|
||||
modalTransparencyBlur: .25;
|
||||
@ -269,7 +270,7 @@ global
|
||||
color: #43474F;
|
||||
}
|
||||
|
||||
common|NoTabView
|
||||
commonviews|NoTabView
|
||||
{
|
||||
backgroundColor: #FFFFFF;
|
||||
}
|
||||
|
@ -318,8 +318,9 @@
|
||||
</InfoAdditions>
|
||||
<requestedDisplayResolution>high</requestedDisplayResolution>
|
||||
</iPhone>
|
||||
<extensions>
|
||||
<extensionID>com.freshplanet.AirCapabilities</extensionID>
|
||||
<extensionID>com.juankpro.ane.LocalNotification</extensionID>
|
||||
</extensions>
|
||||
|
||||
<extensions>
|
||||
<extensionID>com.freshplanet.AirCapabilities</extensionID>
|
||||
<extensionID>com.juankpro.ane.LocalNotification</extensionID>
|
||||
</extensions>
|
||||
</application>
|
||||
|
@ -1,11 +1,10 @@
|
||||
package org.bigbluebutton.air.presentation.views.selectWebcam {
|
||||
|
||||
import org.bigbluebutton.air.common.views.IView;
|
||||
package org.bigbluebutton.air.presentation.views.selectwebcam {
|
||||
|
||||
import spark.components.Button;
|
||||
import spark.components.Group;
|
||||
import spark.components.List;
|
||||
|
||||
import org.bigbluebutton.air.common.views.IView;
|
||||
|
||||
public interface ISelectStreamPopUp extends IView {
|
||||
function get streamList():List;
|
||||
function get actionButton():Button;
|
@ -1,4 +1,4 @@
|
||||
package org.bigbluebutton.air.presentation.views.selectWebcam {
|
||||
package org.bigbluebutton.air.presentation.views.selectwebcam {
|
||||
|
||||
import robotlegs.bender.extensions.mediatorMap.api.IMediatorMap;
|
||||
import robotlegs.bender.extensions.signalCommandMap.api.ISignalCommandMap;
|
@ -1,8 +1,6 @@
|
||||
package org.bigbluebutton.air.presentation.views.selectWebcam {
|
||||
package org.bigbluebutton.air.presentation.views.selectwebcam {
|
||||
import spark.components.Button;
|
||||
import spark.components.Group;
|
||||
import spark.components.List;
|
||||
import spark.components.supportClasses.SkinnableComponent;
|
||||
|
||||
public class SelectStreamPopUp extends SelectStreamPopUpBase implements ISelectStreamPopUp {
|
||||
|
@ -68,7 +68,7 @@
|
||||
<s:List id="streamList0"
|
||||
width="90%"
|
||||
height="100%"
|
||||
itemRenderer="org.bigbluebutton.air.presentation.views.selectWebcam.StreamItemRenderer" />
|
||||
itemRenderer="org.bigbluebutton.air.presentation.views.selectwebcam.StreamItemRenderer" />
|
||||
<s:Button label="Stop viewing webcams"
|
||||
id="actionButton0"
|
||||
width="90%"
|
@ -1,29 +1,21 @@
|
||||
package org.bigbluebutton.air.presentation.views.selectWebcam {
|
||||
package org.bigbluebutton.air.presentation.views.selectwebcam {
|
||||
|
||||
import flash.display.Screen;
|
||||
import flash.events.Event;
|
||||
import flash.events.MouseEvent;
|
||||
|
||||
import mx.collections.ArrayCollection;
|
||||
import mx.core.FlexGlobals;
|
||||
import mx.events.FlexMouseEvent;
|
||||
import mx.events.ResizeEvent;
|
||||
import mx.resources.ResourceManager;
|
||||
import mx.utils.ObjectUtil;
|
||||
|
||||
import org.bigbluebutton.air.common.views.PagesENUM;
|
||||
import spark.components.SkinnablePopUpContainer;
|
||||
|
||||
import org.bigbluebutton.air.main.models.IUserUISession;
|
||||
import org.bigbluebutton.lib.main.models.IUserSession;
|
||||
import org.bigbluebutton.lib.user.models.User;
|
||||
import org.bigbluebutton.lib.user.models.UserList;
|
||||
import org.bigbluebutton.lib.video.models.UserStreamName;
|
||||
import org.bigbluebutton.lib.video.models.VideoProfile;
|
||||
|
||||
import robotlegs.bender.bundles.mvcs.Mediator;
|
||||
|
||||
import spark.components.SkinnablePopUpContainer;
|
||||
import spark.events.IndexChangeEvent;
|
||||
|
||||
public class SelectStreamPopUpMediator extends Mediator {
|
||||
|
||||
[Inject]
|
||||
@ -75,7 +67,7 @@ package org.bigbluebutton.air.presentation.views.selectWebcam {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private function updateSelectedIndex() {
|
||||
private function updateSelectedIndex():void {
|
||||
view.streamList.selectedIndex = selectedIndex;
|
||||
if (selectedIndex == -1) {
|
||||
view.actionButton.enabled = false;
|
||||
@ -94,7 +86,7 @@ package org.bigbluebutton.air.presentation.views.selectWebcam {
|
||||
}
|
||||
}
|
||||
|
||||
private function clickedActionButton(e:MouseEvent) {
|
||||
private function clickedActionButton(e:MouseEvent):void {
|
||||
var selectedStream:Object = null;
|
||||
if (displayWebcam) {
|
||||
selectedStream = dataProvider.getItemAt(view.streamList.selectedIndex);
|
||||
@ -169,7 +161,7 @@ package org.bigbluebutton.air.presentation.views.selectWebcam {
|
||||
}
|
||||
}
|
||||
|
||||
private function removeUserFromDataProvider(userID:String) {
|
||||
private function removeUserFromDataProvider(userID:String):void {
|
||||
for (var item:int; item < dataProvider.length; item++) {
|
||||
if ((dataProvider.getItemAt(item).user as User).userID == userID) {
|
||||
// -- in the end. see: http://stackoverflow.com/questions/4255226/how-to-remove-an-item-while-iterating-over-collection
|
Loading…
Reference in New Issue
Block a user