home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd2.bin / program / reader / Data1.cab / Escript.CZE / EXVW / 6600 < prev   
Text File  |  2003-07-19  |  4KB  |  102 lines

  1. nButtons = 6;
  2. buttonSize = 22;
  3. buttonSizeSmall = 16;
  4. buttonSpace = 11;
  5. palleteFont = 2;
  6.  
  7. allButtonsWidth = nButtons * (buttonSize + buttonSpace) - buttonSpace;
  8. topListsHeight = gEditTextHeight * 2;
  9. bottomListsHeight = gEditTextHeight * 8;
  10.  
  11. dialog(name: '$$$/Dialogs/JSDebugger/Title')
  12. {
  13.     view(align_children: align_left)
  14.     {
  15.         view(align_children: align_top)
  16.         {
  17.             view(align_children: align_left)
  18.             {
  19.                 view(align_children: align_row)
  20.                 {
  21.                     button(item_id: 'btn1', picture: true, height: buttonSize, width: buttonSize);
  22.                     button(item_id: 'btn2', picture: true, height: buttonSize, width: buttonSize);
  23.                     button(item_id: 'btn3', picture: true, height: buttonSize, width: buttonSize);
  24.                     button(item_id: 'btn4', picture: true, height: buttonSize, width: buttonSize);
  25.                     button(item_id: 'btn5', picture: true, height: buttonSize, width: buttonSize);
  26.                     button(item_id: 'btn6', picture: true, height: buttonSize, width: buttonSize);
  27.                 }
  28.                  cluster(item_id: 'ctx3', name: '$$$/Dialogs/JSDebugger/Scripts')
  29.                 {
  30.                     hier_list_box(item_id: 'name', width: max_char_width() * 16, height: topListsHeight);
  31.                 }
  32.             }
  33.             view(align_children: align_left)
  34.             {
  35.                 view(align_children: align_row)
  36.                 {
  37.                     static_text(item_id: 'txt1', name: '$$$/Dialogs/JSDebugger/Stack', font_id: palleteFont);
  38.                     popup(item_id: 'stck', width: max_char_width() * 6, height: gEditTextHeight, font_id: palleteFont);
  39.                 }
  40.                  cluster(item_id: 'ctx1', name: '$$$/Dialogs/JSDebugger/Options', align_children: align_right)
  41.                 {
  42.                     view(align_children: align_offscreen)
  43.                     {
  44.                         popup(item_id: 'optn', width: max_char_width() * 8, height: gEditTextHeight, font_id: palleteFont);
  45.                         view(align_children: align_left)
  46.                         {
  47.                             hier_list_box(item_id: 'this', width: allButtonsWidth, height: topListsHeight);
  48.                         }
  49.                         view(align_children: align_left)
  50.                         {
  51.                             hier_list_box(item_id: 'scop', width: allButtonsWidth, height: topListsHeight);
  52.                         }
  53.                         view(align_children: align_left)
  54.                         {
  55.                             hier_list_box(item_id: 'wtch', width: allButtonsWidth, height: topListsHeight);
  56.                         }
  57.                         view(align_children: align_left)
  58.                         {
  59.                             hier_list_box(item_id: 'bkps', width: allButtonsWidth, height: topListsHeight);
  60.                         }
  61.                     }
  62.                     view(align_children: align_row)
  63.                     {
  64.                         button(item_id: 'btn9', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
  65.                         button(item_id: 'bt10', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
  66.                         button(item_id: 'bt11', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
  67.                     }
  68.                 }
  69.             }
  70.         }
  71.         view(align_children: align_left)
  72.         {
  73.              cluster(item_id: 'ctx2', name: '$$$/Dialogs/JSDebugger/View', align_children: align_right)
  74.             {
  75.                 view(align_children: align_offscreen)
  76.                 {
  77.                     popup(item_id: 'view', height: gEditTextHeight, font_id: palleteFont);
  78.                     view(align_children: align_left)
  79.                     {
  80.                         list_box(item_id: 'scpt', height: bottomListsHeight, width: 2*allButtonsWidth, font_id: 9);
  81.                     }
  82.                     view(align_children: align_left)
  83.                     {
  84.                         edit_text(item_id: 'cnsl', height: bottomListsHeight, width: 2*allButtonsWidth, multiline: true, font_id: 9);
  85.                     }
  86.                     static_text(item_id: 'txt4');
  87.                 }
  88.                 view(align_children: align_row)
  89.                 {
  90.                     button(item_id: 'bt12', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
  91.                     button(item_id: 'bt13', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
  92.                 }
  93.                 view(align_children: align_row)
  94.                 {
  95.                     button(item_id: 'bt15', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
  96.                     button(item_id: 'bt14', picture: true, height: buttonSizeSmall, width: 4+buttonSizeSmall);
  97.                 }
  98.             }
  99.         }
  100.     }
  101. }
  102.