Old 06-01-2017, 10:11 AM   #1
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,184
Default Best cross platform GUI for trees like this

I'm struggling with the tree view UI for the control surface project I'm working on.

Starting to think it might be easier to do 2 UI's, one for Mac, one for Win.

Here's an approximation of what I'm looking for:

http://forum.cockos.com/attachment.p...1&d=1496336870

Actually a bit more complex, each node will have various controls attached, depending on context (dropdown, text entry, checkbox, etc.)

Any ideas on a cross platform toolkit that can do this relatively painlessly ?
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com

Last edited by Geoff Waddington; 04-04-2020 at 09:39 AM.
Geoff Waddington is offline   Reply With Quote
Old 06-01-2017, 11:21 AM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

I think you will probably need to do something pretty custom for that, no matter what framework you use.
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Xenakios is offline   Reply With Quote
Old 06-01-2017, 03:11 PM   #3
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Default

I think you said you ruled out JUCE anyway already for this project in another thread, but if not, maybe its ValueTree component would help ? (there's a simple demo of it in the Juce demo project).
nofish is offline   Reply With Quote
Old 06-01-2017, 03:22 PM   #4
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,184
Default

Quote:
Originally Posted by nofish View Post
I think you said you ruled out JUCE anyway already for this project in another thread, but if not, maybe its ValueTree component would help ? (there's a simple demo of it in the Juce demo project).
Thanks, yeah, JUCE is back on because of the ValueTree, it's the winner so far in the quest as far as cross platform contenders.
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com
Geoff Waddington is offline   Reply With Quote
Old 06-01-2017, 03:29 PM   #5
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

Quote:
Originally Posted by Geoff Waddington View Post
Thanks, yeah, JUCE is back on because of the ValueTree, it's the winner so far in the quest as far as cross platform contenders.
ValueTree isn't a GUI component though...You will need to implement the visualization and editing of that yourself.
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Xenakios is offline   Reply With Quote
Old 06-01-2017, 03:43 PM   #6
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,184
Default

Quote:
Originally Posted by Xenakios View Post
ValueTree isn't a GUI component though...You will need to implement the visualization and editing of that yourself.
Yes I meant the ValueTree demo, that GUI is a nice example to start from. has drag and drop and some other goodies already.

Seem to recall there is a constructor somewhere that I have to override to generate the GUI components for a node, still researching...
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com
Geoff Waddington is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:45 PM.


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