Page 1 of 1

Customizable Selector

Posted: Sun Mar 15, 2015 8:59 pm
by Youlean
This is customizable selector that I made.
It should work OK.
It can't go above 1000 lines for some reason...

V1.1
Optimized for speed.. With stream loading selected, it loads 100000 lines on string in 2s on my machine... :D
It accepts unlimited size (if your PC can handle it)...
Hold CTRL for fine tuning.
Speeded up loading.

V1.11
Bug Fixes

V1.2
Improved sliders behavior
Removed "Stream" loading, now it loads it with green with same speed
Fixed selection dissapeer bug

Re: Customizable Selector

Posted: Sun Mar 15, 2015 10:21 pm
by RJHollins
wow ... there is some intense work that went inside that selector module. :shock:

First testing seems to be working well ... will experiment more.

Thanks!

8-)

Re: Customizable Selector

Posted: Mon Mar 16, 2015 12:45 am
by Perfect Human Interface
Whoaa, maybe use some more module structure in your schematics. :P

I like this kind of concept for a selector though. Nice work.

Re: Customizable Selector

Posted: Mon Mar 16, 2015 2:37 am
by Youlean
Thanks guys...

@PHI

Did you made this "Advanced Label" ?
Is there a possibility to edit the code to accept area so I can use it instead of default "Text Draw" primitive?
Yep, I am Ruby noob... :?

Re: Customizable Selector

Posted: Mon Mar 16, 2015 4:33 am
by TheOm
Youlean wrote: Did you made this "Advanced Label" ?
I made it. Here, I changed it for you:
text draw.fsm
(1.08 KiB) Downloaded 1291 times

Re: Customizable Selector

Posted: Mon Mar 16, 2015 7:08 am
by Perfect Human Interface
Hey Youlean
You need to trigger a redraw when the input values have changed. Also if you added an input to set the current selection that would be very useful. I'd do these things myself but I can't make much sense of your schematic haha.

Also there's a minor visual bug where the hover highlight doesn't disappear when you drag the mouse off the top of it.

Re: Customizable Selector

Posted: Tue Mar 17, 2015 5:55 pm
by Youlean
@TheOm

Thanks Om, this if very useful... BTW is there any way you can hack Ruby so we can use this rendering method for anything, like Smooth primitive?

@PHI

I have fixed this bug, and added input selection...