Unit 'icon' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

ICONCTRLA_GetAspectRatio

Tag for IconControlA(),

Declaration

Source position: icon.pas line 89

const ICONCTRLA_GetAspectRatio = ICONA_Dummy + 37;

Description

Per Icon Option for IconControlA() Get the icon aspect ratio; this consists of a numerator and a denominator packed into a single byte (UNPACK_ICON_ASPECT_RATIO can be used for decoding this value). If the icon aspect ratio is unknown, ICON_ASPECT_RATIO_UNKNOWN will be returned.

See also

ICONCTRLA_SetAspectRatio

  

Tag for IconControlA(), Set Icon aspect ratio (PBYTE)

PACK_ICON_ASPECT_RATIO

  

Pack Numerator and a denominator into a single byte as icon aspect

UNPACK_ICON_ASPECT_RATIO

  

Unpack icon aspect byte to Numerator and a denominator

ICON_ASPECT_RATIO_UNKNOWN

  

Icon aspect ratio is not known.


Documentation generated on: 2021-07-30