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

  1. gType    = '$$$/Dialogs/PropertiesInspector/Appearance/Type';
  2. gWidth    = '$$$/Dialogs/PropertiesInspector/Appearance/Width';
  3. gStyle    = '$$$/Dialogs/PropertiesInspector/Appearance/Style';
  4. gColor    = '$$$/Dialogs/PropertiesInspector/Appearance/Color';
  5.  
  6. gColumnOneWidth        = max( zstring_width( zstring: gType ), 
  7.                            zstring_width( zstring: gWidth ), 
  8.                            zstring_width( zstring: gStyle ), 
  9.                            zstring_width( zstring: gColor ), 
  10.                            zstring_width( zstring: '$$$/Dialogs/PropertiesInspector/Appearance/Poster' ),
  11.                            zstring_width( zstring: '$$$/Dialogs/PropertiesInspector/Appearance/Colors' ) );
  12.  
  13. gColumnTwoWidth        = max( zstring_width( zstring: '$$$IDS_LinkInvisible' ),
  14.                            zstring_width( zstring: '$$$IDS_LinkRectangle' ),
  15.                            zstring_width( zstring: '$$$IDS_LinkWidthThin' ),
  16.                            zstring_width( zstring: '$$$IDS_LinkWidthMedium' ),
  17.                            zstring_width( zstring: '$$$IDS_LinkWidthThick' ),
  18.                            zstring_width( zstring: '$$$IDS_LinkBorderSolid' ),
  19.                            zstring_width( zstring: '$$$IDS_LinkBorderDashed' ),
  20.                            zstring_width( zstring: '$$$IDS_DONT_SHOW_POSTER' ),
  21.                            zstring_width( zstring: '$$$IDS_EMBED_POSTER' ),
  22.                            zstring_width( zstring: '$$$IDS_GET_POSTER_FROM_MOVIE' ),
  23.                            zstring_width( zstring: '$$$IDS_256_COLORS' ),
  24.                            zstring_width( zstring: '$$$IDS_MILLIONS_OF_COLORS' ) );
  25.  
  26. dialog( name: '$$$/Dialogs/PropertiesInspector/Appearance', target_id: 'typl', first_tab: 'typl' )
  27. {
  28.     group( align_children: align_left )
  29.     {
  30.         cluster( item_id: 'clst', name: '$$$/Dialogs/PropertiesInspector/Appearance/Border', alignment: align_fill )
  31.         {
  32.             view( align_children: align_left )
  33.             {
  34.                 view(align_children: align_row)
  35.                 {
  36.                     view(align_children: align_right, width: gColumnOneWidth)
  37.                     {
  38.                         static_text(item_id: 'typl', name: gType, next_tab: 'ltyp');
  39.                     }
  40.                     view(align_children: align_left)
  41.                     {
  42.                         popup(item_id: 'ltyp', width: gColumnTwoWidth, next_tab: '_wid');
  43.                     }
  44.                 }
  45.  
  46.                 view(align_children: align_row)
  47.                 {
  48.                     view(align_children: align_right, width: gColumnOneWidth)
  49.                     {
  50.                         static_text(item_id: '_wid', name: gWidth, next_tab: 'wdth');
  51.                     }
  52.                     view(align_children: align_left)
  53.                     {
  54.                         popup(item_id: 'wdth', width: gColumnTwoWidth, next_tab: '_sty');
  55.                     }
  56.                 }
  57.  
  58.                 view(align_children: align_row)
  59.                 {
  60.                     view(align_children: align_right, width: gColumnOneWidth)
  61.                     {
  62.                         static_text(item_id: '_sty', name: gStyle, next_tab: 'styl');
  63.                     }
  64.                     view(align_children: align_left)
  65.                     {
  66.                         popup(item_id: 'styl', width: gColumnTwoWidth, next_tab: '_col');
  67.                     }
  68.                 }
  69.  
  70.                 view(align_children: align_row)
  71.                 {
  72.                     view(align_children: align_right, width: gColumnOneWidth)
  73.                     {
  74.                         static_text(item_id: '_col', name: gColor, next_tab: 'colr');
  75.                     }
  76.                     view(align_children: align_left)
  77.                     {
  78.                         button(item_id: 'colr', picture: true, height: 20, width: 22, next_tab: 'pstp');
  79.                     }
  80.                 }
  81.  
  82.                 gap();
  83.             }
  84.         }
  85.  
  86.         gap();
  87.  
  88.         cluster( item_id: 'cls2', name: '$$$/Dialogs/PropertiesInspector/Appearance/PosterGrp', alignment: align_fill )
  89.         {
  90.             view( align_children: align_row )
  91.             {
  92.                 view( align_children: align_right )
  93.                 {
  94.                     static_text( item_id: 'pstp', name: '$$$/Dialogs/PropertiesInspector/Appearance/Poster', width: gColumnOneWidth, next_tab: 'post' );
  95.                 }
  96.                 view( align_children: align_left )
  97.                 {
  98.                     popup( item_id: 'post', width: gColumnTwoWidth, next_tab: 'clrl' );
  99.                 }
  100.             }
  101.  
  102.             view( align_children: align_row )
  103.             {
  104.                 view( align_children: align_right )
  105.                 {
  106.                     static_text( item_id: 'clrl', name: '$$$/Dialogs/PropertiesInspector/Appearance/Colors', width: gColumnOneWidth, next_tab: 'clrz' );
  107.                 }
  108.                 view( align_children: align_left )
  109.                 {
  110.                     popup( item_id: 'clrz', width: gColumnTwoWidth );
  111.                 }
  112.             }
  113.  
  114.             gap();
  115.         }
  116.     }
  117. }
  118.