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
MUIA_Image_FontMatchMUIA_Image_FontMatchHeightMUIA_Image_FontMatchWidthMUIA_Image_FreeHorizMUIA_Image_FreeVertMUIA_Image_OldImageMUIA_Image_SpecMUIA_Image_State
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:
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