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 » Chameleon again
Re: Chameleon again [message #24478 is a reply to message #24474] Mon, 18 January 2010 23:23 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
andrei_natanael wrote on Mon, 18 January 2010 14:20

Quote:

This System skins are not images and do not have hot spots. It is more like "take this are and please fill it with the look of widget X in state Y". It is a lot more complicated than this. And there was probably a healthy amount of guess work and trial and error involved until look under Windows got as good as it is now.
Isn't simple and also portable to ignore hotspots at all?
I mean, if we use system paint (DrawBackgroundTheme and gtk



But we do use DrawBackgroundTheme!

ChWin32.cpp, line 113

Chameleon is flexible enought to do that.

Hotspots are just possible solutions, when Value of background is Image. E.g. if you want do define your own skin. Or in Gtk, where in fact, DrawBackgroundTheme equivalent is not available.

Hotspots are just option. If we have a better API, like in Win32, there is no problem to use it.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FEATURE_REQUEST: SliderCtrl to have WhenClick
Next Topic: upp-x11-src-1965.tar.gz and compiling under Debian Lenny
Goto Forum:
  


Current Time: Sun May 05 12:43:13 CEST 2024

Total time taken to generate the page: 0.02808 seconds