Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Look and Chameleon Technology » Style: DefaultInk / default
Style: DefaultInk / default [message #27244] Wed, 07 July 2010 16:31 Go to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
hi there

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 Smile so its been already in mind to change it to something rational.

why not change it to SColorText() ?

BTW: whats the matter with InvertColor? it is used in RichText and GridCtrl and in 2 places in Ctrl..



 
Read Message
Read Message
Read Message
Previous Topic: Easiest way to change button color
Next Topic: Question to UPP developers: the issue with windows rendering (Windows XP)
Goto Forum:
  


Current Time: Tue Apr 16 23:24:22 CEST 2024

Total time taken to generate the page: 0.03111 seconds