home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 September (Special) / Chip-Special_2004-09_Digitalni-Hudba.bin / servis / reader / Data1.cab / Multimedia.CZE / 1029 / EXVW / 10008 < prev    next >
Text File  |  2003-07-19  |  3KB  |  77 lines

  1. gMaxEditWidth        = 300;
  2. gMyPopupWidth        = gMaxEditWidth - gPopupEditPad - gPopupFudge;
  3. gMaxStaticWidth        = max( zstring_width( zstring: '$$$/Dialogs/Multimedia/AddContent/Location'),
  4.                            zstring_width( zstring: '$$$/Dialogs/Multimedia/AddContent/Mimetype' ) );
  5.  
  6. gFileWidth            = gCheckBoxWidth + gCheckRadioSpace + zstring_width( zstring: '$$$/Dialogs/Multimedia/PosterOptions/File' );
  7. gMaxPosterPathWidth = gMaxStaticWidth + gMaxEditWidth - gFileWidth;
  8.  
  9. dialog( name: '$$$/Dialogs/Multimedia/AddContent', target_id: 'locn', first_tab: 'locn' )
  10. {
  11.     group()
  12.     {
  13.         cluster( item_id: 'cls1', name: '$$$/Dialogs/Multimedia/AddContent/Content' )
  14.         {
  15.             view()
  16.             {
  17.                 static_text( item_id: 'st01', name: '$$$/Dialogs/Multimedia/AddContent/SelectType', next_tab: 'use6' );
  18.                 view( align_children: align_row )
  19.                 {
  20.                     view( alignment: align_left )
  21.                     {
  22.                         gap();
  23.                     }
  24.  
  25.                     view( alignment: align_right )
  26.                     {
  27.                         radio( item_id: 'use6', name: '$$$/Dialogs/Multimedia/AddContent/Acro6', next_tab: 'use5' );
  28.                         radio( item_id: 'use5', name: '$$$/Dialogs/Multimedia/AddContent/Acro5', next_tab: 'LocT' );
  29.                     }
  30.                 }
  31.             }
  32.  
  33.             gap();
  34.  
  35.             view()
  36.             {
  37.                 view( align_children: align_left, alignment: align_fill)
  38.                 {
  39.                     view( align_children: align_row)
  40.                     {
  41.                         static_text( item_id: 'LocT', name: '$$$/Dialogs/Multimedia/AddContent/Location', height: gEditTextHeight, width: gMaxStaticWidth, alignment: align_right, next_tab: 'locn');
  42.                         edit_text( item_id: 'locn', width: gMaxEditWidth, alignment: align_fill, next_tab: 'mopn' );
  43.                         button( item_id: 'mopn', name: '$$$/Dialogs/Multimedia/AddContent/ChooseMedia', next_tab: 'MimT' );
  44.                     }
  45.  
  46.                     view( align_children: align_row)
  47.                     {
  48.                         static_text( item_id: 'MimT', name: '$$$/Dialogs/Multimedia/AddContent/Mimetype', height: gPopupHeight, width: gMaxStaticWidth, alignment: align_right, next_tab: 'mmtp' );
  49.                         popup( item_id: 'mmtp', next_tab: 'snap', width: gMyPopupWidth );
  50.                     }
  51.                 }
  52.  
  53.                 check_box( item_id: 'snap', alignment: align_left, name: '$$$/Dialogs/Multimedia/AddContent/SnapProps', next_tab: 'memb' );
  54.                 check_box( item_id: 'memb', alignment: align_left, name: '$$$/Dialogs/Multimedia/AddContent/Embed', next_tab: 'pno ' );
  55.             }
  56.         }
  57.  
  58.         cluster( item_id: 'cls2', name: '$$$/Dialogs/Multimedia/AddContent/Poster' )
  59.         {
  60.             radio( item_id: 'pno ', name: '$$$/Dialogs/Multimedia/AddContent/NoPoster', next_tab: 'pemb');
  61.             radio( item_id: 'pemb', name: '$$$/Dialogs/Multimedia/AddContent/RetrieveEmbed', next_tab: 'pfil');
  62.             radio( item_id: 'pfil', name: '$$$/Dialogs/Multimedia/AddContent/File', next_tab: 'file');
  63.  
  64.             view( align_children: align_row, alignment: align_fill )
  65.             {
  66.                 static_text( item_id: 'file', name: '$$$/Dialogs/Multimedia/PosterOptions/File', width: gFileWidth, alignment: align_right, next_tab: 'pnam' );
  67.                 static_text( item_id: 'pnam', width: gMaxPosterPathWidth, alignment: align_left, next_tab: 'popn' );
  68.                 button( item_id: 'popn', name: '$$$/Dialogs/Multimedia/AddContent/ChoosePoster', alignment: align_right );
  69.             }
  70.         }
  71.  
  72.         gap();
  73.  
  74.         ok_cancel();
  75.     }
  76. }
  77.