Merge pull request #135 from SenecaCDOT-BigBlueButton/improve-present-leftright-arrows

added disabled icons for left and right arrow buttons in presentation wi...
This commit is contained in:
Richard Alam 2013-04-27 10:25:39 -07:00
commit cf0f2c11c2
4 changed files with 13 additions and 1 deletions

View File

@ -145,7 +145,7 @@ DataGrid {
icon: Embed('assets/images/triangle.png');
}
.presentationUploadButtonStyle, .presentationBackButtonStyle, .presentationForwardButtonStyle,
.presentationUploadButtonStyle, .presentationBackButtonStyle, .presentationBackButtonDisabledStyle, .presentationForwardButtonStyle, .presentationForwardButtonDisabledStyle,
.presentationFitToWidthButtonStyle, .presentationFitToPageButtonStyle
{
textIndent: 0;
@ -173,10 +173,18 @@ DataGrid {
icon: Embed('assets/images/left-arrow.png');
}
.presentationBackButtonDisabledStyle {
icon: Embed('assets/images/left-arrow-disabled.png');
}
.presentationForwardButtonStyle {
icon: Embed('assets/images/right-arrow.png');
}
.presentationForwardButtonDisabledStyle {
icon: Embed('assets/images/right-arrow-disabled.png');
}
.presentationFitToWidthButtonStyle {
icon: Embed('assets/images/fit-to-width.png');
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

View File

@ -472,14 +472,18 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
private function disableSlideNavigationButtons(pageNumber:int):void {
if (pageNumber == 0) {
backButton.enabled = false;
backButton.styleName = "presentationBackButtonDisabledStyle";
} else {
backButton.enabled = true;
backButton.styleName = "presentationBackButtonStyle";
}
if (pageNumber < slideView.slides.length - 1) {
forwardButton.enabled = true;
forwardButton.styleName = "presentationForwardButtonStyle";
} else {
forwardButton.enabled = false;
forwardButton.styleName = "presentationForwardButtonDisabledStyle";
}
}