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 / 10021 < prev    next >
Text File  |  2003-07-17  |  1KB  |  40 lines

  1. gColumnTwoWidth = max( zstring_width( zstring: '$$$IDS_NONE' ),
  2.                        max_char_width( ) * 16 );
  3.  
  4. gIconWidthAndHeight = 32;
  5.  
  6. gStaticInfoTextWidth = zstring_width( zstring: '$$$/Dialogs/Multimedia/SpecifyRendition/AssociatedRendition' ) + gColumnTwoWidth - gIconWidthAndHeight;
  7.  
  8. dialog( name: '$$$/Dialogs/Multimedia/SpecifyRendition' )
  9. {
  10.     view( align_children: align_left )
  11.     {
  12.         view( align_children: align_row )
  13.         {
  14.             view( align_children: align_right )
  15.             {
  16.                 static_text( name: '$$$/Dialogs/Multimedia/SpecifyRendition/AssociatedRendition' );
  17.             }
  18.  
  19.             view( align_children: align_left )
  20.             {
  21.                 popup( item_id: 'rend', width: gColumnTwoWidth );
  22.             }
  23.         }
  24.  
  25.         gap();
  26.  
  27.         cluster( name: '$$$/Dialgos/Multimedia/SpecifyRendition/foo', align_children: align_row )
  28.         {
  29.             picture( item_id: 'icon', width: gIconWidthAndHeight, height: gIconWidthAndHeight, alignment: align_center );
  30.             static_text( item_id: 'info', width: gStaticInfoTextWidth, alignment: align_fill );
  31.         }
  32.  
  33.         view( align_children: align_row, alignment: align_right )
  34.         {
  35.             button( item_id: 'next', name: '$$$/ControlsStrings/Next' );
  36.             button( item_id: 2, name: '$$$/ControlsStrings/Cancel' );
  37.         }
  38.     }
  39. }
  40.