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

ColCompToMUI

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

Declaration

Source position: MUIClass.Area.pas line 404

function ColCompToMUI(

  c: Byte

):LongWord;

Arguments

c

  

Color Component as Byte

Function result

Color Component as LongWord for MUI

Description

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

See also

MUIToColComp()

  

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


Documentation generated on: 2024-04-23