tracking Style incompatibilities (i have a daaaark app front) i was wondering why the tooltip was showing back text.
i tracked it down to here:
DrawSmartText() is used to draw, and it uses DefaultInk as color, which is static Black().
Draw.h:376
inline Color InvertColor() { return Color(255, 0); }
inline Color DefaultInk() { return Black(); } //TODO!
the TODO is not from me so its been already in mind to change it to something rational.
why not change it to SColorText() ?
Thanks. Actually, it should have been SColorInfoText. Now fixed.
Quote:
BTW: whats the matter with InvertColor? it is used in RichText and GridCtrl and in 2 places in Ctrl..
It is a sort of nasty hack - in DrawRect, in screen, this acts as inverting all image bits (instead setting them to color). Useful for painting selections...