is there a simple way to build a simple menu script that has buttons, text inputs, and drop down menus
or even an example layout for one??
the image below is what i would like to do
Untitled.png 8.04K 23 downloads
Posted 02 October 2014 - 10:05 PM
is there a simple way to build a simple menu script that has buttons, text inputs, and drop down menus
or even an example layout for one??
the image below is what i would like to do
Untitled.png 8.04K 23 downloads
Posted 03 October 2014 - 07:46 AM
What you want is certainly possible to do, but unfortunately, it's not easy with the current primitives supplied by Windower 4.
You can use primitives and text objects to draw the UI. You can also subscribe to mouse events for detecting clicks on the buttons, and keyboard events for typing in the text box, but there is no built-in mechanism for handling focus, z-order, or any of the other things needed for a proper UI toolkit. In addition, because inter-addon communication is very limited, if multiple addons start trying to render complex UIs things get messy.
But this is possible. Here's a video of an addon that was recently published on the Windower Dev update stream, just to prove that it can be done.
Posted 03 October 2014 - 04:27 PM
wow thats nice
0 members, 1 guests, 0 anonymous users