summaryrefslogtreecommitdiff
path: root/src/gui/widgets/label.cpp
AgeCommit message (Collapse)AuthorFilesLines
2025-04-25GUI: Added support for multiple color palettes to ThemeThorbjørn Lindeijer1-1/+1
Each Skin can point to a different palette, which can be used to tweak text colors where necessary. For now there is no generic solution for this, instead a number of locations have been adjusted to take the palette into account: * ChatWindow sets its palette on the BrowserBox used in its tabs. * Popup sets its palette on child widgets when they are added (covering BrowserBox, Label and TextBox). * ItemPopup now uses its palette when looking up colors. The BrowserBox now retrieves its numbered text colors from the theme. Also added OLDCHAT, AWAYCHAT and GLOBAL theme colors, with ##g, ##o and ##a to choose these colors respectively. Fixed ImageRect move constructor. TextPreview class was cleaned up from unused functionality. Being name colors are no longer different between the name shown on the being and the name shown in the SpeechDialog.
2025-03-31GUI: Support customizing widget text format through themeThorbjørn Lindeijer1-1/+34
The following widgets now support setting the font, text color, outline color and shadow color through the theme: * Button * Tab * Window (title) * ProgressBar The text format can be specified differently per skin state.
2012-01-31Added missing copyright notices.Yohann Ferreira1-1/+2
Reviewed-by: Erik Schilling
2010-08-12Forgot a Label constructorJared Adams1-0/+1
2010-08-12Fix Label color handlingJared Adams1-1/+1
2010-08-03Move Theme and UserPalette to the resources folderJared Adams1-1/+1
Reviewed-by: Yohann Ferreira
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-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2009-04-10Introduced a Desktop widget to handle the wallpaperBjørn Lindeijer1-2/+1
Cleans up main.cpp a little.
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-0/+40
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.