Home » U++ Library support » Look and Chameleon Technology » Office Ribbon skin
Re: Any function to draw gradient color? [message #11783 is a reply to message #11752] |
Tue, 25 September 2007 19:56 |
piratalp
Messages: 26 Registered: September 2007 Location: Argentina
|
Promising Member |
|
|
luzr wrote on Mon, 24 September 2007 18:56 |
uxtheme.dll patch and e.g. try MacOSX theme for XP and investigate what happens to Office toolbars..
|
Ahh, now I understand, yes, I tried and it works ok, upp also reflects this change
Quote: |
Actually, I was rather thinking about generating the images by chameleon code. Resizing images is quite fast, maybe faster than e.g. generating gradients. BTW, in both WinXP and GTK chameleon code, this is quite used option, because very often the theming engine does not contain things we need - e.g. scrollbar buttons without arrows (so that you can put something else into them).
In those cases, we are using various heurestics applied on images to get reasonable results...
|
Yes I thought about that more than once but it will still force to static color images initialized when skin is changed, what if user wants to change palette? what about custom style for just one widget? While I think this now I also think that in any case the user (end programmer) will need to call a function to set the style and its a matter of returning an image instead a gradient.. not bad idea, I need to code it and see what happens...
Quote: |
Well, not really. It is still 4 Values for me...
But perhaps we are speaking about the same thing...
|
4 values are for chpaint background, but you also have textcolor[4] for buttons, and it should be in menuitems too or you will end with light text over light bg or dark text over dark bg..
Quote: |
Please, in order to make my stupid aging mind understand, what type you wanted to store into Value in this "WRONG" 4x4 attempt?
Mirek
|
Mirek, it's not what I was storing inside chameleon styles, it's what I was storing inside Palette, that was what complicated it all, I just changed Palette to store colors, not final Value for ChPaint, end style->Value holds exactly the same thing as before
Regards
|
|
|
|
|
Office Ribbon skin
By: mirek on Mon, 10 September 2007 19:15
|
|
|
Re: Any function to draw gradient color?
By: piratalp on Mon, 10 September 2007 20:33
|
|
|
Re: Any function to draw gradient color?
By: mirek on Mon, 10 September 2007 21:33
|
|
|
Re: Any function to draw gradient color?
By: piratalp on Tue, 11 September 2007 19:28
|
|
|
Re: Any function to draw gradient color?
By: mirek on Sat, 15 September 2007 10:30
|
|
|
Re: Any function to draw gradient color?
By: piratalp on Wed, 19 September 2007 20:58
|
|
|
Re: Any function to draw gradient color?
By: piratalp on Thu, 20 September 2007 00:25
|
|
|
Re: Any function to draw gradient color?
By: mirek on Sun, 23 September 2007 10:40
|
|
|
Re: Any function to draw gradient color?
By: mirek on Sun, 23 September 2007 10:41
|
|
|
Re: Any function to draw gradient color?
By: mirek on Sun, 23 September 2007 10:47
|
|
|
Re: Any function to draw gradient color?
By: piratalp on Mon, 24 September 2007 17:22
|
|
|
Re: Any function to draw gradient color?
By: mirek on Mon, 24 September 2007 19:29
|
|
|
Re: Any function to draw gradient color?
By: piratalp on Mon, 24 September 2007 21:19
|
|
|
Re: Any function to draw gradient color?
By: mirek on Mon, 24 September 2007 23:56
|
|
|
Re: Any function to draw gradient color?
By: piratalp on Tue, 25 September 2007 19:56
|
|
|
Re: Any function to draw gradient color?
By: mirek on Tue, 25 September 2007 23:00
|
|
|
Re: Office Ribbon Skin
By: piratalp on Wed, 26 September 2007 00:34
|
|
|
Re: Office Ribbon Skin
By: mirek on Wed, 26 September 2007 20:13
|
|
|
Re: Any function to draw gradient color?
By: Zardos on Mon, 10 September 2007 23:48
|
|
|
Re: Any function to draw gradient color?
By: unodgs on Tue, 11 September 2007 08:50
|
|
|
Re: Any function to draw gradient color?
By: piratalp on Tue, 11 September 2007 19:54
|
|
|
Re: Office Ribbon skin
By: sergei on Mon, 24 September 2007 02:51
|
|
|
Re: Office Ribbon skin
By: mirek on Mon, 24 September 2007 09:11
|
|
|
Re: Office Ribbon skin
By: piratalp on Mon, 24 September 2007 17:49
|
|
|
Re: Office Ribbon skin
By: sergei on Mon, 24 September 2007 19:28
|
|
|
Re: Office Ribbon skin
By: piratalp on Mon, 24 September 2007 21:05
|
|
|
Re: Office Ribbon skin
By: sergei on Mon, 24 September 2007 21:41
|
|
|
Re: Office Ribbon skin
By: piratalp on Tue, 25 September 2007 17:11
|
|
|
Re: Office Ribbon skin
By: sergei on Mon, 24 September 2007 23:59
|
|
|
Re: Office Ribbon skin
By: sergei on Tue, 25 September 2007 18:12
|
|
|
Re: Office Ribbon skin
By: piratalp on Wed, 26 September 2007 00:07
|
Goto Forum:
Current Time: Thu Mar 28 11:35:08 CET 2024
Total time taken to generate the page: 0.02689 seconds
|