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 / 10011 < prev    next >
Text File  |  2003-07-17  |  3KB  |  59 lines

  1. gPaneWidth        = 600;
  2. gMaxStaticWidth        = max( zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionMedia/Name' ), 
  3.                            zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionMedia/Location' ), 
  4.                            zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionMedia/Mimetype' ),  
  5.                            zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionMedia/AltText' ), 
  6.                            zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionMedia/TempFile' ) );
  7. gMaxEditWidth        = 370;
  8. gChooseButtonWidth    = zstring_width(zstring: '$$$/Dialogs/Multimedia/RenditionMedia/Choose' ) + 45;
  9.  
  10. dialog( target_id: 'locn', first_tab: 'st01' )
  11. {
  12.     view( align_children: align_left )
  13.     {
  14.         cluster( name: '$$$/Dialogs/Multimedia/RenditionMedia/RenditionSettings', align_children: align_left, alignment: align_fill, dwidth: gPaneWidth )
  15.         {
  16.             view( align_children: align_row )
  17.             {
  18.                 view( align_children: align_right, width: gMaxStaticWidth )
  19.                 {
  20.                     static_text( item_id: 'st01', name: '$$$/Dialogs/Multimedia/RenditionMedia/Name', next_tab: 'name' );
  21.                 }
  22.  
  23.                 edit_text( item_id: 'name', width: gMaxEditWidth, alignment: align_left, next_tab: 'rnnt' );
  24.             }
  25.             view( align_children: align_row )
  26.             {
  27.                 gap(width: gMaxStaticWidth);
  28.                 check_box( item_id: 'rnnt', name: '$$$/Dialogs/Multimedia/RenditionMedia/AddRenditionToNameTree', next_tab: 'st03' );
  29.             }
  30.         }
  31.  
  32.         cluster( name: '$$$/Dialogs/Multimedia/RenditionMedia/MediaSettings', align_children: align_row, alignment: align_fill, dwidth: gPaneWidth )
  33.         {
  34.             view( align_children: align_right, width: gMaxStaticWidth )
  35.             {
  36.                 gap();
  37.                 static_text( item_id: 'st03', name: '$$$/Dialogs/Multimedia/RenditionMedia/Location', height: gEditTextHeight, next_tab: 'locn' );
  38.                 static_text( item_id: 'mlbl', name: '$$$/Dialogs/Multimedia/RenditionMedia/Mimetype', height: gPopupHeight, next_tab: 'mime' );
  39.                 gap( alignment: align_fill, height: gRadioCheckBoxHeight );
  40.                 static_text( item_id: 'st04', name: '$$$/Dialogs/Multimedia/RenditionMedia/AltText', height: gEditTextHeight, next_tab: 'altt' );
  41.                 static_text( item_id: 'st05', name: '$$$/Dialogs/Multimedia/RenditionMedia/TempFile', height: gPopupHeight, next_tab: 'tmpf' );    
  42.             }
  43.  
  44.             view( align_children: align_left, width: gMaxEditWidth )
  45.             {
  46.                 view( align_children: align_top, width: gMaxEditWidth )
  47.                 {
  48.                     edit_text( item_id: 'locn', next_tab: 'chos', width: gMaxEditWidth - gChooseButtonWidth );
  49.                     button( item_id: 'chos', name: '$$$/Dialogs/Multimedia/RenditionMedia/Choose', alignment: align_fill, next_tab: 'mlbl' );
  50.                 }
  51.                 popup( item_id: 'mime', alignment: align_fill, next_tab: 'embd' );
  52.                 check_box( item_id: 'embd', name: '$$$/Dialogs/Multimedia/AddContent/Embed', alignment: align_fill, next_tab: 'st04' );
  53.                 edit_text( item_id: 'altt', alignment: align_fill, next_tab: 'st05' );
  54.                 popup( item_id: 'tmpf', alignment: align_fill );
  55.             }
  56.         }
  57.     }
  58. }
  59.