U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Look and Chameleon Technology » Office Ribbon skin
Re: Any function to draw gradient color? [message #11640 is a reply to message #11479] Thu, 20 September 2007 00:25 Go to previous messageGo to previous message
piratalp is currently offline  piratalp
Messages: 26
Registered: September 2007
Location: Argentina
Promising Member
Quote:


Quote:


It may introduce some questions however, like "Do we preserve SColor*() functions or change all skins to be drawn using global Chameleon palette?"



SColor is meant to be the global chameleion palette Smile



I know, but it is far from being complete for color-intensive skins like Office 2003 (aka .Net 2.0) and Ribbon skins, that's why I created ChPalette, similar to ProffesionalColorTable in .NET, I need 4 colors to make each gradient in each state of each widget, so ChPalette has Value Button, Value ButtonHighlight, Value ButtonPressed, Value ButtonDisabled and so on, each of these hold values managed by themes themselves, I store ChGradients (the 4-color gradients I stated above plus Border color)

Quote:


Chameleonized. Basically, PaintRect for SetBackground should be replaced by Value IMO. (Maybe we should add emulation of PaintRect too).



Good to agree Smile

[quote title=Quote:]
Yes. The missing chameleonization is not because of fear, but lack of time, in fact, because of priorities. In recent round, we got to state when U++ +/- matched Firefox and Openoffice in its capability of using host platform appearance. That was enough for that step, there are more important things for core team to deal with now.

Quote:


BTW, speaking about it, it looks like you understand the whole issue pretty well. What about writing something (e.g. short tutorial) about chameleon? We desperately miss docs...



Ok I need to finish ribbon skin first, then I'll see if I make some tuto.. Wink

Regards
 
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
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
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: progress bar not chameleonized
Next Topic: How can I change the background color of my Upp app?
Goto Forum:
  


Current Time: Sat Sep 12 01:10:01 GMT+2 2026

Total time taken to generate the page: 0.01001 seconds