Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Mouse selection with picture

For general discussion related FlowStone

Re: Mouse selection with picture

Postby billv » Wed Feb 19, 2014 12:28 am

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.
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Mouse selection with picture

Postby Jay » Wed Feb 19, 2014 12:38 am

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 865 times
Jay
 
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: Mouse selection with picture

Postby billv » Wed Feb 19, 2014 12:56 am

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
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Mouse selection with picture

Postby Jay » Wed Feb 19, 2014 4:05 am

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:
Jay
 
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: Mouse selection with picture

Postby rustyou » Wed Feb 19, 2014 6:26 pm

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

Postby rustyou » Wed Feb 19, 2014 6:41 pm

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 825 times
rustyou
 
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Postby billv » Wed Feb 19, 2014 11:52 pm

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.
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Mouse selection with picture

Postby rustyou » Thu Feb 20, 2014 1:15 pm

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
rustyou
 
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Postby billv » Thu Feb 20, 2014 3:56 pm

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.
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Mouse selection with picture

Postby rustyou » Thu Feb 20, 2014 6:18 pm

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 794 times
rustyou
 
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

PreviousNext

Return to General

Who is online

Users browsing this forum: tulamide and 75 guests