Make sender-hash based styling ("colored nicks") work again
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 22 Jun 2009 19:54:35 +0000 (21:54 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 6 Aug 2009 18:25:05 +0000 (20:25 +0200)
commit2b5d210cb6e61a25a6a9d0c119aec025322b3b84
treecc5d8d52045f1da7e7f5314da182b1cc8eaf881f
parent03976b69a41261782602d745805a178d8f3f1dc9
Make sender-hash based styling ("colored nicks") work again

Plain messages now obtain their format depending on the sender hash.
This can be used to implement colored nicks, but with our new style engine,
we can now solve several problems like using other colors for highlighted messages.

Note that the number of hashed is currently hard-coded to 16; waiting for a nice way
to make this number configurable in a stylesheet.
src/qtui/chatlinemodelitem.cpp
src/uisupport/qssparser.cpp
src/uisupport/uistyle.cpp
src/uisupport/uistyle.h