Convert a Byte Color component to a 32 bit MUI Longword Color component
Source position: MUIClass.Area.pas line 407
function ColCompToMUI( |
c: Byte |
):LongWord; |
c |
|
Color Component as Byte |
Color Component as LongWord for MUI
MUI uses 32bit LongWord for each color component for (0 = no color $ffffffff = full color) this converts the standard bytes to the MUI LongWords by filling up the rest of the longword: for example: byte = $42 ; LongWord $42424242
|
Convert a MUI LongWord Color component to a standard Byte Color component |