Unit 'MUIClass.Image' Package
[Overview][Classes][Index] [#MUIClass]

TMUIImage.Spec

[i] Specify the type of your image.

Declaration

Source position: MUIClass.Image.pas line 41

published property TMUIImage.Spec : TSpecDesc
  read FSpec;

Description

Usually, you will use one of the predefined standard images here, (one of the MUII_xxx definitions from mui.h), but you also can supply a string containing a MUI image specification. Image specifications always starts with a digit, followed by a ':', followed by some parameters. Currently, the following things are defined (all numeric parameters need to be ascii values!):

'0:<x>'
where <x> is between MUII_BACKGROUND and MUII_FILLBACK2 identifying a builtin pattern.
'1:<x>'
where <x> identifies a builtin standard image. Don't use this, use '6:<x>' instead.
'2: <r>,<g>,<b>'
where <r>, <g> and <b> are 32-bit MUI RGB Longword color values specified as 8-digit hex string (e.g. 00000000 or ffffffff). Kick 2.x users will get an empty image.
'3:<n>'
where <n> is the name of an external boopsi image class.
'4:<n>'
where <n> is the name of an external MUI brush.
'5:<n>'
where <n> is the name of an external picture file that should be loaded with datatypes. Kick 2.x users will get an empty image.
'6:<x>'
where <x> is between MUII_WindowBack and MUII_Count-1 identifying a preconfigured image/background.

See also

OldImage

  

[i] Pointer to a standard graphics.library PImage


Documentation generated on: 2024-03-28