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 / 10012 < prev    next >
Text File  |  2003-07-17  |  5KB  |  96 lines

  1. gPaneWidth        = 600;
  2. gPlayPopupWidth    = max( zstring_width( zstring: '$$$IDS_RENDITIONLOCATION_ONPAGE' ), 
  3.                        zstring_width( zstring: '$$$IDS_RENDITIONLOCATION_HIDDEN' ), 
  4.                        zstring_width( zstring: '$$$IDS_RENDITIONLOCATION_FLOATINGWINDOW' ), 
  5.                        zstring_width( zstring: '$$$IDS_RENDITIONLOCATION_FULLSCREEN' ) );
  6.  
  7. gStaticWidth    = max( zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionLocation/TitleText' ), 
  8.                        zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionLocation/Size' ), 
  9.                        zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionLocation/Position' ), 
  10.                        zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionLocation/Width' ), 
  11.                        zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionLocation/WindowOffscreen' ), 
  12.                        zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionLocation/WindowType' ), 
  13.                        zstring_width( zstring: '$$$/Dialogs/Multimedia/RenditionLocation/BackgroundColor' ) );
  14.  
  15. gMaxEditWidth    = 385;
  16. gCoordSize        = max_digit_width() * 5;
  17.  
  18. dialog( target_id: 'onpg', first_tab: 'st01' )
  19. {
  20.     view( align_children: align_left )
  21.     {
  22.         cluster( name: '$$$/Dialogs/Multimedia/RenditionLocation/WindowSettings', align_children: align_left, alignment: align_fill, dwidth: gPaneWidth)
  23.         {
  24.             view( align_children: align_row )
  25.             {
  26.                 view( align_children: align_right, width: gStaticWidth )
  27.                 {
  28.                     static_text( item_id: 'st01', name: '$$$/Dialogs/Multimedia/RenditionLocation/WindowType', height: gPopupHeight, next_tab: 'wset' );
  29.                     static_text( item_id: 'st02', name: '$$$/Dialogs/Multimedia/RenditionLocation/BackgroundColor', hieght: gButtonHeight, next_tab: 'colr' );
  30.                 }
  31.  
  32.                 view( align_children: align_left )
  33.                 {
  34.                     popup( item_id: 'wset', width: gPlayPopupWidth, next_tab: 'st02' );
  35.                     button( item_id: 'colr', picture: true, height: 20, width: 22, next_tab: 'titl' );
  36.                 }
  37.             }
  38.         }
  39.  
  40.         cluster( item_id: 'fl01', name: '$$$/Dialogs/Multimedia/RenditionLocation/FloatWindowSettings', align_children: align_left, alignment: align_fill, dwidth: gPaneWidth )
  41.         {
  42.             view( align_children: align_row )
  43.             {
  44.                 view( align_children: align_right, width: gStaticWidth )
  45.                 {
  46.                     gap( alignment: align_fill, height: gRadioCheckBoxHeight );
  47.                     gap( alignment: align_fill, height: gRadioCheckBoxHeight );
  48.                 }
  49.  
  50.                 view( align_children: align_left )
  51.                 {
  52.                     check_box( item_id: 'titl', name: '$$$/Dialogs/Multimedia/RenditionLocation/ShowTitle', alignment: align_fill, next_tab: 'acls' );
  53.                     check_box( item_id: 'acls', name: '$$$/Dialogs/Multimedia/RenditionLocation/AllowClose', alignment: align_fill, next_tab: 'fl02' );
  54.                 }
  55.             }
  56.  
  57.             view( align_children: align_row )
  58.             {
  59.                 view( align_children: align_right, width: gStaticWidth )
  60.                 {
  61.                     gap();
  62.                     static_text( item_id: 'fl02', name: '$$$/Dialogs/Multimedia/RenditionLocation/TitleText', height: gEditTextHeight, next_tab: 'ttxt' );
  63.                     static_text( item_id: 'fl03', name: '$$$/Dialogs/Multimedia/RenditionLocation/Size', height: gPopupHeight, next_tab: 'sset' );
  64.                     static_text( item_id: 'fl05', name: '$$$/Dialogs/Multimedia/RenditionLocation/Position', height: gPopupHeight, next_tab: 'pset' );
  65.                     static_text( item_id: 'fl07', name: '$$$/Dialogs/Multimedia/RenditionLocation/Width', height: gButtonHeight, next_tab: 'sizx' );
  66.                     static_text( item_id: 'fl09', name: '$$$/Dialogs/Multimedia/RenditionLocation/WindowOffscreen', height: gPopupHeight, next_tab: 'oset' );
  67.                 }
  68.  
  69.                 view( align_children: align_left, width: gMaxEditWidth  )
  70.                 {
  71.                     edit_text( item_id: 'ttxt', alignment: align_fill, next_tab: 'fl03' );
  72.                     popup( item_id: 'sset', alignment: align_fill, next_tab: 'fl05' );
  73.  
  74.                     view( align_children: align_row, width: gMaxEditWidth  )
  75.                     {
  76.                         popup( item_id: 'pset', width: 120, next_tab: 'fl06' );
  77.  
  78.                         static_text( item_id: 'fl06', name: '$$$/Dialogs/Multimedia/RenditionLocation/RelativeTo', next_tab: 'rset' );
  79.                         popup( item_id: 'rset', alignment: align_fill, next_tab: 'fl07' );
  80.                     }
  81.  
  82.                     view( align_children: align_row, alignment: align_fill )
  83.                     {
  84.                         edit_text( item_id: 'sizx', width: gCoordSize, next_tab: 'fl08' );
  85.                         static_text( item_id: 'fl08', name: '$$$/Dialogs/Multimedia/RenditionLocation/Height', next_tab: 'sizy' );
  86.                         edit_text( item_id: 'sizy', width: gCoordSize, next_tab: 'gmov' );
  87.                         button( item_id: 'gmov', name: '$$$/Dialogs/Multimedia/RenditionLocation/GetFromMovie', next_tab: 'fl09' );
  88.                     }
  89.  
  90.                     popup( item_id: 'oset', alignment: align_fill );
  91.                 }
  92.             }
  93.         }
  94.     }
  95. }
  96.