MidiMountain 0.4.0
|
 |
Unit MMUtils
Description
MidiMountain Utilities Unit holding global utility functions and proceduresFunctions and Procedures
Overview
Description
function ChangeColorBrightness( const aColor: TColor; const aFactor: real ): TColor; |
change the brightness of a color with a factor. 1=same, 0.9 darker, 1.1 ligher
function ColorToStr( aColor: TColor ): string; |
convert a Borland TColor to a HTML color #000000
function InflateRect( const aRect: TRect; const aAmount: integer ): TRect; |
inflate a rectangle by n pixels
procedure SetEnable( const aWinControl: TWinControl; const aEnable: boolean ); |
enable/disable a win control. enable color=window, disable color=button face
procedure SetParents( aForm: TForm; const aDest: TWinControl ); |
set all the parents to aDest of the controls in the source
function StrToColor( aColor: string ): TColor; |
convert a HTML color to a Borland TColor
MidiMountain 0.4.0 ©1999-2002 Adrian Meyer, developed with Delphi and Kylix
|