Unit 'MUIClass.Area' Package
[Overview][Types][Classes][Procedures and functions][Index] [#MUIClass]

MUIToColComp

Convert a MUI LongWord Color component to a standard Byte Color component

Declaration

Source position: MUIClass.Area.pas line 408

function MUIToColComp(

  c: LongWord

):Byte;

Arguments

c

  

Color Component as MUI LongWord

Function result

Color component as byte

Description

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

See also

ColCompToMUI()

  

Convert a Byte Color component to a 32 bit MUI Longword Color component


Documentation generated on: 2024-11-21