home *** CD-ROM | disk | FTP | other *** search
- nButtons = 6;
- buttonSize = 22;
- buttonSizeSmall = 16;
- buttonSpace = 11;
- palleteFont = 2;
-
- allButtonsWidth = nButtons * (buttonSize + buttonSpace) - buttonSpace;
- topListsHeight = gEditTextHeight * 2;
- bottomListsHeight = gEditTextHeight * 8;
-
- dialog(name: '$$$/Dialogs/JSDebugger/Title')
- {
- view(align_children: align_left)
- {
- view(align_children: align_top)
- {
- view(align_children: align_left)
- {
- view(align_children: align_row)
- {
- button(item_id: 'btn1', picture: true, height: buttonSize, width: buttonSize);
- button(item_id: 'btn2', picture: true, height: buttonSize, width: buttonSize);
- button(item_id: 'btn3', picture: true, height: buttonSize, width: buttonSize);
- button(item_id: 'btn4', picture: true, height: buttonSize, width: buttonSize);
- button(item_id: 'btn5', picture: true, height: buttonSize, width: buttonSize);
- button(item_id: 'btn6', picture: true, height: buttonSize, width: buttonSize);
- }
- cluster(item_id: 'ctx3', name: '$$$/Dialogs/JSDebugger/Scripts')
- {
- hier_list_box(item_id: 'name', width: max_char_width() * 16, height: topListsHeight);
- }
- }
- view(align_children: align_left)
- {
- view(align_children: align_row)
- {
- static_text(item_id: 'txt1', name: '$$$/Dialogs/JSDebugger/Stack', font_id: palleteFont);
- popup(item_id: 'stck', width: max_char_width() * 6, height: gEditTextHeight, font_id: palleteFont);
- }
- cluster(item_id: 'ctx1', name: '$$$/Dialogs/JSDebugger/Options', align_children: align_right)
- {
- view(align_children: align_offscreen)
- {
- popup(item_id: 'optn', width: max_char_width() * 8, height: gEditTextHeight, font_id: palleteFont);
- view(align_children: align_left)
- {
- hier_list_box(item_id: 'this', width: allButtonsWidth, height: topListsHeight);
- }
- view(align_children: align_left)
- {
- hier_list_box(item_id: 'scop', width: allButtonsWidth, height: topListsHeight);
- }
- view(align_children: align_left)
- {
- hier_list_box(item_id: 'wtch', width: allButtonsWidth, height: topListsHeight);
- }
- view(align_children: align_left)
- {
- hier_list_box(item_id: 'bkps', width: allButtonsWidth, height: topListsHeight);
- }
- }
- view(align_children: align_row)
- {
- button(item_id: 'btn9', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
- button(item_id: 'bt10', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
- button(item_id: 'bt11', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
- }
- }
- }
- }
- view(align_children: align_left)
- {
- cluster(item_id: 'ctx2', name: '$$$/Dialogs/JSDebugger/View', align_children: align_right)
- {
- view(align_children: align_offscreen)
- {
- popup(item_id: 'view', height: gEditTextHeight, font_id: palleteFont);
- view(align_children: align_left)
- {
- list_box(item_id: 'scpt', height: bottomListsHeight, width: 2*allButtonsWidth, font_id: 9);
- }
- view(align_children: align_left)
- {
- edit_text(item_id: 'cnsl', height: bottomListsHeight, width: 2*allButtonsWidth, multiline: true, font_id: 9);
- }
- static_text(item_id: 'txt4');
- }
- view(align_children: align_row)
- {
- button(item_id: 'bt12', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
- button(item_id: 'bt13', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
- }
- view(align_children: align_row)
- {
- button(item_id: 'bt15', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
- button(item_id: 'bt14', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
- }
- }
- }
- }
- }
-