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

  1. gPopupMenuWidth = max( zstring_width( zstring: '$$$IDS_PLAY_ONCE_ONLY' ), 
  2.                        zstring_width( zstring: '$$$IDS_PLAY_ONCE_STAY' ), 
  3.                        zstring_width( zstring: '$$$IDS_REPEAT_PLAY' ), 
  4.                        zstring_width( zstring: '$$$IDS_PLAY_PING_PONG' ) );
  5.  
  6. gLabelWidth = max( zstring_width( zstring: '$$$/Dialogs/Multimedia/PlayerOptions/Mode' ),
  7.                    zstring_width( zstring: '$$$/Dialogs/Multimedia/PlayerOptions/FloatingSize' ) );
  8.  
  9. dialog( name: '$$$/Dialogs/Multimedia/PlayerOptions', target_id: 'show', first_tab: 'show' )
  10. {
  11.     view( align_children: align_left )
  12.     {
  13.         check_box( item_id: 'show', name: '$$$/Dialogs/Multimedia/PlayerOptions/ShowController', next_tab: 'flot' );
  14.         check_box( item_id: 'flot', name: '$$$/Dialogs/Multimedia/PlayerOptions/FloatingWindow', next_tab: 'fltl' );    
  15.  
  16.         view( align_children: align_row )
  17.         {
  18.             view( align_children: align_right, width: gLabelWidth )
  19.             {
  20.                 static_text( item_id: 'fltl', name: '$$$/Dialogs/Multimedia/PlayerOptions/FloatingSize', next_tab: 'flwn' );
  21.             }
  22.  
  23.             view( align_children: align_left )
  24.             {
  25.                 popup( item_id: 'flwn', width: gPopupMenuWidth, next_tab: 'mdlb' );
  26.             }
  27.         }
  28.  
  29.         view( align_children: align_row )
  30.         {
  31.             view( align_children: align_right, width: gLabelWidth )
  32.             {
  33.                 static_text( item_id: 'mdlb', name: '$$$/Dialogs/Multimedia/PlayerOptions/Mode', next_tab: 'mode' );
  34.             }
  35.  
  36.             view( align_children: align_left )
  37.             {
  38.                 popup( item_id: 'mode', width: gPopupMenuWidth );
  39.             }
  40.         }
  41.  
  42.         gap();
  43.     }
  44. }
  45.