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 » MenuItem Chameleon bug report & question
MenuItem Chameleon bug report & question [message #8757] Thu, 29 March 2007 13:32 Go to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Good morning.

First the bug report:
I've applyed a simple style (just an image) to MenuBar::Style.item, but the first time the menu is opened the style is not used. Once the menu is closed and reopened the style is correctly used. From stepping through the code it seems the style hasn't yet been assigned to the MenuItem the first time it is painted.
Tested on XP against 2007.rc3, example attached.

Now for a couple of questions:
1) How far is Chameleon going to be extended? Currently it does not go far enough to allow creating a custom skin for an application (think WinAmp) without reproducing lots of widgets and Paint code.

For instance, MenuBar::Style allows you to change the appearance of an item only when it is highlighted, and even this is limited because you can't control the colour of the text (which changes to white on XP) and becomes unreadable on some backrounds (as in the attached example).

Will Chameleon only be extended far enough to match native appearance, or will all Upp widget Paint code eventually be dependant on it?

2) Is it currently possible to override the colours that Upp reads from the OS (such as ColorLight) at run-time? I think the answer is no, but it would be very handy if you could.

Otherwise Chameleon is a very nice interface, the use of stretchable images in particular is really, really cool. Smile
Cheers.

  • Attachment: SkinTest.zip
    (Size: 5.38KB, Downloaded 498 times)
 
Read Message
Read Message
Read Message
Previous Topic: Chameleon themes
Next Topic: Styles and Widgets
Goto Forum:
  


Current Time: Thu Apr 25 00:27:01 CEST 2024

Total time taken to generate the page: 0.02306 seconds