From 02fc75da7dedd76a685088905e11d06f6e4cf379 Mon Sep 17 00:00:00 2001 From: maroy Date: Thu, 27 Jan 2005 09:55:04 +0000 Subject: [PATCH] updated naming convetion for image files --- .../modules/widgets/src/WidgetFactory.cxx | 31 +++++++++--------- .../bottom.png} | Bin .../bottomLeft.png} | Bin .../bottomRight.png} | Bin .../{corner_leftside.png => blueBin/left.png} | Bin .../right.png} | Bin .../{corner_topcentre.png => blueBin/top.png} | Bin .../topLeft.png} | Bin .../topRight.png} | Bin .../{button_centre.png => button/center.png} | Bin .../centerRoll.png} | Bin .../centerSel.png} | Bin .../var/{button_left.png => button/left.png} | Bin .../leftRoll.png} | Bin .../leftSel.png} | Bin .../{button_right.png => button/right.png} | Bin .../rightRoll.png} | Bin .../rightSel.png} | Bin 18 files changed, 16 insertions(+), 15 deletions(-) rename livesupport/modules/widgets/var/{corner_botcentre.png => blueBin/bottom.png} (100%) rename livesupport/modules/widgets/var/{corner_botleft.png => blueBin/bottomLeft.png} (100%) rename livesupport/modules/widgets/var/{corner_botright.png => blueBin/bottomRight.png} (100%) rename livesupport/modules/widgets/var/{corner_leftside.png => blueBin/left.png} (100%) rename livesupport/modules/widgets/var/{corner_rightside.png => blueBin/right.png} (100%) rename livesupport/modules/widgets/var/{corner_topcentre.png => blueBin/top.png} (100%) rename livesupport/modules/widgets/var/{corner_topleft.png => blueBin/topLeft.png} (100%) rename livesupport/modules/widgets/var/{corner_topright.png => blueBin/topRight.png} (100%) rename livesupport/modules/widgets/var/{button_centre.png => button/center.png} (100%) rename livesupport/modules/widgets/var/{button_centre_roll.png => button/centerRoll.png} (100%) rename livesupport/modules/widgets/var/{button_centre_sel.png => button/centerSel.png} (100%) rename livesupport/modules/widgets/var/{button_left.png => button/left.png} (100%) rename livesupport/modules/widgets/var/{button_left_roll.png => button/leftRoll.png} (100%) rename livesupport/modules/widgets/var/{button_left_sel.png => button/leftSel.png} (100%) rename livesupport/modules/widgets/var/{button_right.png => button/right.png} (100%) rename livesupport/modules/widgets/var/{button_right_roll.png => button/rightRoll.png} (100%) rename livesupport/modules/widgets/var/{button_right_sel.png => button/rightSel.png} (100%) diff --git a/livesupport/modules/widgets/src/WidgetFactory.cxx b/livesupport/modules/widgets/src/WidgetFactory.cxx index 4722036d5..b95001867 100644 --- a/livesupport/modules/widgets/src/WidgetFactory.cxx +++ b/livesupport/modules/widgets/src/WidgetFactory.cxx @@ -22,7 +22,7 @@ Author : $Author: maroy $ - Version : $Revision: 1.1 $ + Version : $Revision: 1.2 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/widgets/src/WidgetFactory.cxx,v $ ------------------------------------------------------------------------------*/ @@ -62,72 +62,73 @@ static const std::string pathAttrName = "path"; /** * The name of the left passive image for the button. */ -static const std::string buttonPassiveLeftName = "button_left.png"; +static const std::string buttonPassiveLeftName = "button/left.png"; /** * The name of the center passive image for the button. */ -static const std::string buttonPassiveCenterName = "button_centre.png"; +static const std::string buttonPassiveCenterName = "button/center.png"; /** * The name of the right passive image for the button. */ -static const std::string buttonPassiveRightName = "button_right.png"; +static const std::string buttonPassiveRightName = "button/right.png"; /** * The name of the left rollover image for the button. */ -static const std::string buttonRollLeftName = "button_left_roll.png"; +static const std::string buttonRollLeftName = "button/leftRoll.png"; /** * The name of the center rollover image for the button. */ -static const std::string buttonRollCenterName = "button_centre_roll.png"; +static const std::string buttonRollCenterName = "button/centerRoll.png"; /** * The name of the right rollover image for the button. */ -static const std::string buttonRollRightName = "button_right_roll.png"; +static const std::string buttonRollRightName = "button/rightRoll.png"; /** * The name of the top left image for BlueBin. */ -static const std::string blueBinTopLeftName = "corner_topleft.png"; +static const std::string blueBinTopLeftName = "blueBin/topLeft.png"; /** * The name of the left image for BlueBin. */ -static const std::string blueBinLeftName = "corner_leftside.png"; +static const std::string blueBinLeftName = "blueBin/left.png"; /** * The name of the top image for BlueBin. */ -static const std::string blueBinTopName = "corner_topcentre.png"; +static const std::string blueBinTopName = "blueBin/top.png"; /** * The name of the top right image for BlueBin. */ -static const std::string blueBinTopRightName = "corner_topright.png"; +static const std::string blueBinTopRightName = "blueBin/topRight.png"; /** * The name of the right image for BlueBin. */ -static const std::string blueBinRightName = "corner_rightside.png"; +static const std::string blueBinRightName = "blueBin/right.png"; /** * The name of the bottom left image for BlueBin. */ -static const std::string blueBinBottomLeftName = "corner_botleft.png"; +static const std::string blueBinBottomLeftName = "blueBin/bottomLeft.png"; /** * The name of the bottom image for BlueBin. */ -static const std::string blueBinBottomName = "corner_botcentre.png"; +static const std::string blueBinBottomName = "blueBin/bottom.png"; /** * The name of the bottom right image for BlueBin. */ -static const std::string blueBinBottomRightName = "corner_botright.png"; +static const std::string blueBinBottomRightName = "blueBin/bottomRight.png"; + /* =============================================== local function prototypes */ diff --git a/livesupport/modules/widgets/var/corner_botcentre.png b/livesupport/modules/widgets/var/blueBin/bottom.png similarity index 100% rename from livesupport/modules/widgets/var/corner_botcentre.png rename to livesupport/modules/widgets/var/blueBin/bottom.png diff --git a/livesupport/modules/widgets/var/corner_botleft.png b/livesupport/modules/widgets/var/blueBin/bottomLeft.png similarity index 100% rename from livesupport/modules/widgets/var/corner_botleft.png rename to livesupport/modules/widgets/var/blueBin/bottomLeft.png diff --git a/livesupport/modules/widgets/var/corner_botright.png b/livesupport/modules/widgets/var/blueBin/bottomRight.png similarity index 100% rename from livesupport/modules/widgets/var/corner_botright.png rename to livesupport/modules/widgets/var/blueBin/bottomRight.png diff --git a/livesupport/modules/widgets/var/corner_leftside.png b/livesupport/modules/widgets/var/blueBin/left.png similarity index 100% rename from livesupport/modules/widgets/var/corner_leftside.png rename to livesupport/modules/widgets/var/blueBin/left.png diff --git a/livesupport/modules/widgets/var/corner_rightside.png b/livesupport/modules/widgets/var/blueBin/right.png similarity index 100% rename from livesupport/modules/widgets/var/corner_rightside.png rename to livesupport/modules/widgets/var/blueBin/right.png diff --git a/livesupport/modules/widgets/var/corner_topcentre.png b/livesupport/modules/widgets/var/blueBin/top.png similarity index 100% rename from livesupport/modules/widgets/var/corner_topcentre.png rename to livesupport/modules/widgets/var/blueBin/top.png diff --git a/livesupport/modules/widgets/var/corner_topleft.png b/livesupport/modules/widgets/var/blueBin/topLeft.png similarity index 100% rename from livesupport/modules/widgets/var/corner_topleft.png rename to livesupport/modules/widgets/var/blueBin/topLeft.png diff --git a/livesupport/modules/widgets/var/corner_topright.png b/livesupport/modules/widgets/var/blueBin/topRight.png similarity index 100% rename from livesupport/modules/widgets/var/corner_topright.png rename to livesupport/modules/widgets/var/blueBin/topRight.png diff --git a/livesupport/modules/widgets/var/button_centre.png b/livesupport/modules/widgets/var/button/center.png similarity index 100% rename from livesupport/modules/widgets/var/button_centre.png rename to livesupport/modules/widgets/var/button/center.png diff --git a/livesupport/modules/widgets/var/button_centre_roll.png b/livesupport/modules/widgets/var/button/centerRoll.png similarity index 100% rename from livesupport/modules/widgets/var/button_centre_roll.png rename to livesupport/modules/widgets/var/button/centerRoll.png diff --git a/livesupport/modules/widgets/var/button_centre_sel.png b/livesupport/modules/widgets/var/button/centerSel.png similarity index 100% rename from livesupport/modules/widgets/var/button_centre_sel.png rename to livesupport/modules/widgets/var/button/centerSel.png diff --git a/livesupport/modules/widgets/var/button_left.png b/livesupport/modules/widgets/var/button/left.png similarity index 100% rename from livesupport/modules/widgets/var/button_left.png rename to livesupport/modules/widgets/var/button/left.png diff --git a/livesupport/modules/widgets/var/button_left_roll.png b/livesupport/modules/widgets/var/button/leftRoll.png similarity index 100% rename from livesupport/modules/widgets/var/button_left_roll.png rename to livesupport/modules/widgets/var/button/leftRoll.png diff --git a/livesupport/modules/widgets/var/button_left_sel.png b/livesupport/modules/widgets/var/button/leftSel.png similarity index 100% rename from livesupport/modules/widgets/var/button_left_sel.png rename to livesupport/modules/widgets/var/button/leftSel.png diff --git a/livesupport/modules/widgets/var/button_right.png b/livesupport/modules/widgets/var/button/right.png similarity index 100% rename from livesupport/modules/widgets/var/button_right.png rename to livesupport/modules/widgets/var/button/right.png diff --git a/livesupport/modules/widgets/var/button_right_roll.png b/livesupport/modules/widgets/var/button/rightRoll.png similarity index 100% rename from livesupport/modules/widgets/var/button_right_roll.png rename to livesupport/modules/widgets/var/button/rightRoll.png diff --git a/livesupport/modules/widgets/var/button_right_sel.png b/livesupport/modules/widgets/var/button/rightSel.png similarity index 100% rename from livesupport/modules/widgets/var/button_right_sel.png rename to livesupport/modules/widgets/var/button/rightSel.png