So, we have simple .eve and .adam files compiled by ASL , and all this is required for boost and adobe . We need a cross-platform function to make our layout visualized and moveable like a real window on our platform (we need this for Mac OS X, Windows, Linux). How to do it?
We started to try to simplify some of the tutorials that we found in the ASL ( begin ) folder, and got some results you can see here . But our approach is not cross-platform or in any way eazy for get = (So, we ask your halp how to display a simple window with the ok button defined by the adam and eve files?
Here is an example of simple Adam files and simple eve
layout my_dialog { view dialog(name: localize(\"<xstr id='my_dialog_name'>My Dialog</xstr>\")) { slider(bind: @my_value, format: {first: 0, last: 100}); edit_number(name: 'Value:', bind: @my_value, format: '#', alt: 'Alters the value of the slider'); button (items: [ { name: localize(\"<xstr id='ok'>OK</xstr>\"), action: @ok, bind: @result, alt: 'Perform the command with the current settings' }, { name: localize(\"<xstr id='reset'>Reset</xstr>\"), action: @reset, modifiers: @opt, alt: 'Reset the dialog settings' } ]); } }
sheet my_sheet { interface: my_value: 42; output: result <== { value: my_value }; }
which should create such a window in the windows:

Please, help.
Rella
source share