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

MUIC_Bitmap

Include a self-made image data in MUI applications.

Declaration

Source position: mui.pas line 2359

const MUIC_Bitmap: PChar = 'Bitmap.mui';

Description

The Bitmap class allows including self-made image data in MUI applications. Usually, image class was intended to be used for this purpose but unfortunately, its design was not very useful.

In its most simple usage, Bitmap class just display a given BitMap. However, you can also tell it to do automatic color remapping to match the current display context and you can define a transparent color to make the BitMap appear on any background.

Inheritance
rootclass --> Notify --> Area --> Bitmap

Fields
_______________ Field _______________ ___ Access ___ _____ Type _____ Short description
MUIA_Bitmap_Bitmap ISG PBitmap This attribute specifies a pointer to a struct BitMap.
MUIA_Bitmap_Height ISG LongInt Define the pixel height of the BitMap.
MUIA_Bitmap_MappingTable ISG PByte Address of an array of Bytes, one for each color of the source BitMap.
MUIA_Bitmap_Precision ISG LongInt Specify the precision value for remapping images.
MUIA_Bitmap_RemappedBitmap __G PBitmap Between MUIM_Setup and MUIM_Cleanup, this attribute will hold a pointer to the remapped bitmap.
MUIA_Bitmap_SourceColors ISG PLongWord This attribute defines the color palette of the source BitMap.
MUIA_Bitmap_Transparent ISG LongInt Use defined color as transparent color.
MUIA_Bitmap_UseFriend I__ BOOL (0/1) Try to allocate the remapped bitmap in a way that allows fastest displaying.
MUIA_Bitmap_Width ISG LongInt Define the pixel width of the BitMap.
Fields inherited from Area
_______________ Field _______________ ___ Access ___ _____ Type _____ Short description
MUIA_Background IS_ LongInt Adjust the background for an object.
MUIA_BottomEdge __G LongInt Current position and dimension of an object.
MUIA_ContextMenu ISG PObject_ Specifies a context sensitive popup menu for the current object.
MUIA_ContextMenuTrigger __G PObject_ Allows reacting on context menus with notificaton.
MUIA_ControlChar ISG PObject_ Allows reacting on context menus with notificaton.
MUIA_CycleChain ISG LongInt Define cycle chain position.
MUIA_Disabled ISG BOOL (0/1) Disable or enable a gadget.
MUIA_Draggable ISG BOOL (0/1) Set this if you want the complete object to be dragable for Drag'n'Drop operations.
MUIA_Dropable ISG BOOL (0/1) Set as active Drag'n'Drop target.
MUIA_FillArea IS_ BOOL (0/1) Define if a custom class should clear the background.
MUIA_FixHeight I__ LongInt Give your object a fixed pixel height.
MUIA_FixHeightTxt I__ PChar Give your object a fixed pixel height given by a text height.
MUIA_FixWidth I__ LongInt Give your object a fixed pixel width.
MUIA_FixWidthTxt I__ PChar Give your object a fixed pixel width given by a text height.
MUIA_Font I_G PTextFont Give your object a fixed pixel width given by a text height.
MUIA_Frame I__ LongInt Define a frame for the current object.
MUIA_FramePhantomHoriz I__ BOOL (0/1) Do not draw horizontal frame border
MUIA_FrameTitle I__ PChar Text displayed centered in the top line of a frame.
MUIA_Height __G PChar Read current height of object.
MUIA_HorizDisappear ISG LongInt Priority for disappearing if parent is too small in height.
MUIA_HorizWeight ISG SmallInt Adjust the horizontal weight of an object.
MUIA_InnerBottom I_G LongInt Adjust the space between an object and its frame.
MUIA_InnerLeft I_G LongInt Adjust the space between an object and its frame.
MUIA_InnerRight I_G LongInt Adjust the space between an object and its frame.
MUIA_InnerTop I_G LongInt Adjust the space between an object and its frame.
MUIA_InputMode I__ LongInt Adjust the input mode for an object.
MUIA_LeftEdge __G LongInt Read current left edge of object.
MUIA_MaxHeight I__ LongInt Specify a maximum height for an object (in pixels).
MUIA_MaxWidth I__ LongInt Specify a maximum height for an object (in pixels).
MUIA_Pressed __G BOOL (0/1) Get if a Button is pressed or not.
MUIA_RightEdge __G BOOL (0/1) Read current right edge of object.
MUIA_Selected ISG BOOL (0/1) Selected state of object.
MUIA_ShortHelp ISG PChar Specify a string that is to be used as bubble help for this object.
MUIA_ShowMe ISG BOOL (0/1) Define if the object is visible or not.
MUIA_ShowSelState I__ BOOL (0/1) Reverse object frame if selected.
MUIA_Timer __G LongInt Define a Button repeatly firing.
MUIA_TopEdge __G LongInt Read current top edge of object.
MUIA_VertDisappear __G LongInt Priority for disappearing if parent is too small in width.
MUIA_VertWeight ISG SmallInt Adjust the vertical weight of an object.
MUIA_Weight I__ SmallInt Adjust the vertical and horizontal weight of an object in one call.
MUIA_Width __G LongInt Read current width of object.
MUIA_Window __G PWindow Get intuition window struct of the parent window.
MUIA_WindowObject __G PObject_ Get window object of the parent window.
Fields inherited from Notify
_______________ Field _______________ ___ Access ___ _____ Type _____ Short description
MUIA_ApplicationObject __G PObject_ Obtain a pointer to the application object that some gadget belongs
MUIA_AppMessage __G PAppMessage Listen to this field to get AppMessages (Icon dropped on the App window)
MUIA_HelpLine ISG LongInt Define a line in a help file specified with MUIA_Application_HelpFile
MUIA_HelpNode ISG PChar Define a node in a help file specified with MUIA_Application_HelpFile
MUIA_NoNotify _S_ BOOL (0/1) Prevent notification from being triggered on attribute set
MUIA_ObjectID ISG LongWord Identification for object on save/load
MUIA_Parent __G PObject_ Get a pointer to the parent object of the current object
MUIA_Revision __G LongInt Get the revision number of an objects class
MUIA_UserData ISG LongWord A general purpose value to fill in any kind of information
MUIA_Version __G LongInt Get the version number of an objects class

