home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 May / PCWorld_2002-05_cd.bin / Software / Vyzkuste / winblinds / wb31a_pub.exe / %MAINDIR% / uis_info.txt < prev    next >
Encoding:
Text File  |  2002-04-05  |  2.8 KB  |  98 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. WindowBlinds 3.09
  8. -----------------
  9.  
  10. See the LunaUIS1 sample included for an
  11. implementation of this. I've included
  12. the rgn.bmp samples indicated below in
  13. the root WindowBlinds directory with this build,
  14. but see the LunaUIS1.
  15.  
  16. Additions to WB for UIS1 features
  17. ---------------------------------
  18.  
  19. 1) The ability to set some system metrics
  20.  
  21. The following can be added to the UIS file
  22.  
  23. [Metrics]
  24. CaptionHeight = height in pixels
  25. ToolCaptionHeight = height of tool window captions in pixels
  26. MenuHeight = height of the menubar
  27. ScrollWidth = width of a vertical scrollbar
  28.  
  29. These are also supported for UIS2 skins
  30.  
  31. 2) The ability to add shapes to UIS1 skins.
  32.  
  33. These are done differently to UIS2 skins as they require an additional 2
  34. bitmaps
  35.  
  36. [Borders]
  37. ShapeFrameCount = number of images in the shape bitmaps.
  38.            Each 'row' is the height same height as the titlebar image
  39. (linked to the titlebar caption height)
  40.  
  41. ; Then we have the 2 images (width of each can be different.  Heights
  42. must be = shapeFrameCount * height of each titlebar image row)
  43.  
  44. ShapeLeftImage = crux_remake\rgn.bmp
  45. ShapeRightImage = crux_remake\rgn2.bmp
  46.  
  47. ; Then we tell WB which 'row' to use for each state.  There are a number
  48. of options.  0 would be the first row, 1 = 2nd, 2 = 3rd etc
  49.  
  50. ShapeNormalActiveFrame =
  51. ShapeNormalInactiveFrame =
  52. ShapeNormalDisabledFrame =
  53. ShapeMDIActiveFrame =
  54. ShapeMDIInactiveFrame =
  55. ShapeMDIDisabledFrame =
  56. ShapeToolActiveFrame =
  57. ShapeToolInactiveFrame =
  58. ShapeToolDisabledFrame =
  59. ShapeNonSizableActiveFrame =
  60. ShapeNonSizableInactiveFrame =
  61. ShapeNonSizableDisabledFrame =
  62. ShapeNonSizableToolActiveFrame =
  63. ShapeNonSizableToolInactiveFrame =
  64. ShapeNonSizableToolDisabledFrame =
  65.  
  66. Basically WB allows you to have different shapes for 15 different window
  67. styles / states.
  68.  
  69. Example bits to add to the UIS file of a UIS1+ skin
  70. ---------------
  71.  
  72. ; modify the path here obviously!
  73. ShapeLeftImage = crux_remake\rgn.bmp
  74. ShapeRightImage = crux_remake\rgn2.bmp
  75. ShapeNormalActiveFrame = 0
  76. ShapeNormalInActiveFrame = 1
  77. ShapeFrameCount= 5
  78.  
  79. -New tile/stretch options for standard objects
  80. Tile = 0 means stretch
  81. Tile = 1 means tile
  82. Tile = 2 means tile horz and stretch vert
  83. Tile = 3 means stretch horz and tile vert
  84. Tile = 4 means the middle bit in the middle and fill the rest
  85. with the top left colour
  86.  
  87. -PerPixel alpha blending is supported
  88. in most 'standard' objects (i.e. if there is a .wbd file).
  89. Just refer to the .tga instead of the .bmp. You _must_
  90. use 32bit, uncompressed .tga's. Add PerPixel=1 and
  91. Trans=1 to the appropriate section of the .uis file too
  92. (and wipe the .wbd's before you reload the skin).
  93. The perpixel alpha is only supported on 2000/XP, but
  94. the .tga's will load and work on 98/ME. See
  95. the XPPlatinum skin included with this build for
  96. a sample using button.tga).
  97.  
  98.