Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions src/Default.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ s|RadioButton
skinClass: ClassReference("org.bigbluebutton.view.skins.RadioButtonSkin");
}

s|CheckBox
{
skinClass: ClassReference("org.bigbluebutton.view.skins.CheckBoxSkin")
}

s|Image.bbbLogoStyle
{
verticalCenter: 0;
Expand Down Expand Up @@ -283,6 +288,11 @@ global
backgroundImage: Embed(source="assets/res/drawable-mdpi/deskshare.png");
}

ui|NavigationButton.pollsBtnStyle
{
backgroundImage: Embed(source="assets/res/drawable-mdpi/polling.png");
}

s|Button.logoutButtonStyle
{
height: 50;
Expand Down Expand Up @@ -398,6 +408,12 @@ global
eclipseBottom: 10;
}

s|CheckBox
{
height: 40;
width: 40;
}

s|Image.bbbLogoStyle
{
imageSource: Embed(source="assets/res/drawable-mdpi/ic_launcher.png");
Expand Down Expand Up @@ -550,6 +566,11 @@ global
backgroundImage: Embed(source="assets/res/drawable-hdpi/deskshare.png");
}

ui|NavigationButton.pollsBtnStyle
{
backgroundImage: Embed(source="assets/res/drawable-hdpi/polling.png");
}

s|Button.topButtonStyle
{
width: 45;
Expand Down Expand Up @@ -642,6 +663,12 @@ global
eclipseBottom: 15;
}

s|CheckBox
{
height: 60;
width: 60;
}

s|Image.bbbLogoStyle
{
imageSource: Embed(source="assets/res/drawable-hdpi/ic_launcher.png");
Expand Down Expand Up @@ -793,6 +820,11 @@ global
backgroundImage: Embed(source="assets/res/drawable-xhdpi/deskshare.png");
}

ui|NavigationButton.pollsBtnStyle
{
backgroundImage: Embed(source="assets/res/drawable-xhdpi/polling.png");
}

s|Button.topButtonStyle
{
width: 60;
Expand Down Expand Up @@ -880,6 +912,12 @@ global
eclipseBottom: 20;
}

s|CheckBox
{
height: 80;
width: 80;
}

s|Image.bbbLogoStyle
{
imageSource: Embed(source="assets/res/drawable-xhdpi/ic_launcher.png");
Expand Down Expand Up @@ -1008,6 +1046,11 @@ global
backgroundImage: Embed(source="assets/res/drawable-xxhdpi/deskshare.png");
}

ui|NavigationButton.pollsBtnStyle
{
backgroundImage: Embed(source="assets/res/drawable-xxhdpi/polling.png");
}

s|Button.logoutButtonStyle
{
height: 150;
Expand Down Expand Up @@ -1128,6 +1171,12 @@ global
eclipseBottom: 30;
}

s|CheckBox
{
height: 120;
width: 120;
}

