Home » U++ Library support » Look and Chameleon Technology » Office Ribbon skin
Re: Office Ribbon skin [message #11777 is a reply to message #11750] |
Tue, 25 September 2007 17:11 |
piratalp
Messages: 26 Registered: September 2007 Location: Argentina
|
Promising Member |
|
|
sergei wrote on Mon, 24 September 2007 16:41 |
I see that you took a different approach from what I've assumed. With gimp you're just hardcoding the palettes for the themes, right? I thought you found a transformation from system colors to professionalcolortable-like palette. With such a transformation themes could be converted to palettes.
|
Yes, no.. both
Ribbon skin works with any combination of colors, the skin itself is only the code needed to render widgets, on the other side there is palette, ribbon skin can work with ANY palette, and of course, it can use actual system colors, the problem is how to get those colors? well, currently I just make some blend hackery on current SColor*() palette, as it may change from system to system and from skin to skin.. so ribbon will render fine with any combination of colors currently assigned, it does not rely on ProfessionalColorTable nor windoze internals, in fact, ribbon knows NOTHING about what palette is using, that's managed by lowlevel upp subsystems that assign SColor*() values (win32 part could fill them from ProfessionalColorTable but that's out of my field..) and application developers (you can manually set any palette you want, already bundled or created by your own)
Hope this answers your question, yes, I'm now hardcoding Office 2007 Blue palette into ONE FUNCTION that will assign these values to a palette:
void ChOffice2007Blue(ChPalette &p)
{
p.FaceLight = Color(...
p.FaceMedium = Color(...
p.FaceNormal = Color(...
p.FaceDark = Color(...
// and so on..
}
But this does NOT mean that ribbon will use just these values, there will be as many palettes as.. we want
Bests
|
|
|
|
|
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: Sat Apr 27 00:22:46 CEST 2024
Total time taken to generate the page: 0.06526 seconds
|