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 / 10018 < prev    next >
Text File  |  2003-07-17  |  2KB  |  53 lines

  1. gColumnOneWidth = zstring_width( zstring: '$$$/Dialogs/Multimedia/EditRenditionAction/Operation' );
  2.  
  3. gOperationPopupWidth = max( zstring_width( zstring: '$$$IDS_PLAY' ),
  4.                             zstring_width( zstring: '$$$IDS_STOP' ),
  5.                             zstring_width( zstring: '$$$IDS_PAUSE' ),
  6.                             zstring_width( zstring: '$$$IDS_RESUME' ),
  7.                             zstring_width( zstring: '$$$IDS_PLAY_FROM_START' ),
  8.                             zstring_width( zstring: '$$$IDS_UNKNOWN' ),
  9.                             zstring_width( zstring: '$$$IDS_CUSTOM_JAVASCRIPT' ) );
  10.  
  11. gListBoxHeight    = gEditTextHeight * 5;
  12. gListBoxWidth = 325;
  13.  
  14. gIconWidthAndHeight = 32;
  15.  
  16. gJSButtonWidth = max( gButtonWidth, zstring_width( zstring: '$$$/Dialogs/Multimedia/EditRenditionAction/SpecifyCustomJS' ) + gButtonSpace );
  17.  
  18. gInfoTextWidth = gListBoxWidth - gIconWidthAndHeight - gJSButtonWidth;
  19.  
  20.  
  21. dialog( name: '$$$IDS_EDIT_RENDITION_ACTION' )
  22. {
  23.     view( align_children: align_left )
  24.     {
  25.         view( align_children: align_row )
  26.         {
  27.             view( align_children: align_right )
  28.             {
  29.                 static_text( name: '$$$/Dialogs/Multimedia/EditRenditionAction/Operation', width: gColumnOneWidth, alignment: align_fill );
  30.             }
  31.  
  32.             view( align_children: align_left )
  33.             {
  34.                 popup( item_id: ' op ', width: gOperationPopupWidth, alignment: align_fill );
  35.             }
  36.         }
  37.  
  38.         cluster( name: '$$$/Dialogs/Multimedia/EditRenditionAction/AssociatedScreenAnnot' )
  39.         {
  40.             hier_list_box( item_id: 'ants', width: gListBoxWidth, height: gListBoxHeight, alignment: align_fill );
  41.         }
  42.  
  43.         cluster( name: '$$$/Dialogs/Multimedia/EditRenditionAction/GroupTitle', align_children: align_row )
  44.         {
  45.             picture( item_id: 'icon', width: gIconWidthAndHeight, height: gIconWidthAndHeight, alignment: align_center );
  46.             static_text( item_id: 'info', width: gInfoTextWidth, alignment: align_top );
  47.             button( item_id: ' js ', name: '$$$/Dialogs/Multimedia/EditRenditionAction/SpecifyCustomJS', alignment: align_center );
  48.         }
  49.  
  50.         ok_cancel();
  51.     }
  52. }
  53.