home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 September (Special) / Chip-Special_2004-09_Digitalni-Hudba.bin / servis / reader / Data1.cab / Multimedia.api / EXVW / 10017 < prev    next >
Text File  |  2003-07-17  |  4KB  |  82 lines

  1. gRendBtnsWidth            = zstring_width( zstring: '$$$/Dialogs/Multimedia/EditScreenAnnot/Create' ) + 
  2.                           zstring_width( zstring: '$$$/Dialogs/Multimedia/EditScreenAnnot/Edit' ) + 
  3.                           zstring_width( zstring: '$$$/Dialogs/Multimedia/EditScreenAnnot/Remove' ) + 3 * gButtonSpace;
  4.  
  5. gColumnOneWidth            = max( zstring_width( zstring: '$$$/Dialogs/Multimedia/EditScreenAnnot/Name' ),
  6.                                zstring_width( zstring: '$$$/Dialogs/Multimedia/EditScreenAnnot/AltText' ) );
  7.  
  8. gUpAndDownButtonWidth    = 22;
  9. gUpAndDownButtonHeight    = 32;
  10.  
  11. gTriggerStringsWidth    = max( zstring_width( zstring: '$$$IDS_MOUSE_UP_TRIGGER' ),
  12.                                zstring_width( zstring: '$$$IDS_MOUSE_DOWN_TRIGGER' ),
  13.                                zstring_width( zstring: '$$$IDS_MOUSE_ENTER_TRIGGER' ),
  14.                                zstring_width( zstring: '$$$IDS_MOUSE_EXIT_TRIGGER' ),
  15.                                zstring_width( zstring: '$$$IDS_FOCUS_TRIGGER' ),
  16.                                zstring_width( zstring: '$$$IDS_BLUR_TRIGGER' ),
  17.                                zstring_width( zstring: '$$$IDS_PAGE_ENTER_TRIGGER' ),
  18.                                zstring_width( zstring: '$$$IDS_PAGE_EXIT_TRIGGER' ),
  19.                                zstring_width( zstring: '$$$IDS_PAGE_VISIBLE_TRIGGER' ),
  20.                                zstring_width( zstring: '$$$IDS_PAGE_INVISIBLE_TRIGGER' ) );
  21.  
  22. gListBoxHeight            = gEditTextHeight * 7;
  23. gListBoxWidth            = gRendBtnsWidth - gUpAndDownButtonWidth;
  24.  
  25. gInfoTextWidth            = gRendBtnsWidth;
  26.  
  27. gTextEditFieldWidth        = gRendBtnsWidth + gMarginWidth + gMarginWidth - gColumnOneWidth;
  28.  
  29. dialog( name: '$$$/Dialogs/Multimedia/EditScreenAnnot', first_tab: 'nmlb' )
  30. {
  31.     group( align_children: align_left, alignment: align_fill )
  32.     {
  33.         view( align_children: align_row, alignment: align_fill )
  34.         {
  35.             view( align_children: align_right, width: gColumnOneWidth, alignment: align_fill )
  36.             {
  37.                 static_text( item_id: 'nmlb', name: '$$$/Dialogs/Multimedia/EditScreenAnnot/Name', next_tab: 'name' );
  38.                 static_text( item_id: 'altl', name: '$$$/Dialogs/Multimedia/EditScreenAnnot/AltText', next_tab: 'altt' );
  39.             }
  40.  
  41.             view( align_children: align_left, alignment: align_fill )
  42.             {
  43.                 edit_text( item_id: 'name', width: gTextEditFieldWidth, alignment: align_fill, next_tab: 'altl' );
  44.                 edit_text( item_id: 'altt', width: gTextEditFieldWidth, alignment: align_fill, next_tab: 'clst' );
  45.             }
  46.         }
  47.  
  48.         cluster( item_id: 'clst', name: '$$$/Dialogs/Multimedia/EditScreenAnnot/Renditions', alignment: align_fill, next_tab: 'info' )
  49.         {
  50.             view( align_children: align_left, alignment: align_fill )
  51.             {
  52.                 static_text( item_id: 'info', width: gInfoTextWidth, alignment: align_fill, next_tab: 'trgl' );
  53.  
  54.                 view( align_children: align_row, alignment: align_fill )
  55.                 {
  56.                     static_text( item_id: 'trgl', name: '$$$/Dialogs/Multimedia/EditScreenAnnot/ViewRends', next_tab: 'trgr' );
  57.                     popup( item_id: 'trgr', alignment: align_fill, next_tab: 'rndl' );
  58.                     gap( width: gUpAndDownButtonWidth );
  59.                 }
  60.  
  61.                 view( alignment: align_fill, align_children: align_row )
  62.                 {
  63.                     hier_list_box( item_id: 'rndl', height: gListBoxHeight, alignment: align_fill, next_tab: 'rnup' );
  64.  
  65.                     view( align_children: align_left, width: gUpAndDownButtonWidth )
  66.                     {
  67.                         button( item_id: 'rnup', picture: true, height: gUpAndDownButtonHeight, width: gUpAndDownButtonWidth, next_tab: 'rndn' );
  68.                         button( item_id: 'rndn', picture: true, height: gUpAndDownButtonHeight, width: gUpAndDownButtonWidth, next_tab: 'crte' );
  69.                     }
  70.                 }
  71.  
  72.                 view( alignment: align_fill, align_children: align_row )
  73.                 {
  74.                     button( item_id: 'crte', name: '$$$/Dialogs/Multimedia/EditScreenAnnot/Create', alignment: align_fill, next_tab: 'edit' );
  75.                     button( item_id: 'edit', name: '$$$/Dialogs/Multimedia/EditScreenAnnot/Edit', alignment: align_fill, next_tab: 'rmve' );
  76.                     button( item_id: 'rmve', name: '$$$/Dialogs/Multimedia/EditScreenAnnot/Remove', alignment: align_fill );
  77.                 }
  78.             }
  79.         }
  80.     }
  81. }
  82.