summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.cpp
AgeCommit message (Collapse)AuthorFilesLines
2011-09-28Small changes requested by o11c - part 1.Yohann Ferreira1-2/+3
2011-09-28Made the button icon only shown when the icon file is valid.Yohann Ferreira1-6/+7
And falls back to the text based caption otherwise.
2011-09-28Changed the Social button to an image one.Yohann Ferreira1-3/+6
I also made the client able to keep the old behaviour, and i changed the button api to not require the icon frames size as it could easily guess them.
2011-09-28Added textpopup on mouse hovering support to buttons.Yohann Ferreira1-1/+57
I added a use of it to the menu buttons.
2011-06-16Fix the off-by-one error reported in the issue comments.Yohann Ferreira1-2/+1
Trivial fix.
2011-06-16Added image support to the button widgets.Yohann Ferreira1-21/+134
Resolves: Mana-mantis #96. Reviewed-by: Crush. Note that the option to set the image position next to the text is still needed and will be handled in another issue.
2010-08-03Move Theme and UserPalette to the resources folderJared Adams1-1/+1
Reviewed-by: Yohann Ferreira
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira1-2/+2
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-03-12Split Palette into Theme and UserPaletteJared Adams1-2/+2
Themes can now control the colors they use. Colors in the Viewport (being names, particles, etc) can still be changed by the user. Also make ProgressBars more easily colored. DyePalette was made more flexible in the process. Also fixes comparing strings of different lengths insensitively. Reviewed-by: Thorbjørn Lindeijer
2010-03-05Rename SkinLoader to ThemeJared Adams1-3/+3
Also merge the guialpha ConfigListener into Theme. Reviewed-by: Thorbjørn Lindeijer
2010-02-28Make the gui more themeable and distribute two themesJared Adams1-7/+5
The older gray theme and the new wood theme are available as themes. The gray theme needs some new graphics for hilights. Add a theme option for branding and add path/to/branding/data to the PhysFS search path. Reviewed-by: Thorbjørn Lindeijer Reviewed-by: Chuck Miller
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-11Cleanup GUI classesJared Adams1-3/+3
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2009-09-02Added a minimum alpha opacity value handle in SkinLoader and made use of it.Bertram1-12/+21
Part 1 of 3 for Mantis #847 Only a few controls follow minimum opacity value at login stage. Part 2 will make all other controls do the same. Part 3 will try to set default gui opacity value as a constant.
2009-08-01makes the colour for buttons and disabled buttons configurableMaximilian Philipps1-1/+4
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-0/+181
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.