forked from bigbluebutton/bigbluebutton
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote branch 'ajay/bbb-whiteboard-additions' into merge-whiteb…
…oard-features Conflicts: bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/recorder/whiteboard/AddShapeWhiteboardRecordEvent.java bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/recorder/whiteboard/WhiteboardEventRecorder.java bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/whiteboard/IWhiteboardRoomListener.java bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/whiteboard/Page.java bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/whiteboard/ShapeGraphic.java bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/whiteboard/WhiteboardApplication.java bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/whiteboard/WhiteboardRoom.java bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/whiteboard/WhiteboardService.java bigbluebutton-client/locale/en_US/bbbResources.properties bigbluebutton-client/src/org/bigbluebutton/common/Images.as bigbluebutton-client/src/org/bigbluebutton/common/assets/images/text_icon.png bigbluebutton-client/src/org/bigbluebutton/main/views/MainApplicationShell.mxml bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/WhiteboardCanvasModel.as bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/business/DrawProxy.as bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/business/shapes/DrawObject.as bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/business/shapes/DrawObjectFactory.as bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/business/shapes/Ellipse.as bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/business/shapes/Pencil.as bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/business/shapes/Rectangle.as bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/business/shapes/ShapeFactory.as bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/managers/PageManager.as bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/managers/WhiteboardManager.as bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/maps/WhiteboardCanvasEventMap.mxml bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/views/WhiteboardCanvas.mxml bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/views/WhiteboardToolbar.mxml
- Loading branch information
Showing
86 changed files
with
4,490 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
...rg/bigbluebutton/conference/service/recorder/whiteboard/AddTextWhiteboardRecordEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/** | ||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/ | ||
* | ||
* Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below). | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under the | ||
* terms of the GNU Lesser General Public License as published by the Free Software | ||
* Foundation; either version 2.1 of the License, or (at your option) any later | ||
* version. | ||
* | ||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY | ||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License along | ||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* Author: Ajay Gopinath <ajgopi124(at)gmail(dot)com> | ||
*/ | ||
package org.bigbluebutton.conference.service.recorder.whiteboard; | ||
|
||
public class AddTextWhiteboardRecordEvent extends | ||
AbstractWhiteboardRecordEvent { | ||
|
||
public AddTextWhiteboardRecordEvent() { | ||
super(); | ||
setEvent("AddTextEvent"); | ||
} | ||
|
||
public void setDataPoints(String points) { | ||
eventMap.put("dataPoints", points); | ||
} | ||
|
||
public void setText(String text) { | ||
eventMap.put("text", text); | ||
} | ||
|
||
public void setTextColor(int textColor) { | ||
eventMap.put("textColor", Integer.toString(textColor)); | ||
} | ||
|
||
public void setBGColor(int bgColor) { | ||
eventMap.put("bgColor", Integer.toString(bgColor)); | ||
} | ||
|
||
public void setBGColorVisible(boolean bgColorVis) { | ||
eventMap.put("bgColorVisible", Boolean.toString(bgColorVis)); | ||
} | ||
|
||
} |
53 changes: 53 additions & 0 deletions
53
...bigbluebutton/conference/service/recorder/whiteboard/ModifyTextWhiteboardRecordEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/** | ||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/ | ||
* | ||
* Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below). | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under the | ||
* terms of the GNU Lesser General Public License as published by the Free Software | ||
* Foundation; either version 2.1 of the License, or (at your option) any later | ||
* version. | ||
* | ||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY | ||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License along | ||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* Author: Ajay Gopinath <ajgopi124(at)gmail(dot)com> | ||
*/ | ||
package org.bigbluebutton.conference.service.recorder.whiteboard; | ||
|
||
public class ModifyTextWhiteboardRecordEvent extends | ||
AbstractWhiteboardRecordEvent { | ||
|
||
public ModifyTextWhiteboardRecordEvent() { | ||
super(); | ||
setEvent("ModifyT=TextEvent"); | ||
} | ||
|
||
public void setDataPoints(String points) { | ||
eventMap.put("dataPoints", points); | ||
} | ||
|
||
public void setText(String text) { | ||
eventMap.put("text", text); | ||
} | ||
|
||
public void setTextColor(int textColor) { | ||
eventMap.put("textColor", Integer.toString(textColor)); | ||
} | ||
|
||
public void setBGColor(int bgColor) { | ||
eventMap.put("bgColor", Integer.toString(bgColor)); | ||
} | ||
|
||
public void setBGColorVisible(boolean bgColorVis) { | ||
eventMap.put("bgColorVisible", Boolean.toString(bgColorVis)); | ||
} | ||
|
||
public void setModifyingID(String id) { | ||
eventMap.put("modifiedID", id); | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...bigbluebutton/conference/service/recorder/whiteboard/ToggleGridWhiteboardRecordEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/** | ||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/ | ||
* | ||
* Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below). | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under the | ||
* terms of the GNU Lesser General Public License as published by the Free Software | ||
* Foundation; either version 2.1 of the License, or (at your option) any later | ||
* version. | ||
* | ||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY | ||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License along | ||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* Author: Ajay Gopinath <ajgopi124(at)gmail(dot)com> | ||
*/ | ||
package org.bigbluebutton.conference.service.recorder.whiteboard; | ||
|
||
public class ToggleGridWhiteboardRecordEvent extends | ||
AbstractWhiteboardRecordEvent { | ||
|
||
public ToggleGridWhiteboardRecordEvent() { | ||
super(); | ||
setEvent("ToggleGridEvent"); | ||
} | ||
|
||
public void setGridEnabled(boolean enabled) { | ||
eventMap.put("gridEnabled", Boolean.toString(enabled)); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.