summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-04-22 22:17:50 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-04-25 21:20:38 +0200
commit53e22afe92e7f360ce0de5cbb013f3257081bdb8 (patch)
treebe8fb3425d4ec99392a96611ed8c57831141bb55 /src/utils/stringutils.cpp
parent243b6c163cd91b874265d5acee57e754dec2e979 (diff)
downloadmana-53e22afe92e7f360ce0de5cbb013f3257081bdb8.tar.gz
mana-53e22afe92e7f360ce0de5cbb013f3257081bdb8.tar.bz2
mana-53e22afe92e7f360ce0de5cbb013f3257081bdb8.tar.xz
mana-53e22afe92e7f360ce0de5cbb013f3257081bdb8.zip
GUI: Added support for multiple color palettes to Theme
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.
Diffstat (limited to 'src/utils/stringutils.cpp')
0 files changed, 0 insertions, 0 deletions