Methods inherited from Area
_______________ Method _______________ Short description
MUIM_AskMinMax Ask minimum and maximum of the object. For custom classes only.
MUIM_Cleanup For custom classes only.
MUIM_ContextMenuBuild Allows dynamic creation of context menus.
MUIM_ContextMenuChoice Allows reacting on context menus in subclasses.
MUIM_CreateBubble Create a bubble message.
MUIM_CreateShortHelp Allows dynamic creation of help bubble texts.
MUIM_DeleteBubble Remove a bubble message.
MUIM_DeleteShortHelp Remove help bubble texts memory.
MUIM_DragBegin Inform an object that it has become the active destination of a drag'n'drop action.
MUIM_DragDrop Indicate that the user dropped something on the current object.
MUIM_DragFinish Indicate that an object is no longer the active destination object of a drag'n'drop action.
MUIM_DragQuery Determine if drag'n'drop is allowed.
MUIM_DragReport Object is still dragged around.
MUIM_Draw Ask the object to draw itself. For use in Custom classes only
MUIM_DrawBackground Draw the background of the object.
MUIM_HandleEvent This method is invoked whenever one of an event handlers trigger signals arrives.
MUIM_HandleInput Handle input messages. For custom classes only.
MUIM_Hide For custom classes only.
MUIM_Setup For custom classes only.
MUIM_Show For custom classes only.
Methods inherited from Notify
_______________ Method _______________ Short description
MUIM_CallHook Call a standard amiga callback hook
MUIM_Export Called on export object to dataspace
MUIM_FindUData Find a userdata in objects and childrens list and return the object
MUIM_GetConfigItem
MUIM_GetUData Find a userdata in objects and childrens list and return an attribute of the object
MUIM_Import Called on import object from dataspace
MUIM_KillNotify Kills previously given notifications on specific attributes
MUIM_KillNotifyObj
MUIM_MultiSet Set an attribute for multiple objects.
MUIM_NoNotifySet Acts like MUIM_Notify but doesn't trigger any notification
MUIM_Notify Add a notification event handler to an object
MUIM_Set Set an attribute to a value
MUIM_SetAsString Set a (text kind) attribute to a string.
MUIM_SetUData Find a userdata in objects and childrens list and set an attribute of the object
MUIM_SetUDataOnce This method performs like MUIM_SetUData, but stop at first found object.
MUIM_WriteLong This method simply writes a longword somewhere to memory.
MUIM_WriteString This method simply copies a string somewhere to memory.
MUIM_ConnectParent (AROS only)
MUIM_DisconnectParent (AROS only)

Documentation generated on: 2021-07-30