So We have simple .eve
and .adam
files, compiled ASL, and all includes required for boost
and adobe
. We need a crossplatform function to make our layout rendered, and movable as real window on our platform (we need it for Mac OS X, Windows, Linux). How to do such thing?
We have started trying to move in direction of simplifiing some tutorials we found in ASL folder (begin
) and got some results you can see here. But our approach is not crossplatform or any way eazy to get=( So we ask for your halp in getting how to display a simple window with ok button defined by adam and eve files?
Here is example of simple Adam and simple eve files
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 };
}
that shall generate a window like this on windows:
Please help.