Convert a MUI LongWord Color component to a standard Byte Color component
Source position: MUIClass.Area.pas line 408
function MUIToColComp( |
c: LongWord |
):Byte; |
c |
|
Color Component as MUI LongWord |
Color component as byte
MUI uses 32bit LongWord for each color component for (0 = no color $ffffffff = full color) this converts the MUI LongWords to standard bytes by cutting away the not needed bits : for example: LongWord = $421bc512 ; byte = $42
|
Convert a Byte Color component to a 32 bit MUI Longword Color component |