Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving through a sepia color set, from dark to light ?
Message
De
31/05/2010 10:11:22
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
30/05/2010 12:00:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01466438
Message ID:
01466635
Vues:
94
>Hi Dragan,
>
>>This is what I use (with help of the rgbcomp() function from foxtools.fll):
>
>Thanks for dropping in and the input.
>
>At this stage I try to avoid dependancies as much as possible. Especially fll ones that alas do not fit well under molebox ultra at this time.

You can write your own as three one-liners:

GetRed=bitand(nColor, 255)

GetBlue=bitrshift(nColor, 16)

GetGreen=bitrshift(bitand(nColor, 0xff00), 8)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform