Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/begin/examples
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8667/adobe/test/begin/examples
Added Files:
alert.adm alert.eve stop.tga
Log Message:
image_t (icons and pictures) support for Mac and Win32, along with a GIL image factory and a (sample) Targa file format importing module for that factory. Also added alert.adm/eve as a sample for the icon support. Added the notion of a working directory to the modal dialog interface to reference external resources. Also added an alert API that leverages modal_dialog_interface. Other misc. bug fixes and changes.
--- NEW FILE: alert.adm ---
/*
Copyright 2005-2006 Adobe Systems Incorporated
Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
or a copy at http://opensource.adobe.com/licenses.html)
*/
sheet alert_dialog
{
output:
result <== { dummy_value: 42 };
}
--- NEW FILE: stop.tga ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: alert.eve ---
/*
Copyright 2005-2006 Adobe Systems Incorporated
Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
or a copy at http://opensource.adobe.com/licenses.html)
*/
layout alert_dialog
{
view dialog(name: "Alert", placement: place_row)
{
image(image: "stop.tga");
column(vertical: align_fill)
{
static_text(name: "Unfortunately, something drastic has happened. If you would like we can try to continue with the operation, but there is a chance you will blow up your computer. Would you like to try?", characters: 25);
row(vertical: align_bottom, horizontal: align_right)
{
button(name: "Cancel", action: @cancel, cancel: true);
button(name: "OK", bind: @result, action: @ok, default: true);
}
}
}
}
|