Go Back   Cockos Incorporated Forums > Projects > Deprecated REAPER issue tracker > Feature Request

JS: enhanced GUIs (tabs, labels, all 64 Fx prms available) Issue Tools
issueid=1902 01-22-2010 06:30 AM
Mortal
JS: enhanced GUIs (tabs, labels, all 64 Fx prms available)
JS: enhanced GUIs (tabs, labels, all 64 Fx prms available)

The idea would be to allow JS coders to define tabs and labels in their GUIs thanks to 2 new keywords "tab" and "text" (or any better wording, of course).

Proposition:
Implementation example with those new JS keywords:
Code:
desc: Tab example
tab:Input
slider1:25<25,1000,1>Fake parameter 1
text:Some details about this parameter
slider2:0<0,3,1{A,B,C,D}>Fake parameter 2
slider3:1000<25,1000,1>Fake parameter 3
tab:Ouput
slider4:0<0,64,1>Fake parameter 4
slider5:0<0,3,1{A,B,C,D}>Fake parameter 5
slider6:64<0,64,1>Fake parameter 6
tab:Help
text:Tab example v0.1
text:
text:This line of help is very helpfull, bla blablabla blabla bla blablabla blabla
text:but this one is the most useful.
this code would create this GUI:



Remarks:
- not shown here, but sliders could be defined inside or outside tabs (e.g. specific or global parameter)
- this would indirectly allow displaying all the 64 available prms that can't be used right now even with large screen resolutions (see dedicated issue: http://forum.cockos.com/project.php?issueid=420). This is one way to access all the 64 slider while keeping the @gfx streching capability (contray to scrollbars)
- as shown above, this will indirectly allow to add some details about tricky parameters -and- to add help sections in the GUI (e.g. "Help" tab above)

Discussion thread:
http://forum.cockos.com/showthread.php?t=42745
Issue Details
Issue Type Feature Request
Project Deprecated REAPER issue tracker
Category GUI and graphics
Status Suggested
Priority 8
Suggested Version 3.2
Implemented Version (none)
Users who would use this feature 23
Users who would not use this feature 0
Assigned Users (none)
Tags (none)

12-08-2010 04:35 AM
Mortal
 
Bernstraw also made a very cool suggestion:
Quote:
Originally Posted by Bernstraw View Post
Also consider tab index :
Code:
tab1:Input
slider1:...
text:...
slider2:...
slider3:...
tab2:Ouput
slider4:...
slider5:...
... and a related variable : current_tab to read or set the current tab index :

* Synchronize your @gfx interface with the current tab.
(great to highlight graphics associated with the current tab's sliders)
Code:
current_tab==2 ? (/* draw @gfx interface associated with tab2 */);

* Set the current tab from the @gfx interface :
Code:
mouse_cap==2 ? current_tab=2;
Reply
Reply

Issue Tools
Subscribe to this issue

All times are GMT -7. The time now is 05:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.