Image.mui Class Reference

BOOPSI custom class Image.mui (MUI 3.8 dev). Each ### sub-section below documents one of the class's attributes or methods. Sub-classes of Image.mui are listed at the end under Sub-classes; the class hierarchy itself is documented in the MUI classes index.

Function index

Class definition

Attributes


Image.mui


MUIA_Image_FontMatch

MUIA_Image_FontMatch -- (V4 ) [I..], BOOL

Function

If TRUE, width and height of the given image will be scaled to match the current font. Images are always defined with a reference font of topaz/8, bigger fonts will make the image grow (as long as its maximum size is big enough).

Example

The arrows of a scroll bar are e.g. defined with
MUIA_Image_FontMatch.

See also

MUIA_Image_FontMatch, MUIA_Image_FontMatchWidth


MUIA_Image_FontMatchHeight

MUIA_Image_FontMatchHeight -- (V4 ) [I..], BOOL

Function

If TRUE, the height of the given image will be scaled to match the current font. Images are always defined with a reference font of topaz/8, bigger fonts will make the image grow (as long as its maximum size is big enough).

See also

MUIA_Image_FontMatch, MUIA_Image_FontMatchWidth


MUIA_Image_FontMatchWidth

MUIA_Image_FontMatchWidth -- (V4 ) [I..], BOOL

Function

If TRUE, the width of the given image will be scaled to match the current font. Images are always defined with a reference font of topaz/8, bigger fonts will make the image grow (as long as its maximum size is big enough).

See also

MUIA_Image_FontMatch, MUIA_Image_FontMatchHeight


MUIA_Image_FreeHoriz

MUIA_Image_FreeHoriz -- (V4 ) [I..], BOOL

Function

Tell the image if its allowed to get scaled horizontally. Defaults to FALSE.

See also

MUIA_Image_FreeVert, MUIA_Image_FontMatch


MUIA_Image_FreeVert

MUIA_Image_FreeVert -- (V4 ) [I..], BOOL

Function

Tell the image if its allowed to get scaled vertically. Defaults to FALSE.

See also

MUIA_Image_FreeHoriz, MUIA_Image_FontMatch


MUIA_Image_OldImage

**MUIA_Image_OldImage -- (V4 ) [I..], struct Image ***

Function

Allows you to use any conventional image structure within a MUI window. The resulting object is always as big as the image and not resizable.


MUIA_Image_Spec

**MUIA_Image_Spec -- (V4 ) [I..], char ***

Function

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

See also

MUIA_Image_OldImage


MUIA_Image_State

MUIA_Image_State -- (V4 ) [IS.], LONG

Function

Some MUI images offer different states, you can select one of the by setting this attribute. Simply use one of the IDS_NORMAL, IDS_SELECTED, ... values defined in "intuition/imageclass.h". Note: Objects that respond to user input will automatically toggle their state between IDS_NORMAL to IDS_SELECTED depending on their MUIA_Selected attribute.

See also

MUIA_Image_Spec