jiayouxjh / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Lua: menus to help navigate to scripts #379

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
By DawnBringer:

"And thinking more about Lua, Brush-factory and my "script-collecting". It 
would be very nice if some simple action-button could be implemented, it just 
has to excecute a function when clicked. Otherwise I guess things could be done 
with radio-buttons...not as nice but still.
If you look at my picture you get an idea whay I'm thinking about...scripts 
with buttons that runs other scripts."

Original issue reported on code.google.com by yrizoud on 2 Sep 2010 at 8:12

Attachments:

GoogleCodeExporter commented 9 years ago
My own remark: If the issue 378 is implemented, you already have similar 
ergonomy by navigating folders (but no choice for sorting the items, unless you 
name files "1_foo" "2_bar"...)

Original comment by yrizoud on 2 Sep 2010 at 8:14

GoogleCodeExporter commented 9 years ago
In this case I only wanted the action-buttons and then the user would 
write/organize his scripts in whatever fashion he likes. 

Actually, I have already implemented this system using radio-buttons. I noticed 
it's perfectly ok to add and address sub-directories, so I placed all my 
sub-scripts in a dedicated (and by default "hidden") drawer. The master-script 
that generates all prompts is the only one kept directly in the script drawer.

It's just that there can be so many clicks when you also have to press "ok" on 
each radiobutton-menu.

Original comment by annas...@hotmail.com on 2 Sep 2010 at 9:26

GoogleCodeExporter commented 9 years ago
Implemented in r1615 and r1616, function 'selectbox'

Original comment by yrizoud on 19 Nov 2010 at 7:45