Graphics Bug

Discussion about LiveCode Global Jam events and activities

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Locked
netdzynr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 62
Joined: Sat Apr 08, 2006 6:04 am
Contact:

Graphics Bug

Post by netdzynr » Fri May 23, 2014 10:50 am

On OS X 7dp4, the "spread" property of InnerShadow and InnerGlow graphic effects operates in the wrong direction -- increasing the spread value causes the the glow effect to move outward, away from the center of the graphic, instead of moving inward toward the center.

The "size" setting of both effects was fixed a ways back and works correctly.

benjibeaumont
Livecode Staff Member
Livecode Staff Member
Posts: 53
Joined: Tue Jun 03, 2008 10:31 am

Re: Graphics Bug

Post by benjibeaumont » Fri May 23, 2014 11:05 am

Hi Scott,

Thanks for this. I've reported it as a bug here:

http://quality.runrev.com/show_bug.cgi?id=12483

It looks like in the rush to fix other bugs we introduced this. Should be an easy fix and sorted today.

Warm regards,

Ben
Ben Beaumont | Runtime Revolution

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Graphics Bug

Post by capellan » Fri May 23, 2014 4:02 pm

Just for curiosity,
How could I change the color of innerGlow and outerglow?

I have not found a way to change this, so it's always black.
Last edited by capellan on Thu Sep 20, 2018 6:39 pm, edited 1 time in total.

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Graphics Bug

Post by LCNeil » Fri May 23, 2014 4:10 pm

Hi Capellan,

The properties of the various graphics effects are stored as arrays. If you wish to change the color of the "outer glow" of a button your would have to use something like the following-

Code: Select all

set the outerGlow[color] of button "myButton" to blue
Kind Regards,


Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: Graphics Bug

Post by Simon » Fri May 23, 2014 5:27 pm

Hi Capellan,
I got hit by this one as well.
Not sure if it's the same problem as you are having but just clicking the tick box is not enough (odd UI) you have to highlight the line (click the words) to get the color selection to come up.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Graphics Bug

Post by capellan » Fri May 23, 2014 7:01 pm

Simon wrote: Not sure if it's the same problem as you are having but just clicking the tick box is not enough (odd UI) you have to highlight the line (click the words) to get the color selection to come up.
Oh. This works!
Many Thanks.

:D

goharika
Posts: 4
Joined: Fri Oct 03, 2014 12:40 pm

Re: Graphics Bug

Post by goharika » Tue Sep 22, 2015 6:48 pm

Hi I need to know how you are removing grafic effect.
For example I am checking statement and if it is right I am setting outer glow, and want to remove this effect in else statement. How?

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3975
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Graphics Bug

Post by bn » Tue Sep 22, 2015 7:23 pm

Hi goharika,

welcome to the forum

try

Code: Select all

 set the outerglow of grc "myName" to empty
Kind regards
Bernd

netdzynr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 62
Joined: Sat Apr 08, 2006 6:04 am
Contact:

Re: Graphics Bug

Post by netdzynr » Tue Sep 22, 2015 7:24 pm

goharika wrote:Hi I need to know how you are removing grafic effect.
For example I am checking statement and if it is right I am setting outer glow, and want to remove this effect in else statement. How?
set the outerGlow of graphic 1 to empty

Klaus
Posts: 13793
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Graphics Bug

Post by Klaus » Wed Sep 23, 2015 1:03 pm

LCNeil wrote:

Code: Select all

set the outerGlow[color] of button "myButton" to blue
Hmmm. the engine is less forgiving with every new release, so we better use the official syntax:

Code: Select all

set the outerGlow["color"] of button "myButton" to blue
8)

Locked

Return to “LiveCode Global Jam”