Page 3 of 4

Re: Mouse selection with picture

Posted: Wed Feb 19, 2014 12:28 am
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.

Re: Mouse selection with picture

Posted: Wed Feb 19, 2014 12:38 am
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

Re: Mouse selection with picture

Posted: Wed Feb 19, 2014 12:56 am
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

Re: Mouse selection with picture

Posted: Wed Feb 19, 2014 4:05 am
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:

Re: Mouse selection with picture

Posted: Wed Feb 19, 2014 6:26 pm
by rustyou
Thanks you guys,


And if i want open a news windows after to have clicked ? It's possible ?

Re: Mouse selection with picture

Posted: Wed Feb 19, 2014 6:41 pm
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,

Re: Mouse selection with picture

Posted: Wed Feb 19, 2014 11:52 pm
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.

Re: Mouse selection with picture

Posted: Thu Feb 20, 2014 1:15 pm
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

Re: Mouse selection with picture

Posted: Thu Feb 20, 2014 3:56 pm
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.

Re: Mouse selection with picture

Posted: Thu Feb 20, 2014 6:18 pm
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