Mouse selection with picture

For general discussion related FlowStone
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Mouse selection with picture

Post by billv »

rustyou wrote: if i to want changed the color of guitar logo

Guitar logo is using ruby to draw.
So if you want to use the ruby method, you got to bring all that "math"
from the "hue/sat/brightness" module, and the matrix prim as well,
into the ruby draw method.
Otherwise, change back to green draw transform prim.
Jay
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: Mouse selection with picture

Post by Jay »

heres how i would do it! non ruby! i chopped out that ruby code as it acts like a pain in the arse on my machine! :lol:
test color buttoninvisible.fsm
(158.25 KiB) Downloaded 1042 times
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Mouse selection with picture

Post by billv »

Jay wrote: ruby code as it acts like a pain in the arse on my machine!

:lol: :lol: :lol: Ruby is a bitch isn't she?..a Sexy appealing bitch...but still a bitch..! :D
Jay
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: Mouse selection with picture

Post by Jay »

lol yeah Billv, sometimes its wonderfull and other times it is so frustrating!

in this instance it was making view data pass through green bool connections between modules, i even rebooted thinking my rig was playing up but it was still doing it until i removed the ruby part! lol quite strange! :lol:
rustyou
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Post by rustyou »

Thanks you guys,


And if i want open a news windows after to have clicked ? It's possible ?
rustyou
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Post by rustyou »

Oh look, it's good now.


But i would like that my windows close just after click in the windows and no with the button OK.


What the solution ?

Thanks,
Attachments
Logo.fsm
(139.55 KiB) Downloaded 974 times
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Mouse selection with picture

Post by billv »

rustyou wrote:But i would like that my windows close just after click in the windows and no with the button OK.

You want to close the msg box without hitting the ok btn..? Is that right..?
can't see it happening....looks like the only way to close msg box is via direct interaction.
One solution is to make your own msg box/pop-up and auto-close it with a timer.
rustyou
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Post by rustyou »

hi !



Yes i want close the box with the btn right of the mouse. No with the btn OK. I do not want to see ok button.

or with a timer is possible ........?


(i want a box with picture and text to Inside)

Thanks billv
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Mouse selection with picture

Post by billv »

rustyou wrote: No with the btn OK. I do not want to see ok button.

'Ok' btn appears by default. You can change the the type..but thats it.
So you got to use it, or custom build your own msg box/pop-up to suit what you need.
The changing picture fsm we already did, can easily be used as a msg box.

Just remove the first picture,
so when your btn is false, you see nothing...
and when your btn is true...you see 2nd module(stick your pic + text in that)

Another bonus is that you can position your custom box anywhere you want, whereas
with FS prim your stuck in the middle of the screen.

Hope this helps.
rustyou
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Post by rustyou »

ok, but i don't understand...


In my exemple i have need of closed my box just to cliked on the font of this news windows.

No on the btn OK.

I want a box who this close with the right clik of the mouse and to can added a text en picture inside of the box.

you have an example ?

Thanks you
Attachments
Logo.fsm
(139.54 KiB) Downloaded 935 times
Post Reply