summaryrefslogtreecommitdiff
path: root/src/gui/skin.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-03-28Add a sticky button to the Window classJared Adams1-3/+12
The Minimap window uses this so you can froce it to always be open. The Minimap toggle button can be used to show or hide it temporarily, as warping will reset it's visibility based on the sticky state and weather the 'new' map has a minimap.
2009-03-27Fixed copyright notices of skin.{h,cpp} filesBjørn Lindeijer1-6/+8
Also some code prettyfication.
2009-03-27Merge branch 'aethyra/master'Bjørn Lindeijer1-19/+80
Conflicts: src/beingmanager.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/label.cpp src/gui/label.h src/gui/popup.cpp src/gui/popup.h src/gui/scrollarea.cpp src/gui/skin.cpp src/gui/skin.h src/gui/speechbubble.cpp src/gui/window.cpp src/gui/window.h src/localplayer.h src/main.cpp src/net/ea/playerhandler.cpp src/resources/ambientoverlay.h src/resources/dye.cpp src/resources/imagewriter.cpp src/resources/itemdb.cpp src/shopitem.cpp
2009-03-26Compile warning fixesBjørn Lindeijer1-2/+2
Mostly unsigned/signed mismatches and an unused variable.
2009-03-27Compile warning fixesBjørn Lindeijer1-2/+2
Mostly unsigned/signed mismatches and an unused variable.
2009-03-25A host of code style fixesBjørn Lindeijer1-5/+5
Mostly putting & and * in the right place and making some getters const.
2009-03-25Fixed a static leak in skin loading.Ira Rice1-0/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-25Modified skin loading to save and load a skin's XML path, as well asIra Rice1-18/+35
modified the skin loading method to take a default value, in case the value in the configuration file fails to load for one reason or another. While this doesn't directly expose skinning on a per window basis to the user at the moment, it does allow people to change what skins get loaded with which windows now without needing to modify the code. TODO: Determine a decent approach to allowing the user to change their window skins in game, as well as moving all widget skin loading to the skin class (for instance, the button skins, progressbar skins, etc.) so that different skin configurations can use different widget skins. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-25Moved the responsibility for skin alpha adjustment to the Skin class.Ira Rice1-1/+43
This fixes a break that occured where skins wouldn't update in real time in the client, due to being passed a reference, rather than getting the skin itself. Signed-off-by: Ira Rice <shogun@odin.(none)>
2009-03-11Enforce minimum widths and heights to be at least as big as the minumumIra Rice1-2/+2
width and height for the skin used. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-11Modified Skin class to use proper encapsulation, instead of leaving itsIra Rice1-15/+32
skin variables public. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-11Moved the Skin class outside of the Window class, in order to allowIra Rice1-0/+174
other widget containers to use skins as well, and to make it easier to extend later. Signed-off-by: Ira Rice <irarice@gmail.com>