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.