diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/present/api/IPresentationButton.as b/bigbluebutton-client/src/org/bigbluebutton/modules/present/api/IPresentationButton.as deleted file mode 100755 index c6be595f85..0000000000 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/present/api/IPresentationButton.as +++ /dev/null @@ -1,30 +0,0 @@ -/** -* 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 3.0 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 . -* -*/ -package org.bigbluebutton.modules.present.api -{ - import org.bigbluebutton.modules.present.ui.views.PresentationWindow; - - public interface IPresentationButton - { - function buttonAdded(buttonParent:PresentationWindow):void; - function setButtonVisibility(visible:Boolean):void; - function setComponentEnabled(enabled:Boolean):void; - function presenterChanged(isPresenter:Boolean, presenterName:String):void; - } -} \ No newline at end of file diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/PresentationWindow.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/PresentationWindow.mxml index ffd0d8412d..9aa8a122d0 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/PresentationWindow.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/PresentationWindow.mxml @@ -90,7 +90,6 @@ with BigBlueButton; if not, see . import org.bigbluebutton.main.events.MadePresenterEvent; import org.bigbluebutton.main.events.ShortcutEvent; import org.bigbluebutton.main.views.MainCanvas; - import org.bigbluebutton.modules.present.api.IPresentationButton; import org.bigbluebutton.modules.present.events.AddOverlayCanvasEvent; import org.bigbluebutton.modules.present.events.DisplaySlideEvent; import org.bigbluebutton.modules.present.events.MoveEvent; diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/SlideView.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/SlideView.mxml index 8a1f89e879..c6dbc55fdf 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/SlideView.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/SlideView.mxml @@ -473,10 +473,6 @@ with BigBlueButton; if not, see . } } - public function showOverlayCanvas(show:Boolean):void{ - whiteboardCanvas.showCanvas(show); - } - public function showCanvas(show:Boolean):void{ } diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/managers/WhiteboardManager.as b/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/managers/WhiteboardManager.as index 651afd068c..7edac8ecd5 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/managers/WhiteboardManager.as +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/managers/WhiteboardManager.as @@ -36,7 +36,6 @@ package org.bigbluebutton.modules.whiteboard.managers import org.bigbluebutton.modules.whiteboard.events.WhiteboardButtonEvent; import org.bigbluebutton.modules.whiteboard.events.WhiteboardUpdate; import org.bigbluebutton.modules.whiteboard.models.WhiteboardModel; - import org.bigbluebutton.modules.whiteboard.views.WhiteboardButton; import org.bigbluebutton.modules.whiteboard.views.WhiteboardCanvas; import org.bigbluebutton.modules.whiteboard.views.WhiteboardTextToolbar; import org.bigbluebutton.modules.whiteboard.views.WhiteboardToolbar; @@ -50,7 +49,7 @@ package org.bigbluebutton.modules.whiteboard.managers private var highlighterCanvas:WhiteboardCanvas; private var highlighterToolbar:WhiteboardToolbar; private var textToolbar:WhiteboardTextToolbar; - private var whiteboardButton:WhiteboardButton; + private var model:WhiteboardCanvasModel = new WhiteboardCanvasModel(); private var displayModel:WhiteboardCanvasDisplayModel = new WhiteboardCanvasDisplayModel(); @@ -82,9 +81,6 @@ package org.bigbluebutton.modules.whiteboard.managers textToolbar.init(); highlighterCanvas.textToolbar = textToolbar; - if (whiteboardButton != null) return; - whiteboardButton = new WhiteboardButton(); - //Necessary now because of module loading race conditions var t:Timer = new Timer(1000, 1); t.addEventListener(TimerEvent.TIMER, addHighlighterCanvas); diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/views/WhiteboardButton.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/views/WhiteboardButton.mxml deleted file mode 100755 index 2f5dfce38b..0000000000 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/views/WhiteboardButton.mxml +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - -