From: Foster B. <fos...@us...> - 2006-01-24 19:39:18
|
Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/begin/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12473/adobe-source/adobe/test/begin/resources Modified Files: editor.eve msvc8.release.begin.exe.manifest Log Message: moved win/ directories to win32/ to anticipate a possible widgets port for WPF; added a 'mini-sheet' to Eve so you can save UI state information (what tab is currently selected) without mucking up your Adam model; started the modal_dialog_interface, an API that'll be used to direct a modal dialog interaction between the user and the application (it's still in its infancy); other misc bug fixes Index: msvc8.release.begin.exe.manifest =================================================================== RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/begin/resources/msvc8.release.begin.exe.manifest,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** msvc8.release.begin.exe.manifest 6 Jan 2006 18:03:01 -0000 1.2 --- msvc8.release.begin.exe.manifest 24 Jan 2006 19:38:50 -0000 1.3 *************** *** 25,30 **** name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='*' ! publicKeyToken='1fc8b3b9a1e18e3b' /> </dependentAssembly> </dependency> --- 25,32 ---- name='Microsoft.VC80.CRT' version='8.0.50608.0' + language="*" processorArchitecture='*' ! publicKeyToken='1fc8b3b9a1e18e3b' ! /> </dependentAssembly> </dependency> Index: editor.eve =================================================================== RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/begin/resources/editor.eve,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** editor.eve 6 Jan 2006 18:03:01 -0000 1.4 --- editor.eve 24 Jan 2006 19:38:50 -0000 1.5 *************** *** 5,68 **** */ ! dialog(name: "<xstr id='editor_dialog_title'>Editor</xstr>", size: @size_small, placement: place_column, grow: true, horizontal: align_fill, vertical: align_fill) { ! tab_group( bind: @tab_group_visible, vertical: align_fill, horizontal: align_fill, ! items: ! [ ! { name: "<xstr id='editor_tab_adam'>Adam</xstr>", value: @adam_stuff }, ! { name: "<xstr id='editor_tab_eve'>Eve</xstr>", value: @eve_stuff }, ! { name: "<xstr id='editor_tab_inspector'>Inspector</xstr>", value: @inspector_stuff }, ! { name: "<xstr id='editor_tab_results'>Results</xstr>", value: @results_stuff }, ! { name: "<xstr id='editor_tab_errors'>Errors</xstr>", value: @errors_stuff } ! ]) { ! panel(bind: @tab_group_visible, value: @adam_stuff) { ! edit_text(bind: @adam_expression, characters: 80, lines: 10, scrollable: true, monospaced: true, horizontal: align_fill, vertical: align_fill); ! ! row(vertical: align_bottom) { ! button(name: "<xstr id='editor_button_update'>Update</xstr>", bind: @adam_expression, action: @update_adam); ! button(name: "<xstr id='editor_button_save'>Save</xstr>", bind: @adam_expression, action: @save_adam); ! } ! } ! panel(bind: @tab_group_visible, value: @eve_stuff) ! { ! edit_text(bind: @eve_expression, characters: 80, lines: 10, scrollable: true, monospaced: true, horizontal: align_fill, vertical: align_fill); ! row(vertical: align_bottom) { ! button(name: "<xstr id='editor_button_update'>Update</xstr>", bind: @eve_expression, action: @update_eve); ! button(name: "<xstr id='editor_button_save'>Save</xstr>", bind: @eve_expression, action: @save_eve); } - } ! panel(bind: @tab_group_visible, value: @inspector_stuff) ! { ! row(vertical: align_top, horizontal: align_fill) { ! edit_text(bind: @inspector_expression, name: "<xstr id='editor_inspector_expression'>Expression:</xstr>", characters: 30, horizontal: align_fill); ! button( horizontal: align_right, ! items: [ ! { name: "<xstr id='editor_inspector_execute'>Execute</xstr>", bind: @inspector_expression, action: @inspector }, ! { name: "<xstr id='editor_inspector_dump'>Dump</xstr>", bind: @inspector_expression, action: @inspector_dump, modifiers: @opt }, ! { name: "<xstr id='editor_inspector_version'>Version</xstr>", bind: @inspector_expression, action: @version_info, modifiers: @cmd } ! ]); } - - edit_text(name: "<xstr id='editor_inspector_results'>Results:</xstr>", bind: @inspector_results, lines: 10, characters: 30, - scrollable: true, monospaced: true, vertical: align_fill, horizontal: align_fill); - } ! panel(bind: @tab_group_visible, value: @results_stuff) ! { ! edit_text(bind: @results_expression, characters: 80, lines: 10, scrollable: true, monospaced: true, horizontal: align_fill, vertical: align_fill); ! } ! panel(bind: @tab_group_visible, value: @errors_stuff) ! { ! edit_text(bind: @errors_expression, characters: 80, lines: 10, scrollable: true, monospaced: true, horizontal: align_fill, vertical: align_fill); } } ! } --- 5,72 ---- */ ! layout editor { ! view dialog( name: "<xstr id='editor_dialog_title'>Editor</xstr>", ! size: @size_small, placement: place_column, grow: true, horizontal: align_fill, vertical: align_fill) { ! tab_group( bind: @tab_group_visible, vertical: align_fill, horizontal: align_fill, ! items: ! [ ! { name: "<xstr id='editor_tab_adam'>Adam</xstr>", value: @adam_stuff }, ! { name: "<xstr id='editor_tab_eve'>Eve</xstr>", value: @eve_stuff }, ! { name: "<xstr id='editor_tab_inspector'>Inspector</xstr>", value: @inspector_stuff }, ! { name: "<xstr id='editor_tab_results'>Results</xstr>", value: @results_stuff }, ! { name: "<xstr id='editor_tab_errors'>Errors</xstr>", value: @errors_stuff } ! ]) { ! panel(bind: @tab_group_visible, value: @adam_stuff) { ! edit_text(bind: @adam_expression, characters: 80, lines: 10, scrollable: true, monospaced: true, horizontal: align_fill, vertical: align_fill); ! row(vertical: align_bottom) ! { ! button(name: "<xstr id='editor_button_update'>Update</xstr>", bind: @adam_expression, action: @update_adam); ! button(name: "<xstr id='editor_button_save'>Save</xstr>", bind: @adam_expression, action: @save_adam); ! } ! } ! panel(bind: @tab_group_visible, value: @eve_stuff) { ! edit_text(bind: @eve_expression, characters: 80, lines: 10, scrollable: true, monospaced: true, horizontal: align_fill, vertical: align_fill); ! ! row(vertical: align_bottom) ! { ! button(name: "<xstr id='editor_button_update'>Update</xstr>", bind: @eve_expression, action: @update_eve); ! button(name: "<xstr id='editor_button_save'>Save</xstr>", bind: @eve_expression, action: @save_eve); ! } } ! panel(bind: @tab_group_visible, value: @inspector_stuff) { ! row(vertical: align_top, horizontal: align_fill) ! { ! edit_text(bind: @inspector_expression, name: "<xstr id='editor_inspector_expression'>Expression:</xstr>", characters: 30, horizontal: align_fill); ! button( horizontal: align_right, ! items: [ ! { name: "<xstr id='editor_inspector_execute'>Execute</xstr>", bind: @inspector_expression, action: @inspector }, ! { name: "<xstr id='editor_inspector_dump'>Dump</xstr>", bind: @inspector_expression, action: @inspector_dump, modifiers: @opt }, ! { name: "<xstr id='editor_inspector_version'>Version</xstr>", bind: @inspector_expression, action: @version_info, modifiers: @cmd } ! ]); ! } ! ! edit_text(name: "<xstr id='editor_inspector_results'>Results:</xstr>", bind: @inspector_results, lines: 10, characters: 30, ! scrollable: true, monospaced: true, vertical: align_fill, horizontal: align_fill); } ! panel(bind: @tab_group_visible, value: @results_stuff) ! { ! edit_text(bind: @results_expression, characters: 80, lines: 10, scrollable: true, monospaced: true, horizontal: align_fill, vertical: align_fill); ! } ! panel(bind: @tab_group_visible, value: @errors_stuff) ! { ! edit_text(bind: @errors_expression, characters: 80, lines: 10, scrollable: true, monospaced: true, horizontal: align_fill, vertical: align_fill); ! } } } ! } \ No newline at end of file |