added first version of Master Panel buttons
This commit is contained in:
parent
d24ccaea70
commit
a40d2e523c
13 changed files with 418 additions and 38 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
Author : $Author: fgerlits $
|
||||
Version : $Revision: 1.20 $
|
||||
Version : $Revision: 1.21 $
|
||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/widgets/src/WidgetFactory.cxx,v $
|
||||
|
||||
------------------------------------------------------------------------------*/
|
||||
|
@ -187,6 +187,42 @@ static const std::string cueStopButtonPassiveName
|
|||
static const std::string cueStopButtonRollName
|
||||
= "imageButton/cueStopRoll.png";
|
||||
|
||||
/**
|
||||
* The name of the passive image for the master panel play button.
|
||||
*/
|
||||
static const std::string masterPlayButtonPassiveName
|
||||
= "imageButton/masterPlay.gif";
|
||||
|
||||
/**
|
||||
* The name of the rollover image for the master panel play button.
|
||||
*/
|
||||
static const std::string masterPlayButtonRollName
|
||||
= "imageButton/masterPlayRoll.gif";
|
||||
|
||||
/**
|
||||
* The name of the passive image for the master panel pause button.
|
||||
*/
|
||||
static const std::string masterPauseButtonPassiveName
|
||||
= "imageButton/masterPause.gif";
|
||||
|
||||
/**
|
||||
* The name of the rollover image for the master panel pause button.
|
||||
*/
|
||||
static const std::string masterPauseButtonRollName
|
||||
= "imageButton/masterPauseRoll.gif";
|
||||
|
||||
/**
|
||||
* The name of the passive image for the master panel stop button.
|
||||
*/
|
||||
static const std::string masterStopButtonPassiveName
|
||||
= "imageButton/masterStop.gif";
|
||||
|
||||
/**
|
||||
* The name of the rollover image for the master panel stop button.
|
||||
*/
|
||||
static const std::string masterStopButtonRollName
|
||||
= "imageButton/masterStopRoll.gif";
|
||||
|
||||
/**
|
||||
* The name of the combo box left image.
|
||||
*/
|
||||
|
@ -414,6 +450,21 @@ WidgetFactory :: createButton(ImageButtonType type) throw ()
|
|||
rollImage = loadImage(cueStopButtonRollName);
|
||||
break;
|
||||
|
||||
case masterPlayButton:
|
||||
passiveImage = loadImage(masterPlayButtonPassiveName);
|
||||
rollImage = loadImage(masterPlayButtonRollName);
|
||||
break;
|
||||
|
||||
case masterPauseButton:
|
||||
passiveImage = loadImage(masterPauseButtonPassiveName);
|
||||
rollImage = loadImage(masterPauseButtonRollName);
|
||||
break;
|
||||
|
||||
case masterStopButton:
|
||||
passiveImage = loadImage(masterStopButtonPassiveName);
|
||||
rollImage = loadImage(masterStopButtonRollName);
|
||||
break;
|
||||
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue