uistyle: Support reverse color rendering
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 7 Mar 2018 23:22:24 +0000 (00:22 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 8 Mar 2018 01:10:28 +0000 (02:10 +0100)
commit374bb1f45bed3d21ad9abd7343bf0d2fc8a56fbc
tree4e9161a05cd165b7114bdbdf4df8495797a23729
parentb12b02f1bd5ee8a68bda20622b7ec3eac84f000c
uistyle: Support reverse color rendering

Format codes 0x12 and 0x16 toggle the swap of foreground and
background colors. In the current implementation, the color
swap only applies to custom colors, i.e. mIRC colors and hex
colors. Normal text is not affected.

Since this is not a styleable property, remove support for it
from the stylesheet parser.
src/uisupport/qssparser.cpp
src/uisupport/uistyle.cpp
src/uisupport/uistyle.h