[hopefully pulling the colors brought this down to the size limit]
Bringing up an old topic . . .
I got interrupted after asking, but here's a cute way to do it.
Hopefully, someone can help with a couple of the deficiencies of this
script:
1) backgroundPixel no longer works. Older examples to
There's no reason that Windows can not render a graphic or color equal to
that of a Mac. Video card capabilities do have relevance however.
On Sep 20, 2016 6:44 PM, "Bob Sneidar" wrote:
> Lots of graphic affects on Macs, but Win seems to lack some of that
>
Lots of graphic affects on Macs, but Win seems to lack some of that
functionality. I will put something in front of the background, like a grapic
object, then change the opacity of the graphic object. Makes selecting things
with a mouse lasso impossible tho'
Bob S
> On Sep 10, 2016, at 15:00
On 9/10/16 5:00 PM, Dr. Hawkins wrote:
Is there a way to "lighten" a color.
This showed up on the list some time ago:
function lightenColor origColor
try
repeat with i = 1 to 3
add 50 to item i of origColor
if item i of origColor > 255 then put 255 into item i of origColor
Here's a tint function from way back. pRGB is an RGB triplet, pValue is a
decimal percent value for the desired tint of the color.
function colorTint pRGB, pValue
-- pRGB is RGB triplet
-- pValue is between 0 and 1
put pRGB into theTint
repeat with N = 1 to 3
put item N of pRGB
Yet another option could be to set the ink of the object to "blendLighten".
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Since white in the rgb space is made by adding max value of all three primary
colours, and getting the colour will give you a list of numerical values in the
form of 255,0,0 for maximum red, 0,255,0 for maximum green and 0,0,255 for
maximum blue, you can always change any of these values to
Have you considered just changing the border color
of the object? If you made the border wider, and then
changed the color a little that might be the best way
to indicate to the user that they are using a different
selection. It would certainly be a lot easier than
changing the color of the
I am adding the ability to have multiple clients open, and want to use
colors as a cue.
Is there a way to "lighten" a color. That is (I suppose), to grab the
numeric representation, and convert that to a much paler shade of the color?
--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462