s|Group.userDetailGroupStyle
{
height: 90;
Expand Down
6 changes: 6 additions & 0 deletions src/Main.mxml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
import org.bigbluebutton.view.navigation.pages.selectparticipant.SelectParticipantConfig;
import org.bigbluebutton.view.navigation.pages.userdetails.UserDetaisConfig;
import org.bigbluebutton.view.navigation.pages.videochat.VideoChatConfig;
import org.bigbluebutton.view.navigation.pages.pollslist.PollsListConfig;
import org.bigbluebutton.view.navigation.pages.takepoll.TakePollConfig;
import org.bigbluebutton.view.navigation.pages.pollresults.PollResultsConfig;
import org.bigbluebutton.view.ui.MicButtonConfig;
import org.bigbluebutton.view.ui.NavigationButtonConfig;
import org.bigbluebutton.view.ui.RecordingStatusConfig;
Expand Down Expand Up @@ -125,6 +128,9 @@
.configure(DisconnectPageConfig)
.configure(DeskshareConfig)
.configure(MenuButtonsConfig)
.configure(PollsListConfig)
.configure(TakePollConfig)
.configure(PollResultsConfig)
.configure(RecordingStatusConfig)

.configure(new ContextView(this));
Expand Down
Binary file added src/assets/res/drawable-hdpi/polling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/res/drawable-mdpi/polling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/res/drawable-xhdpi/polling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/res/drawable-xxhdpi/polling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/res/drawable-xxxhdpi/polling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion src/locale/en_US/resources.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,13 @@ disconnect.reason.userLoggedOut=You have logged out of the meeting
disconnect.reason.userKickedOut=You have been kicked out of the meeting
disconnect.reason.userExit=Exit
deskshare.noDeskshare = No desktop stream to display
deskshare.title = Desktop Sharing
deskshare.title = Desktop Sharing
pollsList.title=Poll List
pollsList.notStarted=[Not Started]
pollsList.closed=[Closed - View Results]
pollsList.alreadyVoted=[Already Voted - View Results]
pollsList.voteNow=[Vote Now]
takePoll.title=Take Poll
takePoll.submit=Submit
takePoll.errorMessage=Please make sure to respond to each question
pollResults.title=Poll Results
4 changes: 3 additions & 1 deletion src/org/bigbluebutton/AppConfig.as
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ package org.bigbluebutton
import org.bigbluebutton.model.UserUISession;
import org.bigbluebutton.model.chat.ChatMessagesSession;
import org.bigbluebutton.model.chat.IChatMessagesSession;

import org.bigbluebutton.core.IPollService;
import org.bigbluebutton.core.PollService;


import robotlegs.bender.extensions.signalCommandMap.api.ISignalCommandMap;
Expand All @@ -63,6 +64,7 @@ package org.bigbluebutton
injector.map(IChatMessageService).toSingleton(ChatMessageService);
injector.map(IPresentationService).toSingleton(PresentationService);
injector.map(IChatMessagesSession).toSingleton(ChatMessagesSession);
injector.map(IPollService).toSingleton(PollService);
injector.map(IDeskshareConnection).toSingleton(DeskshareConnection);

// Type mapping
Expand Down
16 changes: 11 additions & 5 deletions src/org/bigbluebutton/command/ConnectCommand.as
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ package org.bigbluebutton.command
import org.bigbluebutton.model.IUserSession;
import org.bigbluebutton.model.IUserUISession;
import org.bigbluebutton.view.navigation.pages.PagesENUM;
import org.bigbluebutton.core.IPollService;
import org.osmf.logging.Log;

import robotlegs.bender.bundles.mvcs.Command;
import robotlegs.bender.bundles.mvcs.Command;

public class ConnectCommand extends Command
{
Expand Down Expand Up @@ -55,6 +56,9 @@ package org.bigbluebutton.command
[Inject]
public var presentationService: IPresentationService;

[Inject]
public var pollService:IPollService;

override public function execute():void {
connection.uri = uri;

Expand Down Expand Up @@ -88,6 +92,7 @@ package org.bigbluebutton.command
// Set up remaining message sender and receivers:
chatService.setupMessageSenderReceiver();
presentationService.setupMessageSenderReceiver();
pollService.setupMessageSenderReceiver();

// set up and connect the remaining connections
videoConnection.uri = userSession.config.getConfigFor("VideoConfModule").@uri + "/" + conferenceParameters.room;
Expand All @@ -108,20 +113,21 @@ package org.bigbluebutton.command
deskshareConnection.connect();

userSession.deskshareConnection = deskshareConnection;

// Query the server for chat, users, and presentation info
// Query the server for chat, users, polls, and presentation info
chatService.sendWelcomeMessage();
chatService.getPublicChatMessages();

presentationService.getPresentationInfo();

userSession.userList.allUsersAddedSignal.add(successUsersAdded);
usersService.queryForParticipants();
usersService.queryForRecordingStatus();

pollService.getPolls();

userSession.successJoiningMeetingSignal.remove(successJoiningMeeting);
userSession.unsuccessJoiningMeetingSignal.remove(unsuccessJoiningMeeting);
usersService.getRoomLockState();
}

private function unsuccessJoiningMeeting():void {
Expand Down
11 changes: 11 additions & 0 deletions src/org/bigbluebutton/core/IPollService.as
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package org.bigbluebutton.core
{
import org.bigbluebutton.model.polling.Responses;

public interface IPollService
{
function setupMessageSenderReceiver():void;
function getPolls():void;
function respondPoll(pollID:String, responses:Array):void;
}
}
Loading