summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-10-13Adding theme colors for party tabsStefan Dombrowski1-0/+2
Following Rotonen's advise to "make anything and everything you can think of recolorable", a theme can now define colors for PARTY_CHAT_TAB and PARTY_SOCIAL_TAB. This was badly needed, because the requirements for a color of a chat tab and of a player name are quite different. TODO: When guild support gets enabled, then have a look at the colors for guilds. Reviewed-by: 4144
2010-08-18Fix Theme loadingJared Adams1-0/+4
Reviewed-by: Freeyorp
2010-07-11Made the different hard-coded paths and files be now taken from theYohann Ferreira1-9/+21
data/paths.xml configuration file. Also added default gui theme path in branding and default wallpaper path and file searched respectively in the branding and paths.xml files. Hard-coded values are still used as fallbacks. Resolves: Manasource Mantis #148. Reviewed-by: jaxad0127.
2010-06-03Fix an unitialized variable problem in ThemeJared Adams1-0/+1
Reviewed-by: Thorbjørn Lindeijer
2010-03-30Fix some memory issuesJared Adams1-0/+1
Reviewed-by: Thorbjørn Lindeijer
2010-03-29Add minimum version information to the server listJared Adams1-1/+2
Use it to hilight entries that we don't meet. Also make the entries in that list higher, put server name and location on different lines, and use the description below the list. The dialog is also resizable now. Reviewed-by: Freeyorp
2010-03-21Make the Dye class more flexible and fix an issue in itJared Adams1-3/+1
After the last change, it could go over the end of the colors array. Reviewed-by: Chuck Miller Reviewed-by: Freeyorp
2010-03-16Fix some color issuesJared Adams1-3/+14
Colors in BrowserBoxes generally didn't work. Also simplify much palette control detail. Reviewed-by: Thorbjørn Lindeijer
2010-03-15Fix some branding issuesJared Adams1-1/+1
Reviewed-by: Chuck Miller
2010-03-12Split Palette into Theme and UserPaletteJared Adams1-11/+214
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-0/+345
Also merge the guialpha ConfigListener into Theme. Reviewed-by: Thorbjørn Lindeijer