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 / 10013 < prev    next >
Text File  |  2003-07-17  |  4KB  |  70 lines

  1. gPaneWidth        = 600;
  2.  
  3. gMaxStaticWidth = max( zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionSystem/BitRate' ), 
  4.                        zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionSystem/ScreenDepth' ), 
  5.                        zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionSystem/ScreenWidth' ), 
  6.                        zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionSystem/ShowAudioDesc' ), 
  7.                        zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionSystem/ShowCaption' ), 
  8.                        zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionSystem/PlayDubbedAudio' ), 
  9.                        zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionSystem/ShowSubtitles' ) );
  10.  
  11. gJavaWidth        = zstring_width( zstring: '$$$IDS_ACCEPTABLE_LANGUAGES_LABEL' );
  12.  
  13. gListWidth        = ( gJavaWidth - gButtonWidth - gButtonSpace ) / 2;
  14. gListHeight        = 90;
  15. gMaxEditWidth        = 266;
  16.  
  17. dialog( target_id: 'brat', first_tab: 'info' )
  18. {
  19.     view( align_children: align_left )
  20.     {
  21.         cluster( name: '$$$/Dialogs/Multimedia/RenditionSystem/ClientSys', align_children: align_left, alignment: align_fill, dwidth: gPaneWidth )
  22.         {
  23.             static_text( item_id: 'info', alignment: align_fill, next_tab: 'st01' );
  24.  
  25.             view( align_children: align_row )
  26.             {
  27.                 view( align_children: align_right, width: gMaxStaticWidth )
  28.                 {
  29.                     static_text( item_id: 'st01', name: '$$$/Dialogs/Multimedia/RenditionSystem/BitRate', height: gPopupHeight, next_tab: 'brat' );
  30.                     static_text( item_id: 'st02', name: '$$$/Dialogs/Multimedia/RenditionSystem/ScreenDepth', height: gEditTextHeight, next_tab: 'scrd' );
  31.                     static_text( item_id: 'st03', name: '$$$/Dialogs/Multimedia/RenditionSystem/ScreenResolution', height: gPopupHeight, next_tab: 'sres' );
  32.                     static_text( item_id: 'st04', name: '$$$/Dialogs/Multimedia/RenditionSystem/ShowAudioDesc', height: gPopupHeight, next_tab: 'adsc' );
  33.                     static_text( item_id: 'st05', name: '$$$/Dialogs/Multimedia/RenditionSystem/ShowCaption', height: gPopupHeight, next_tab: 'capt');
  34.                     static_text( item_id: 'st06', name: '$$$/Dialogs/Multimedia/RenditionSystem/PlayDubbedAudio', height: gPopupHeight, next_tab: 'dbad');
  35.                     static_text( item_id: 'st07', name: '$$$/Dialogs/Multimedia/RenditionSystem/ShowSubtitles', height: gPopupHeight, next_tab: 'sbtt');
  36.                 }
  37.  
  38.                 view( align_children: align_left )
  39.                 {
  40.                     popup( item_id: 'brat', width: gMaxEditWidth, alignment: align_fill, next_tab: 'st02' );
  41.                     popup( item_id: 'scrd', alignment: align_fill, next_tab: 'st03' );
  42.                     popup( item_id: 'sres', alignment: align_fill, next_tab: 'st04' );
  43.                     popup( item_id: 'adsc', alignment: align_fill, next_tab: 'st05' );
  44.                     popup( item_id: 'capt', alignment: align_fill, next_tab: 'st06' );
  45.                     popup( item_id: 'dbad', alignment: align_fill, next_tab: 'st07' );
  46.                     popup( item_id: 'sbtt', alignment: align_fill, next_tab: 'st08' );
  47.                 }
  48.             }
  49.         }
  50.  
  51.         cluster( name: '$$$/Dialogs/Multimedia/RenditionSystem/LanguageSettings', align_children: align_left, alignment: align_fill, dwidth: gPaneWidth )
  52.         {
  53.             static_text( item_id: 'st08', name: '$$$IDS_ACCEPTABLE_LANGUAGES_LABEL', next_tab: 'ilan' );
  54.  
  55.             view( align_children: align_row, alignment: align_fill )
  56.             {
  57.                 list_box( item_id: 'ilan', width: gListWidth, height: gListHeight, alignment: align_right, next_tab: 'add ' );
  58.  
  59.                 view( align_children: align_left, alignment: align_center )
  60.                 {
  61.                     button( item_id: 'add ', name: '$$$/Dialogs/Multimedia/RenditionSystem/Add', next_tab: 'del ' );
  62.                     button( item_id: 'del ', name: '$$$/Dialogs/Multimedia/RenditionSystem/Delete', next_tab: 'olan' );
  63.                 }
  64.  
  65.                 list_box( item_id: 'olan', width: gListWidth, height: gListHeight, alignment: align_left );
  66.             }
  67.         }
  68.     }
  69. }
  70.