Table of Contents
Table of contents
General
Functions, Macros
- MAddTimeout
- MAllocCell Allocates a read-write color cell for color animation purpose
- MAllocColor Allocates a color with the R-G-B components specified in parameters (r,g,b)
and returns its identifier
- MAllocDefaultBackgroundColor Re-allocates the default background color and returns its identifier
- MAllocImage Creates an image of size 'img_w' x 'img_h' with a color depth
of 'nplanes'
- MAllocShiftColor Allocates a shared color as a shade of the color c; shift specifies the shade intensity
(darker if < 100, brighter if > 100)
- MBottomAttach
- MCallAllTimeoutCallbacks
- MCallExpiredTimeoutCallbacks
- MClearTimeout
- MCreateClippedEdit
- MCreateClippedForm
- MCreateClippedHiddenEdit
- MCreateClippedMLEdit
- MCreateColForm
- MCreateDrawArea
- MCreateDrawnPButton
- MCreateDrawnRButton
- MCreateDrawnTButton
- MCreateEdit
- MCreateEditList
- MCreateHiddenEdit
- MCreateImagePButton
- MCreateImageRButton
- MCreateImageTButton
- MCreateLabel
- MCreateMenu
- MCreateMenuBar
- MCreateOptionEdit
- MCreatePagedColForm
- MCreatePagedColFormExt
- MCreatePagedForm
- MCreatePagedFormExt
- MCreatePagedRowForm
- MCreatePagedRowFormExt
- MCreatePButton
- MCreatePixmapFromData
- MCreatePixmapFromFile
- MCreatePopupMenu
- MCreateRButton
- MCreateRowForm
- MCreateScrollBar
- MCreateScrolledForm
- MCreateScrolledMLEdit
- MCreateSFile
- MCreateShell
- MCreateSList
- MCreateSListClip
- MCreateSListMultiSel
- MCreateSListSkip
- MCreateStatusBar
- MCreateSText
- MCreateSTextClip
- MCreateSubMenu
- MCreateTableForm Creates a TableForm object having 'n_cols' columns and returns its identifier
- MCreateTButton
- MDeleteObject
- MDispatchObjEvent
- MDrawArc
- MDrawAreaSetExposeCallback
- MDrawAreaSetInputCallback
- MDrawAreaSetResizeCallback
- MDrawBGNText
- MDrawBGText
- MDrawBox
- MDrawCircle
- MDrawFilledArc
- MDrawFilledBox
- MDrawFilledCircle
- MDrawFilledPolyline
- MDrawImage
- MDrawLine
- MDrawNText
- MDrawPoint
- MDrawPolyline
- MDrawShadowedNText
- MDrawShadowedText
- MDrawText
- MDrawXorBox
- MDrawXorLine
- MEditChangeText
- MEditFindSubStringBackward
- MEditFindSubStringForward
- MEditGetCursorPos
- MEditGetCursorXY
- MEditGetFilter
- MEditGetSelection
- MEditGetSubString
- MEditHide
- MEditListAddItem
- MEditListAddItemFromEdits Adds an item in the EditList using the values in its EditField objects
- MEditListChangeElement
- MEditListDelElement
- MEditListGetEditText Gets the text currently stored in the n-th EditField and stores it in the buffer pointed to by 'buff'
- MEditListGetItemField
- MEditListSeekItem
- MEditListSetEditText Sets the text in the buffer 'buff' in the n-th EditField
- MEditSetActCallback
- MEditSetAutoIndent
- MEditSetClipWindow
- MEditSetCursorPos
- MEditSetCursorPosCallback
- MEditSetCursorXY
- MEditSetFilter
- MEditSetHotKeyCallback
- MEditSetMargin
- MEditSetNewValueCallback
- MEditSetNotValidatedColors
- MEditSetReplace
- MEditSetSelection
- MEditSetTabSize
- MEditSetTextExt
- MEditSetValCallback
- MEditSetValidatedColors
- MEditSetValidationStatus
- MEditSetValueChangeCallback
- MEditUnhide
- MEditValue
- MFormAddKeyCallback
- MFormFocusLink
- MFormGetClipX
- MFormGetClipY
- MFormGetFirstChild
- MFormGetNChildren
- MFormGetNextChild
- MFormSetChildSelectCallback
- MFormSetClipX
- MFormSetClipY
- MFormSetFocusHighlight
- MFormSetFocusWrap
- MFormSetPrefAtt
- MFormSetSpacing
- MFreeCell Frees a read-write color cell and makes it available for both read-write and shared use
- MFreeColor Frees a no longer needed shared color
- MFreeImage Frees an image by deallocating all used colors and memory
- MGetDefaultBackgroundRGB Returns in the integers pointed to by 'pr', 'pg', 'pb' the R, G, B values of the
default background color
- MGetDefaultForegroundRGB Returns in the integers pointed to by 'pr', 'pg', 'pb' the R, G, B values of the
default foreground color
- MGetSelectedObject
- MGUIMain This function substitutes the ordinary C main() in MGUI programs
- MGUITerm Frees all allocated graphic resources and shopuld be followed by a call to exit()
- MImageGetCMapEntry Returns in the integers pointed to by 'pr, 'pg', 'pb' the R-G-B
values of the image's colormap entry 'i'
- MImageGetInfo Returns image size and color depth in the integers pointed to by
'pw', 'ph' and pnplanes'
- MImageGetPixelIndex Returns the index in the colormap corresponding to the image pixel
at location ('x','y')
- MImageGetPixelRGB Returns in the integers pointed to by 'pr', 'pg', 'pb'
the R-G-B values of the pixel at location ('x','y') in the
image 'pmi'
- MImageSetCMapEntry Stores the R-G-B value formed by 'r, 'g', 'b' in the image's
colormap entry 'i'
- MImageSetPixelIndex Sets the color of the pixel at location ('x','y') in image 'img'
with R-G-B values of the image's colormap entry 'i'
- MImageSetPixelRGB Sets the R-G-B components of the pixel at location ('x','y') in the
image 'pmi' with the values in the parameter 'r', 'g', 'b'
- MInsertObject
- MInstallImage Allocates all colors required by the image and makes it ready to
be drawn
- MIsEditValidated
- MLabelSetAlignment
- MLabelSetHSpacing
- MLabelSetMargin
- MLabelValue
- MLeftAttach
- MMenuAddItem
- MMenuAddRadioItem
- MMenuAddSeparator
- MMenuAddToggleItem
- MMenuBarSetAcc
- MMenuGetTitleText
- MMenuItemGetCheckStatus
- MMenuItemGetMenu
- MMenuItemGetText
- MMenuItemSetAccel
- MMenuItemSetCheckStatus
- MMenuItemSetSensitive
- MMenuItemSetText
- MMenuItemSetUnsensitive
- MMenuItemToggleCheckStatus
- MMenuSetItemSelectCB
- MMenuSetTitleText
- MObjectAddDestroyCallback
- MObjectAddEventNotifyCallback
- MObjectAlign
- MObjectBackgroundColor
- MObjectChangeLabelHelpText
- MObjectChangePopupHelpText
- MObjectDestroy
- MObjectEnableOptions
- MObjectForegroundColor
- MObjectGetEnabledOptions
- MObjectGetFont
- MObjectGetHScrollBar
- MObjectGetName
- MObjectGetSensitivity
- MObjectGetShadow
- MObjectGetText
- MObjectGetUserData
- MObjectGetVScrollBar
- MObjectHeight
- MObjectMap
- MObjectParent
- MObjectRedraw
- MObjectRemoveDestroyCallback
- MObjectRemoveEventNotifyCallback
- MObjectResize
- MObjectSaveOptions
- MObjectSetAttachment
- MObjectSetBackgroundRGB
- MObjectSetColor
- MObjectSetCursor
- MObjectSetFont
- MObjectSetForegroundRGB
- MObjectSetLabelHelp
- MObjectSetName
- MObjectSetOffset
- MObjectSetPopupHelp
- MObjectSetResize
- MObjectSetSelectable
- MObjectSetSensitive
- MObjectSetSensitivity
- MObjectSetShadow
- MObjectSetText
- MObjectSetUnselectable
- MObjectSetUnsensitive
- MObjectSetUserData
- MObjectShell
- MObjectType
- MObjectUnmap
- MObjectWidth
- MObjectX
- MObjectY
- MOptionEditGetList
- MPagedFormSetActivePage
- MPButtonSetAccelerator
- MPButtonSetAlignment
- MPButtonSetCallback
- MPButtonSetHSpacing
- MPButtonSetImage
- MPButtonSetMargin
- MPButtonSetRepeatDelay
- MPixmapGetImage
- MPixmapSetImage
- MPixmapSetImageFile
- MPopupMenu
- MQueryColor Returns in the integers pointed to by 'pr', 'pg', 'pb' the R, G, B values of the
color 'col'
- MRButtonActivate
- MRButtonDeactivate
- MRButtonGetActivationStatus
- MRButtonSetCallback
- MRButtonSetImage
- MReadBMPFile Creates an image using the data in the BMP file named 'fname'
- MReadGIFFile Creates an image using the data in the GIF file named 'fname'
- MReadJPEGFile Creates an image using the data in the JPEG file named 'fname'
- MReadTIFFFile Creates an image using the data in the TIFF file named 'fname'
- MRefreshTimeout
- MRemoveTimeout
- MReparentObject
- MRightAttach
- MSBLGetHead retrieves the head text of a SList
- MSBLHeadSetColor
- MSBLSetHead
- MSBLSetHMargin
- MScrollBarGetMax
- MScrollBarGetN
- MScrollBarGetPos
- MScrollBarSetIncr
- MScrollBarSetMax
- MScrollBarSetN
- MScrollBarSetPos
- MScrollBarSetPosCallback
- MScrollBarSetValues
- MScrolledFormSetIncr
- MSelectFirstChild
- MSelectLastChild
- MSelectNextBrother
- MSelectNextCousin
- MSelectObject
- MSelectPreviousBrother
- MSelectPreviousCousin
- MSetCellColor Changes the R-G-B values of the color stored in the read-write cell 'c'
- MSetDefaultBackgroundRGB Sets the default background color used for MGUI object creation
- MSetDefaultForegroundRGB Sets the default foreground color used for MGUI object creation
- MSFileSetFile
- MShellConfigure
- MShellDestroy
- MShellGetTitle
- MShellGetWindow
- MShellRaise
- MShellRealize
- MShellRealizeXY
- MShellRealizeXYWH
- MShellSetTitle
- MShellSetWMCloseCallback
- MShellUnrealize
- MSListAddElement
- MSListAddItem
- MSListChangeElement
- MSListChangeItem
- MSListClear
- MSListDelElement
- MSListDelItem
- MSListDeselectElement
- MSListDeselectItem
- MSListEnableMultiSel
- MSListFreeze
- MSListGetElement
- MSListGetFirstItem
- MSListGetFirstSelectedItem
- MSListGetFirstUnselectedItem
- MSListGetItem
- MSListGetItemCheckStatus
- MSListGetNextItem
- MSListGetNextSelectedItem
- MSListGetNextUnselectedItem
- MSListGetNItem
- MSListGetSelected
- MSListReset
- MSListSelectElement
- MSListSelectItem
- MSListSetCallback
- MSListSetItemCheckStatus
- MSListSetPickCallback
- MSListSetSelectionCallback
- MSListSetSortCallback
- MSListThaw
- MStatusBarSetMax
- MStatusBarSetPos
- MStatusBarSetWidth
- MSTextSetString
- MTableFormGetCellObject Returns the object at location ('x','y') [col,row] in a TableForm object
- MTableFormGetCellText Returns in the buffer pointed to by 'text' the text of the object at
location ('x','y') [col,row] in a TableForm
- MTableFormGetNCol Returns the current number of columns of a TableForm object
- MTableFormHideGrid Disables the visibility of the TableForm's grid
- MTableFormSetCellAlign Sets the horizontal and vertical alignment for the object at location
('x','y') [col,row] in a TableForm
- MTableFormSetCellBackgroundRGB Sets the background color of the object at location ('x','y')
[col,row] in a TableForm to the R-G-B values 'r', 'g', 'b'
- MTableFormSetCellFont Sets the font for the object at location ('x','y') [col,row] in a TableForm
- MTableFormSetCellForegroundRGB Sets the foreground color of the object at location ('x','y')
[col,row] in a TableForm to the R-G-B values 'r', 'g', 'b'
- MTableFormSetCellText Sets the text in the buffer pointed to by 'text' in the object at
location ('x','y') [col,row] in a TableForm
- MTableFormSetColAlign Sets the horizontal alignment for all objects in the col 'col'
of a TableForm
- MTableFormSetColBackgroundRGB Sets the background color of all objects at column 'col'
in a TableForm to the R-G-B values 'r', 'g', 'b'
- MTableFormSetColFont Sets the font 'f' for all objects in the col 'col' of a TableForm
- MTableFormSetColForegroundRGB Sets the foreground color of all objects at column 'col'
in a TableForm to the R-G-B values 'r', 'g', 'b'
- MTableFormSetColWidth Sets the width of all objects in the col 'col' of a TableForm to 'w'
- MTableFormSetNCol Sets to 'nc' the current number of columns
- MTableFormSetRowAlign Sets the vertical alignment for all objects in the row 'row'
in a TableForm
- MTableFormSetRowHeight Sets the height of all objects in the row 'row' of a TableForm to 'h'
- MTableFormShowGrid Enables the visibility of the TableForm's grid
- MTButtonActivate
- MTButtonDeactivate
- MTButtonGetActivationStatus
- MTButtonSetActivationStatus
- MTButtonSetCallback
- MTButtonSetImage
- MTopAttach
- MUninstallImage Deallocates image colors and frees internal resources
- MWriteBMPFile Writes the image 'img' to a file named 'name' in BMP format
- MWriteJPEGFile Writes the image 'img' to a file named 'name' in tiff format
- MWriteTIFFFile Writes the image 'img' to a file named 'name' in tiff format
Variables
Macros
- MOBJECT
MOBJECT is the Object type identifier
- Window
Window identifier for DOS and Linux/console environments
Enums, Unions, Structs
- _Window
Window structure for DOS and Linux/console environments
- DRAWAREA_PREF
DrawArea Object's resize preferences (for use in the resize callback)
- EDIT_CHANGE
Value Change structure for the Edit Object
- EDIT_CURS
Cursor Position structure for the Edit Object
- EDIT_VAL
Validation structure for the EditField Object
- EL_TEMPLATE
Template structure for the EditList Object's creation
- IMAGE_CMAP
This structure describes the colormap entry
- LIST_ACT
List Item Activation structure
- LIST_SEL
List Item Selection structure
- MAnyWindowEvent
Generic window event
- MIMAGE_DESCR
Image description structure
- MKeyEvent
Keyboard event
- MPOINT
Point structure
- MRECT
Rectangle structure
- RLIST
Rectangle list
- SBL_ITEM_SEEK
This structure is used by the ItemSeek callback for 'Clip' and 'Skip' lists
- SBL_NEW_BLOCK
This structure is passed to the NewBlock callback by the 'Clip' and
'Skip' List Objects
- XL_ITEM
List Item structure
hierarchy of classes
MGUI
Copyright 1996-1998 Vincenzo Morello
generated by doc++