gave a facelift to SimplePlaylistManagementWindow

This commit is contained in:
fgerlits 2005-05-21 19:05:25 +00:00
parent d751df9404
commit 6601609ed4
6 changed files with 117 additions and 80 deletions

View file

@ -22,7 +22,7 @@
Author : $Author: fgerlits $
Version : $Revision: 1.19 $
Version : $Revision: 1.20 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/widgets/include/LiveSupport/Widgets/WidgetFactory.h,v $
------------------------------------------------------------------------------*/
@ -89,7 +89,7 @@ class ZebraTreeView;
* </code></pre>
*
* @author $Author: fgerlits $
* @version $Revision: 1.19 $
* @version $Revision: 1.20 $
*/
class WidgetFactory :
virtual public Configurable
@ -116,7 +116,8 @@ class WidgetFactory :
typedef enum { resizeImage,
scratchpadWindowTitleImage,
searchWindowTitleImage,
liveModeWindowTitleImage }
liveModeWindowTitleImage,
playlistsWindowTitleImage }
ImageType;

View file

@ -22,7 +22,7 @@
Author : $Author: fgerlits $
Version : $Revision: 1.21 $
Version : $Revision: 1.22 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/widgets/src/WidgetFactory.cxx,v $
------------------------------------------------------------------------------*/
@ -261,6 +261,12 @@ static const std::string searchWindowTitleImageName
static const std::string liveModeWindowTitleImageName
= "titleImages/liveModeWindowTitle.png";
/**
* The name of the image for the title of the playlist editor window.
*/
static const std::string playlistsWindowTitleImageName
= "titleImages/playlistsWindowTitle.png";
/* =============================================== local function prototypes */
@ -500,6 +506,10 @@ WidgetFactory :: createImage(ImageType imageName) throw ()
rawImage = loadImage(liveModeWindowTitleImageName);
break;
case playlistsWindowTitleImage:
rawImage = loadImage(playlistsWindowTitleImageName);
break;
default:
return 0;
}