Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any ideas how to do these UI features?
Message
De
06/09/2005 12:58:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01046660
Message ID:
01047073
Vues:
11
Hi Christof,

PMJI, Since with the RGB color model there are 16 million colors and only just over 3.5 million color choices with the HSL color model, why choose HSL over RGB? Some different RGB color values share the same HSL value due to conversion. For example, RGB(178,34,34) and RGB(179,34,34) and RGB(180,34,34).

>Hi Mike,
>
>What Windows XP does is changing the colors. XP can do this on a much better global level than we can in a VFP application. However, the idea would be the same. Basically, you need to loop through all your objects and change all color properties. To get the desired effect you need to work with HSL color codes instead of RGB (expand the GetColor dialog to see what I mean). To turn a color into gray you steadily reduce the saturation (text box in the middle) to 0.
>
>The older Windows effect is easier to achieve. Basically it's an image where one pixel is black and one transparent.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform