OnScreen GUI Toolkit
-
DOH!!!
edit:
Ok now how to use it. I have played around a bit with the testGUI.rb trying to figure out how to get the value from the widget. The slider example seems to emply that variable value should be the current value of the slider but it contains something like "pos(84.0,19.0,-1.0)flags0".
-
That's a bug! (the raw data of the event and where the slider was clicked)
-
Thank you for sharing this! I want to revamp SU2KT when time permits.
I will report if I find any bugs. -
I don't even know how to call this coincidence maybe a kind of synchronicity... I mean a few weeks ago the idea to make custom UI library based on view.draw method suddenly came to my mind. And I even started to code it Actually I needed a kind of adjustment curve editing control for one of my tools and since I didn't find any javascript ready made widget I decided to make my own control based on view.draw...
I think it would be interesting to take a look at the result in a video: http://youtu.be/QLfI1McLMa0?hd=1 (skip to 1:08 to view 'Control Curve' window).
In short, now I think there is no need to continue coding my own library since OnScreen GUI Toolkit is already exist . I'll try to adapt 'Control Curve' control in it and post result here if you don't mind.
Thanks for sharing your library -
That looks cool!
This toolkit is in early development and it's possible that there will be soon bigger changes in the architecture of the underlying code.
Dialogs like yours don't exist yet at all, one would have to create a new Dialog class as subclass of Container and then create the dialog titlebar, close buttons etc. maybe border resizing... -
Ok, I uploaded my code for the RGB color picker. I'm sure there is lots of optimization that could be done. And its just wrapped in a class. As this development kit keeps improving and adding, maybe the RGB picker could get incorporated into it as well.
http://forums.sketchucation.com/viewtopic.php?f=180&t=47808
Chris
-
Cool! It'd be really nice to see a unified framework here. We're clearly re-inventing each others work.
I have code that reads BMP files and let you draw it - but it's terrible slow. -
with this would it be possible to create a dialog that allows the user to enter a number?
(google translator)
-
Possibly, but it would not be ideal.
I also haven't yet got time to finalize this, but I might be able to finish it in future. -
Has everyone else seen this one?
http://sketchucation.com/forums/viewtopic.php?f=323&t=41982&start=45#p406363
it is in the other thread but thought it was easier to ask about if it's here...http://www.youtube.com/watch?v=KyqnTqqCO38
is it the same concept?
john -
I would like to do this, to make a inputbox made with OpenGL, could you please show an example of how to do this?
Advertisement