19 void MGUIMain(
int argc,
char **argv);
42 int MGetIntOption(
const char *obj_name,
const char *opt_name,
int *ret);
48 void MSetStringOption(
const char *obj_name,
const char *opt_name,
const char *value);
51 void MSetIntOption(
const char *obj_name,
const char *rname,
int val);
54 void MSetShadowOption(
const char *obj_name,
int shadow,
int in_t,
int out_t);
150 void MLogInit(
int level,
int nr,
int nvr,
int nc,
int nvc,
const char *fname);
151 void MLog(
int level,
const char *fmt, ...);
152 void MMaskedLog(
int level, CARD32 mask,
const char *fmt, ...);
153 void vMLog(
int level,
const char *fmt, va_list vl);
154 void vMMaskedLog(
int level, CARD32 mask,
const char *fmt, va_list vl);
163 void Trace(
const char *fmt,...);
164 void vTrace(
const char *fmt, va_list vl);
404 int clip_w,
int clip_h,
int head_rows,
int head_cols);
449 int clip_w,
int clip_h,
MTFont f);
473 const char *npf,
const char *apf,
const char *upf,
474 const char *non,
const char *aon,
const char *uon);
481 const char *npf,
const char *apf,
const char *upf);
483 const char *npf,
const char *apf,
const char *upf,
484 const char *non,
const char *aon,
const char *uon);
501 const char *npf,
const char *apf,
const char *upf);
503 const char *npf,
const char *apf,
const char *upf,
504 const char *non,
const char *aon,
const char *uon);
511 const char *npf,
const char *apf,
const char *upf);
513 const char *npf,
const char *apf,
const char *upf,
514 const char *non,
const char *aon,
const char *uon);
530 const char *npf,
const char *apf,
const char *upf);
532 const char *npf,
const char *apf,
const char *upf,
533 const char *non,
const char *aon,
const char *uon);
540 const char *npf,
const char *apf,
const char *upf);
542 const char *npf,
const char *apf,
const char *upf,
543 const char *non,
const char *aon,
const char *uon);
564 const char *npf,
const char *apf,
const char *upf,
565 const char *npfo,
const char *apfo,
const char *upfo);
587 #define MStatusBarSetWidth(obj, w) MObjectSetWidth(obj, w) 610 MTFont font,
int nrow,
int ncol,
int xc,
long xn);
616 int row_len,
int nrow,
int ncol);
619 int nrow,
int ncol,
int xc,
long xn);
622 int nrow,
int ncol,
int xc);
625 int ne,
int nrow,
int ncol);
858 MTFont font,
int width,
int height, CARD16 flags);
866 int MMessageDialog(
const char *t,
const char *msg,
const char *btn1,
const char *btn2, ...);
867 int vMMessageDialog(
const char *t,
const char *msg,
const char *btn1,
const char *btn2, va_list vl);
868 int MInputPrompt(
const char *t,
const char *msg,
char *text,
int len,
const char *ok_btn,
869 const char *canc_btn);
870 char *
MTextPrompt(
const char *t,
const char *msg,
const char *text,
int w,
int h,
const char *ok,
872 int MFileSelection(
const char *title,
const char *filter,
char *fname,
char *dname,
874 int MFileBrowse(
const char *title,
const char *filter,
char *fname,
char *dname,
876 int MFileBrowseExt (
const char *t,
const char *ext,
char *fname,
char *dname,
878 int MDirSelection(
const char *title,
const char *filter,
char *dname,
880 int MDirBrowse(
const char *title,
const char *filter,
char *dname,
893 const char *file_list,
const char *dir_list,
894 const char *drive_list,
const char *filter,
895 const char *filename,
const char *curr_dir,
896 const char *ok_button,
const char *close_button);
898 const char *write_protect,
899 const char *not_ready,
900 const char *unformatted,
901 const char *not_responding);
943 DOC_ID MOpenPrintDoc(
char *doc_name,
int open_dialog,
int orientation, MPAGE_OPTIONS *pages);
944 void MClosePrintDoc(DOC_ID
id);
945 void MPrintDocNextPage(DOC_ID
id);
946 void MPrintObject(
MOBJECT obj, DOC_ID
id, MPRINT_OPTIONS *po);
947 void MPrintImage(
MIMAGE mpm,
int full);
948 int MPrintSetup(
int orientation,
int *xres,
int *yres,
int *pwidth,
int *pheight,
int *nplanes);
void MObjectSetColor(MOBJECT obj, MTColor bgc, MTColor fgc)
void MSTextSetString(MOBJECT p, const char *text)
MOBJECT MObjectGetHScrollBar(MOBJECT obj)
void MEditDisableEditing(MOBJECT edit)
MIMAGE MDrawnButtonChangeUnsensitiveOnImage(MOBJECT button, MIMAGE new_img)
MTNODE MTreeNodeGetParent(MTNODE node)
void MObjectEnableOptions(MOBJECT obj, const char *name, CARD32 mask)
void MQueryColor(MTColor col, int *pr, int *pg, int *pb)
const char * MDirBrowserGetDirectory(MOBJECT db)
void * MTreeNodeGetUserData(MTNODE node)
MOBJECT MCreateSplitter(MOBJECT sf)
void MMenuItemSetText(MENU_ITEM item, const char *text)
void MFormSetFocusWrap(MOBJECT f, int true_false)
void vTrace(const char *fmt, va_list vl)
int MObjectType(MOBJECT obj)
MOBJECT MCreatePosForm(MOBJECT parent)
MIMAGE MReadTIFFFile(const char *fname)
void MObjectSetBackgroundRGB(MOBJECT obj, int r, int g, int b)
void MEditSetReplace(MOBJECT edit)
int MEditGetFilter(MOBJECT p)
void MSetShadowOption(const char *obj_name, int shadow, int in_t, int out_t)
long MSListGetNItem(MOBJECT p)
MOBJECT MSListGetHScrollBar(MOBJECT p)
MOBJECT MCreateTButton(MOBJECT parent, const char *text, MTFont font)
MTCursor MCreateCursor(MIMAGE bits, int xs, int ys)
int MShouldRetryDueToDiskError(void)
void MPButtonSetHSpacing(MOBJECT p, int hs)
void MObjectSaveOptions(MOBJECT obj)
const char * MMenuGetTitleText(MOBJECT obj)
void MDispatchObjEvent(MOBJECT p, MEvent *pe)
void MObjectSetBGImageMaskByCMapIndex(MOBJECT obj, int id)
void MRefreshTimeout(TIMEOUT_ID *pid, CARD32 msec, TIMEOUT_CB cb, void *ud)
void MEditSetAutoIndent(MOBJECT edit, int on_off)
int MObjectUsesFGColorFromParent(MOBJECT obj)
MOBJECT MSListGetVScrollBar(MOBJECT p)
long MScrollBarGetMax(MOBJECT p)
void MTableFormSetCellAlign(MOBJECT form, int x, int y, int h_al, int v_al)
int MGetIntOption(const char *obj_name, const char *opt_name, int *ret)
void MDirBrowserSetDirectory(MOBJECT db, const char *dir, int notify)
void MLabelSetHSpacing(MOBJECT p, int hs)
void MLogSetLevel(int level)
MOBJECT MCreatePixmapFromFile(MOBJECT parent, const char *fname)
int MSpoolFile(const char *fname)
void MImageSetMask(MIMAGE dst, MIMAGE mask)
void MImageMerge(MIMAGE dst, MIMAGE src, int xo, int yo, int transparent)
MTColor MAllocCell(int r, int g, int b)
void MObjectSetAutoScrollWhenSelected(MOBJECT obj, int TrueFalse)
MOBJECT MCreateImageTButton(MOBJECT parent, const char *npf, const char *apf, const char *upf)
MTNODE MTreeCreateNode(MOBJECT tree, MTNODE parent, CARD16 type, CARD16 flags, const char *text)
void MObjectSetBackgroundColor(MOBJECT obj, MTColor bgc)
MOBJECT MTreeGetHScrollBar(MOBJECT p)
int MWriteBMPFile(MIMAGE img, const char *fname)
void MEditListSetEditText(MOBJECT p, int n, const char *buff)
void MSetInputPromptRGB(int r, int g, int b)
void MObjectSetSelectable(MOBJECT obj)
LIST_ACT * MSListGetElement(MOBJECT p, long n)
void MObjectSetPosition(MOBJECT obj, int x, int y)
void MLoopWhileEvents(int discard)
MOBJECT MOptionEditGetList(MOBJECT ce)
MIMAGE MReadPNGFile(const char *fname)
void MMenuBarSetAcc(MOBJECT menu, int acc)
int MObjectGetCompositeWidth(MOBJECT obj)
void MGetMessageDialogRGB(int *pr, int *pg, int *pb)
void MStatusBarSetMax(MOBJECT p, int max)
void(* MTREE_NODE_CB)(MTNODE node, void *ad)
void MDrawXorLine(MOBJECT p, int x1, int y1, int x2, int y2)
void MWriteCARD32(FILE *fp, CARD32 val)
void MObjectRemoveEventNotifyCallback(MOBJECT obj, OBJ_EVENT_CB cb, void *a_data)
void MObjectSetShadow(MOBJECT obj, int type, int in, int out)
MTColor MBlackColor(void)
LIST_ACT * MSListGetFirstUnselectedItem(MOBJECT p)
void MObjectSetBackgroundImage(MOBJECT obj, MIMAGE img, int mode)
void MSelectObject(MOBJECT f)
void MShellRealize(MOBJECT obj)
void(* SOCKET_CB)(int s, unsigned event, void *data)
void(* NEW_BLOCK_CB)(MOBJECT obj, SBL_NEW_BLOCK *nbs, void *ad)
MTNODE MTreeGetSelectedNode(MOBJECT tree)
MIMAGE MReadGIFFile(const char *fname)
void MSocketSetEventsMask(int s, unsigned events)
void MImageComputeBackgroundRGB(MIMAGE img, int *pr, int *pg, int *pb)
LIST_ACT * MSListGetNextUnselectedItem(MOBJECT p)
void MImageSetPixelIndex(MIMAGE pmi, int x, int y, int i)
MOBJECT MCreateEdit(MOBJECT parent, const char *text, int len, MTFont font)
void MLog(int level, const char *fmt,...)
void MObjectSetUnsensitive(MOBJECT obj)
void MEditSetTextExt(MOBJECT edit, const char *text, int validated, int notify)
void MBottomAttach(MOBJECT child, int att_type, int off, MOBJECT obj)
int MGetDiskError(int *disk, int *code)
void MEditListChangeElement(MOBJECT p, long n, char **new_ele, void *data)
void MDrawLine(MOBJECT p, int x1, int y1, int x2, int y2, MTColor col)
int MObjectGetX(MOBJECT obj)
const char * MLabelValue(MOBJECT label)
void MSetFontOption(const char *obj_name, MTFont font)
void MObjectGetShadow(MOBJECT obj, int *type, int *in, int *out)
int MGetFontOption(const char *obj_name, MTFont *ret)
void MDrawFilledBox(MOBJECT p, int x, int y, int w, int h, MTColor bgc)
void MLogSetMask(CARD32 a)
LIST_ACT * MSListGetFirstItem(MOBJECT p)
void MTButtonDeactivate(MOBJECT o)
int MTextWidth(const char *text, MTFont font)
void MLogSetTimeFormat(const char *strftime_format)
void MOptionEditSetListCallback(MOBJECT obj, LIST_ACT_CB cb, void *data)
int MDirSelection(const char *title, const char *filter, char *dname, int change_cur_dir)
void MPixmapSetImageFile(MOBJECT pixmap, const char *fname)
void MFormSetFocusHighlight(MOBJECT f, int true_false)
MIMAGE MCreateImageMaskByRGB(MIMAGE img, int r, int g, int b)
void MScrollBarSetIncr(MOBJECT p, int incr)
MIMAGE MDrawnButtonChangeNormalImage(MOBJECT button, MIMAGE new_img)
void MMenuBarSetHighLightFGColor(MOBJECT obj, MTColor fgc)
MOBJECT MTableFormGetCellObject(MOBJECT form, int x, int y)
void(* MENU_ITEM_CB)(MENU_ITEM item, MVALUE status, void *ad)
void MImageSetMaskByPixel(MIMAGE img, int x, int y)
int MObjectGetHeight(MOBJECT obj)
void MLogResetMaskBits(CARD32 a)
int MCharHeight(unsigned int car, MTFont font)
int(* MTREE_NODE_RENAME_CB)(MTNODE node, const char *, void *ad)
MOBJECT MCreateLabel(MOBJECT parent, const char *text, MTFont font)
MENU_ITEM MMenuAddItem(MOBJECT pd, const char *item, MENU_ITEM_CB cb, void *ad)
void MObjectSetX(MOBJECT obj, int x)
int MObjectGetCompositeHeight(MOBJECT obj)
void MTreeSetHighLightFGColor(MOBJECT obj, MTColor fgc)
void MSetMessageDialogFonts(MTFont text_font, MTFont buttons_font)
void MSBLSetHead(MOBJECT obj, const char *text)
void MReparentObject(MOBJECT parent, MOBJECT obj, MOBJECT where)
void MSListEnableItemMotion(MOBJECT p)
void MTreeSetSliderColor(MOBJECT p, MTColor color)
void MObjectSetResize(MOBJECT obj, int resize_w, int resize_h)
void MFormAddKeyCallback(MOBJECT shell, int key, OBJ_VALUE_CB cb, void *ad)
const char * MMenuItemGetText(MENU_ITEM item)
int MEditListAddItemFromEdits(MOBJECT p, void *u_data)
void MDrawFilledArc(MOBJECT p, int x, int y, int r, int a1, int a2, MTColor c)
LIST_ACT * MSListGetNextSelectedItem(MOBJECT p)
void MTableFormSetCellBackgroundRGB(MOBJECT form, int x, int y, int r, int g, int b)
MTColor MAllocShiftColor(MTColor col, int percentage)
void MButtonUnsetShadowOnMouseOver(MOBJECT obj)
int MSListDelElement(MOBJECT p, long n)
void MTButtonActivate(MOBJECT o)
void MSBLGetHead(MOBJECT obj, char *buff)
void MObjectSetMinSize(MOBJECT obj, int w, int h)
void(* EDIT_CURS_CB)(MOBJECT edit, EDIT_CURS *ev, void *ad)
void MTreeSetPopupCallback(MOBJECT tree, MTREE_POPUP_CB cb, void *ud)
void MTreeSelectNode(MTNODE node, int notify)
void MEditGetCursorXY(MOBJECT edit, int *px, int *py)
int MWriteTIFFFile(MIMAGE img, const char *name, int compression)
void MTableFormSetCellFont(MOBJECT form, int x, int y, MTFont f)
void MButtonChangeImageFiles(MOBJECT obj, const char *npf, const char *apf, const char *upf, const char *npfo, const char *apfo, const char *upfo)
void MSFileSetFile(MOBJECT obj, const char *fname)
MOBJECT MCreateDrawnPButtonExt(MOBJECT parent, MIMAGE pn, MIMAGE pa, MIMAGE pu, MIMAGE pn_on, MIMAGE pa_on, MIMAGE pu_on)
MOBJECT MCreatePagedRowFormExt(MOBJECT parent, int npage)
void MEditSetHotKeyCallback(MOBJECT edit, int key, MGUI_CB cb, void *data)
void MObjectSetBGImageMaskByPixel(MOBJECT obj, int x, int y)
void MSetInputPromptFonts(MTFont text, MTFont edit, MTFont btn)
void MObjectAlign(MOBJECT obj, int h_align, int v_align)
void MSetInputPromptFgRGB(int r, int g, int b)
void MSelectPreviousBrother(MOBJECT f)
MIMAGE MReadImageFile(const char *fname)
void MEditSetValueChangeCallback(MOBJECT edit, EDIT_CHANGE_CB cb, void *data)
void MEditSetClipWindow(MOBJECT edit, int clip_w, int clip_h)
void MStatusBarSetPos(MOBJECT p, int pos)
int MSelectLastChild(MOBJECT f)
void MPagedFormDisablePageKeys(MOBJECT form)
MOBJECT MCreateSubMenu(MENU_ITEM item)
void MSListDeselectItem(MOBJECT p, const char *item)
const char * MGetSysDir(void)
MOBJECT MCreateDrawnRButton(MOBJECT parent, MIMAGE np, MIMAGE ap, MIMAGE up)
MOBJECT MCreateClippedRowForm(MOBJECT parent, int clip_w, int clip_h)
void vMLog(int level, const char *fmt, va_list vl)
void MTreeNodeSetUserData(MTNODE node, void *ud)
void MPButtonSetMargin(MOBJECT p, int wm, int hm)
void MTableFormSetColAlign(MOBJECT form, int col, int al)
void(* MTREE_POPUP_CB)(MTNODE node, int mx, int my, void *ad)
void MEditListGetEditText(MOBJECT p, int n, char *buff)
LIST_ACT * MSListGetFirstSelectedItem(MOBJECT p)
MIMAGE MReadJPEGFile(const char *fname)
char * MGetBGImageOption(const char *obj_name, int *mode)
MOBJECT MCreateDrawnTextPButtonExt(MOBJECT parent, const char *text, MTFont font, MIMAGE pn, MIMAGE pa, MIMAGE pu, MIMAGE pn_on, MIMAGE pa_on, MIMAGE pu_on)
void MSetTextOption(const char *obj_name, const char *text)
void MUnloadFont(MTFont font)
void MSetMessageDialogFgRGB(int r, int g, int b)
MOBJECT MCreateScrolledColForm(MOBJECT parent, int clip_w, int clip_h)
CARD16 MTreeNodeGetType(MTNODE node)
void MSListSelectElement(MOBJECT p, long n)
char * MObjectGetText(MOBJECT obj, char *text)
int(* STRCMP_CB)(const char *, const char *)
void MTableFormSetCellForegroundRGB(MOBJECT form, int x, int y, int r, int g, int b)
void MEditSetTabSize(MOBJECT edit, int size)
MTColor MObjectBackgroundColor(MOBJECT obj)
MOBJECT MScrolledEditGetVScrollBar(MOBJECT p)
int MSelectFirstChild(MOBJECT f)
char * MTreeNodeGetText(MTNODE node, char *text)
MOBJECT MCreateScrolledMLEdit(MOBJECT parent, const char *text, int width, int height, MTFont font)
MOBJECT MCreateClippedEdit(MOBJECT parent, const char *text, int len, int clip_len, MTFont font)
MOBJECT MCreateScrolledRowForm(MOBJECT parent, int clip_w, int clip_h)
MIMAGE MDrawnButtonChangeArmedImage(MOBJECT button, MIMAGE new_img)
MENU_ITEM MMenuAddRadioItem(MOBJECT pd, const char *item, MENU_ITEM_CB cb, void *ad)
void MObjectSetPopupHelp(MOBJECT obj, const char *str, int delay, int duration)
void MPagedFormSetNPages(MOBJECT form, int n_pages)
void MPagedFormSetActivePageCallback(MOBJECT p, OBJ_VALUE_CB cb, void *data)
int MFormGetClipX(MOBJECT obj)
void MSetMessageDialogRGB(int r, int g, int b)
void MDrawAreaSetResizeCallback(MOBJECT obj, DRAWAREA_PREF_CB cb, void *ad)
void MSetFGColorOption(const char *obj_name, int r, int g, int b)
int MCharWidth(unsigned int car, MTFont font)
MTFont MObjectGetFont(MOBJECT obj)
void MEraseArea(MOBJECT o, int x, int y, int w, int h)
MOBJECT MCreateOptionEdit(MOBJECT parent, const char *text, int len, int clip_len, int nrow, MTFont font)
void MShellUnrealize(MOBJECT obj)
void(* ITEM_SEEK_CB)(MOBJECT obj, SBL_ITEM_SEEK *iss, void *ad)
void MMenuSetHighLightFGColor(MOBJECT obj, MTColor fgc)
void(* DB_DIR_CHANGE_CB)(MOBJECT, const char *, void *)
MOBJECT MCreateSFile(MOBJECT parent, const char *fname, MTFont font, int nrow, int ncol)
void MObjectSetText(MOBJECT obj, const char *text)
void MButtonSetAccelerator(MOBJECT button, int key)
void MEditGetSubString(MOBJECT edit, int start, int end, char *str)
void(* OBJ_STRING_CB)(MOBJECT obj, char *str, void *ad)
void MButtonSetTextVsImageAlignment(MOBJECT button, CARD8 align)
void MTreeSetCloseCallback(MOBJECT tree, MTREE_NODE_CB cb, void *ud)
void MEnableCustomizing(void)
void * MObjectGetUserData(MOBJECT obj)
int MFormGetNChildren(MOBJECT form)
void MSBLHeadSetBackgroundImage(MOBJECT obj, MIMAGE img, int mode)
void MObjectSetForegroundColor(MOBJECT obj, MTColor fgc)
MTColor MObjectForegroundColor(MOBJECT obj)
MOBJECT MCreateSListMultiSel(MOBJECT parent, MTFont font, int row_len, int nrow, int ncol)
void MSListSetCallback(MOBJECT obj, LIST_ACT_CB cb, void *data)
MOBJECT MCreateTree(MOBJECT parent, MTFont font, int width, int height, int n_types)
MOBJECT MCreateImageRButtonExt(MOBJECT parent, const char *npf, const char *apf, const char *upf, const char *non, const char *aon, const char *uon)
void MTButtonSetImage(MOBJECT obj, const char *npf, const char *apf, const char *upf)
void MTreeSetSliderColorShift(MOBJECT p, int percentage)
void MSetStringOption(const char *obj_name, const char *opt_name, const char *value)
void MEditSetNotValidatedColors(MOBJECT edit, MTColor bgc, MTColor fgc)
char * MObjectGetName(MOBJECT obj)
MENU_ITEM MMenuAddItemObsolete(MOBJECT pd, const char *item, MGUI_CB cb, void *ad)
void MDeleteObject(MOBJECT obj, int resize)
MOBJECT MCreateImageTextTButtonExt(MOBJECT parent, const char *text, MTFont font, const char *npf, const char *apf, const char *upf, const char *non, const char *aon, const char *uon)
MOBJECT MCreatePagedPosFormExt(MOBJECT parent, int npage)
void MObjectSetOffset(MOBJECT obj, int t_o, int b_o, int l_o, int r_o)
void MTreeSetLineColor(MOBJECT obj, MTColor col)
int MEditFindSubStringForward(MOBJECT edit, int off, const char *str, int icase)
void MSetTraceFileName(const char *filename)
int MObjectUsesBGColorFromBGImage(MOBJECT obj)
int MObjectGetWidth(MOBJECT obj)
void MRemoveTimeout(TIMEOUT_ID id)
int MSpoolTempFile(const char *fname)
void MEditSetValidatedColors(MOBJECT edit, MTColor bg_color, MTColor fg_color)
void MShellDestroy(MOBJECT obj)
int MRButtonGetActivationStatus(MOBJECT o)
MOBJECT MObjectShell(MOBJECT obj)
void MTreeEnableAutoSliderColor(MOBJECT obj)
MOBJECT MCreateScrolledFormattedText(MOBJECT par, const char *text, int clip_w, int clip_h, MTFont f)
void MAddImagePath(const char *path)
void MRemoveSocketHandler(int s)
MOBJECT MCreateTableForm(MOBJECT parent, int n_cols)
void MSBLDisableAutoSliderColor(MOBJECT obj)
void MEditEnableEditing(MOBJECT edit)
MIMAGE MDrawnButtonChangeNormalOnImage(MOBJECT button, MIMAGE new_img)
void MMenuSetTitleText(MOBJECT pd, const char *text)
MOBJECT MCreateDrawnTButton(MOBJECT parent, MIMAGE np, MIMAGE ap, MIMAGE up)
void MObjectMakeVisible(MOBJECT obj)
void MShellRealizeXYWH(MOBJECT obj, int x, int y, int w, int h)
void(* LIST_ACT_CB)(MOBJECT list, LIST_ACT *la, void *ad)
void MSListDeselectElement(MOBJECT p, long n)
int MObjectUsesBGColorFromParent(MOBJECT obj, int *pret)
void MGetMessageDialogFgRGB(int *pr, int *pg, int *pb)
void MImageGetInfo(MIMAGE pmi, int *pw, int *ph, int *pnplanes)
void MMenuBarSetHighLightColors(MOBJECT obj, MTColor bgc, MTColor fgc)
File Browser Preferences. Used by the Utility functions MFileBowserExt() and MDirBowserExt().
int MGetFGColorOption(const char *obj_name, int *pr, int *pg, int *pb)
MOBJECT MCreateImageTextPButton(MOBJECT parent, const char *text, MTFont font, const char *npf, const char *apf, const char *upf)
int MWriteJPEGFile(MIMAGE img, const char *name, int quality)
const char * MEditValue(MOBJECT edit)
void MFormSetClipY(MOBJECT obj, int clip_y)
void MSetDiskErrorTextStrings(const char *write_protect, const char *not_ready, const char *unformatted, const char *not_responding)
char * MGetStringOption(const char *obj_name, const char *opt_name)
unsigned int data[576]
Conversion data buffer 64 samples * 8 channels * 2 bytes.
void MTableFormSetNCol(MOBJECT form, int nc)
void MTButtonSetCallback(MOBJECT button, OBJ_VALUE_CB cb, void *data)
void MRButtonSetCallback(MOBJECT button, OBJ_VALUE_CB cb, void *data)
MOBJECT MCreatePButton(MOBJECT parent, const char *text, MTFont font)
void MTreeCloseNode(MTNODE node, int notify)
void MDrawShadowedNText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, int sh, MTColor fgc1, MTColor fgc2, int align, int n)
void MMaskedLog(int level, CARD32 mask, const char *fmt,...)
void MImageSetPixelAlpha(MIMAGE img, int x, int y, CARD8 alpha)
int vMMessageDialog(const char *t, const char *msg, const char *btn1, const char *btn2, va_list vl)
void MObjectSetBGImageMaskByRGB(MOBJECT obj, int r, int g, int b)
void MFormSetClipX(MOBJECT obj, int clip_x)
void MDrawBGNText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, MTColor bgc, MTColor fgc, int align, int n)
int MSListGetItemCheckStatus(MOBJECT p, const char *item)
MOBJECT MObjectGetVScrollBar(MOBJECT obj)
unsigned int MSocketGetEventsMask(int s)
MOBJECT MCreateClippedPosForm(MOBJECT parent, int clip_w, int clip_h)
void MEditSetCursorPosCallback(MOBJECT edit, EDIT_CURS_CB cb, void *data)
void MTableFormDeleteDataRows(MOBJECT form)
int MTextHeight(const char *text, MTFont font)
const char * MGetNextFontFamily(void)
void MCallExpiredTimeoutCallbacks(void)
MOBJECT MCreateClippedHiddenEdit(MOBJECT parent, const char *text, int len, int clip_len, MTFont font, char shown_char)
int MFormGetClipY(MOBJECT obj)
void MObjectSetFGColorFromParent(MOBJECT obj, int true_false)
MOBJECT MCreateDrawnTextRButtonExt(MOBJECT parent, const char *text, MTFont font, MIMAGE pn, MIMAGE pa, MIMAGE pu, MIMAGE pn_on, MIMAGE pa_on, MIMAGE pu_on)
void MSetBGColorOption(const char *obj_name, int r, int g, int b)
void MFormSetChildSelectCallback(MOBJECT p, OBJ_VALUE_CB cb, void *data)
Window MShellGetWindow(MOBJECT s)
void MTButtonSetActivationStatus(MOBJECT o, int status)
MOBJECT MCreateStatusBar(MOBJECT parent, const char *text, int max, MTFont font)
void MPopupMenu(MOBJECT pm, int x, int y)
void MEditHide(MOBJECT edit, char shown_char)
void MEditSetNewValueCallback(MOBJECT edit, OBJ_STRING_CB cb, void *data)
void MObjectSetWidth(MOBJECT obj, int w)
MTNODE MTreeNodeGetFirstChild(MTNODE node)
void MObjectRemoveDestroyCallback(MOBJECT obj, MGUI_CB cb, void *a_data)
void Trace(const char *fmt,...)
void MObjectSetCompositeHeight(MOBJECT obj, int h)
void MSListChangeElement(MOBJECT p, long n, const char *new_item, void *u_data)
void MMenuItemSetSelectCB(MOBJECT p, MGUI_CB cb, void *ad)
void MSBLSetHMargin(MOBJECT p, int hm)
void MTreeSetDestroyCallback(MOBJECT tree, MTREE_NODE_CB cb, void *ud)
void MSListClear(MOBJECT p)
void MWriteCARD16(FILE *fp, CARD16 val)
void MObjectSetBackgroundImageFile(MOBJECT obj, const char *fname, int mode)
MOBJECT MCreatePagedPosForm(MOBJECT parent, int npage)
void MSListSetHighLightColors(MOBJECT obj, MTColor bgc, MTColor fgc)
int MGetKeyboardState(void)
MOBJECT MCreateScrollBar(MOBJECT parent, int type, long n, long max)
void MImageSetPixelRGB(MIMAGE pmi, int x, int y, int r, int g, int b)
MTColor MReAllocColor(MTColor color)
void vMMaskedLog(int level, CARD32 mask, const char *fmt, va_list vl)
void MShellConfigure(MOBJECT obj, int x, int y, int w, int h)
CARD8 MReadCARD8(FILE *fp)
int MSListAddElement(MOBJECT p, long n, const char *item, void *data)
void MTabbedFormGetTabText(MOBJECT form, int page, char *buff)
void MEditSetActCallback(MOBJECT edit, OBJ_STRING_CB cb, void *data)
void MTableFormDeleteRow(MOBJECT form, int row)
void MTreeDisableAutoSliderColor(MOBJECT obj)
void MCallAllTimeoutCallbacks(void)
MOBJECT MCreateTabbedColForm(MOBJECT parent, int npage, MTFont f)
void MDrawText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, MTColor fgc, int align)
void MGetInputPromptFonts(MTFont *text_font, MTFont *edit_font, MTFont *buttons_font)
void MTreeNodeSetPopupCallback(MTNODE node, MTREE_POPUP_CB cb, void *ud)
void MScrollBarSetPos(MOBJECT p, long pos)
void MTreeDestroyNode(MTNODE node, int notify)
MOBJECT MCreateSList(MOBJECT parent, MTFont font, int row_len, int nrow, int ncol)
void(* EDIT_CHANGE_CB)(MOBJECT edit, EDIT_CHANGE *ec, void *ad)
CARD32 MObjectGetEnabledOptions(MOBJECT obj)
void MImageAddAlphaChannel(MIMAGE img)
void MRButtonDeactivate(MOBJECT o)
void MDrawBox(MOBJECT p, int x, int y, int w, int h, MTColor bgc)
MOBJECT MCreateImageTextTButton(MOBJECT parent, const char *text, MTFont font, const char *npf, const char *apf, const char *upf)
const char * MGetCurrentDirectory(void)
MOBJECT MScrolledFormGetHScrollBar(MOBJECT obj)
MOBJECT MCreateEditList(MOBJECT parent, MTFont font, EL_TEMPLATE *elt, int ne, int nrow, int ncol)
void MScrollBarSetMax(MOBJECT p, long max)
MOBJECT MCreateHiddenEdit(MOBJECT parent, const char *text, int len, MTFont font, char shown_char)
MIMAGE MCreateImageMaskByCMapIndex(MIMAGE img, int index)
int MMenuItemToggleCheckStatus(MENU_ITEM item)
MTFont MLoadFont(const char *family, int h, int bold, int italic)
void MScrollBarSetSliderColorShift(MOBJECT p, int percentage)
void delay(unsigned long d)
Pauses for a specified number of milliseconds. .
MTColor MAllocColor(int r, int g, int b)
void MLabelSetMargin(MOBJECT p, int wm, int hm)
void MShellGetTitle(MOBJECT obj, char *title)
void MEditSetValCallback(MOBJECT edit, EDIT_VAL_CB cb, void *data)
void(* OBJ_EVENT_CB)(MOBJECT obj, MEvent *e, void *ad)
long MScrollBarGetPos(MOBJECT p)
MOBJECT MGetSelectedObject(MOBJECT f)
void(* LIST_SEL_CB)(MOBJECT list, LIST_SEL *la, void *ad)
void MRButtonActivate(MOBJECT o)
MIMAGE MImageCloneShifted(MIMAGE img, int sx, int sy, int dw, int dh, int bg_rr, int bg_gg, int bg_bb, int transp)
void MMenuItemSetSensitive(MENU_ITEM item)
void MPButtonSetAlignment(MOBJECT p, int align)
void MDrawNText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, MTColor fgc, int align, int n)
void MButtonSetShadowOnMouseOver(MOBJECT obj, int thick)
void MFreeImage(MIMAGE data)
void MImageAddDefaultTypeGIF(void)
void MDrawBGText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, MTColor bgc, MTColor fgc, int align)
MOBJECT MCreateDrawnPButton(MOBJECT parent, MIMAGE pn, MIMAGE pa, MIMAGE pu)
MOBJECT MCreateDrawArea(MOBJECT parent, int width, int height)
void MGUIMain(int argc, char **argv)
MAIN PROGRAM starting point Actions: .
void MPButtonSetRepeatDelay(MOBJECT button, int first, int repeat)
MOBJECT MCreateColForm(MOBJECT parent)
MOBJECT MCreateImageTextRButton(MOBJECT parent, const char *text, MTFont font, const char *npf, const char *apf, const char *upf)
MOBJECT MCreateScrolledPosForm(MOBJECT parent, int clip_w, int clip_h)
int MFileBrowseExt(const char *t, const char *ext, char *fname, char *dname, FB_PREFS *prefs)
void MTableFormSetColWidth(MOBJECT form, int col, int w)
void MScrolledEditSetSliderColor(MOBJECT p, MTColor color)
char * MGetTextOption(const char *obj_name)
void MObjectAddEventNotifyCallback(MOBJECT obj, OBJ_EVENT_CB cb, CARD32 event_mask, void *a_data)
MOBJECT MScrolledEditGetHScrollBar(MOBJECT p)
void MTreeNodeSetDeleteCallback(MTNODE node, MTREE_NODE_DELETE_CB cb, void *ud)
void MLeftAttach(MOBJECT child, int att_type, int off, MOBJECT obj)
void MTableFormHideGrid(MOBJECT form)
void MStatusBarSetSliderRGB(MOBJECT p, int r, int g, int b)
void MObjectRedraw(MOBJECT obj)
void MTraceSetTimeFormat(const char *strftime_format)
void MSListSetPickCallback(MOBJECT obj, LIST_ACT_CB cb, void *value)
void MButtonSetImageMaskByPixel(MOBJECT obj, int x, int y)
void(* EDIT_VAL_CB)(MOBJECT edit, EDIT_VAL *ev, void *ad)
void MTableFormSetColFont(MOBJECT form, int col, MTFont f)
void MEditChangeText(MOBJECT edit, int off, int len, const char *new_t, int chg_len)
void MObjectChangeLabelHelpText(MOBJECT obj, const char *str)
void MDrawAreaSetExposeCallback(MOBJECT obj, OBJ_EVENT_CB cb, void *ad)
MOBJECT MCreateDirBrowser(MOBJECT parent, const char *dir, MTFont font, int width, int height, CARD16 flags)
void MShellRealizeXY(MOBJECT obj, int x, int y)
void MSListSetSelectionCallback(MOBJECT obj, LIST_SEL_CB cb, void *data)
void MGetMessageDialogFonts(MTFont *text_font, MTFont *buttons_font)
void MObjectSetName(MOBJECT obj, const char *name)
void MTreeDestroyNodeContainee(MTNODE node, int notify)
void MClearTimeout(TIMEOUT_ID *pid)
void MTreeNodeSetImages(MTNODE node, MIMAGE norm, MIMAGE open, MIMAGE sel)
void MDrawBorder(MOBJECT o, int x, int y, int w, int h, MTColor col, int thick)
int MIsEditValidated(MOBJECT p)
void MDirBrowserSetDirChangeCallback(MOBJECT obj, DB_DIR_CHANGE_CB cb, void *ud)
void MTableFormSetColForegroundRGB(MOBJECT form, int col, int r, int g, int b)
void MFormattedTextSetMargin(MOBJECT obj, int w_m, int h_m)
void MScrolledFormSetSliderColor(MOBJECT p, MTColor color)
MOBJECT MCreateDrawnTextRButton(MOBJECT parent, const char *text, MTFont font, MIMAGE np, MIMAGE ap, MIMAGE up)
int MTextCharX(const char *text, MTFont font, int x)
void MFormDisableSmartDrawing(MOBJECT form)
MOBJECT MCreateSListSkip(MOBJECT parent, NEW_BLOCK_CB nb, void *nbd, ITEM_SEEK_CB is, void *isd, MTFont font, int nrow, int ncol, int xc)
void MDrawAreaSetInputCallback(MOBJECT obj, OBJ_EVENT_CB cb, void *ad)
void MTreeNodeEdit(MTNODE node)
MIMAGE MDrawnButtonChangeUnsensitiveImage(MOBJECT button, MIMAGE new_img)
int MDirBrowseExt(const char *t, const char *ext, char *dname, FB_PREFS *prefs)
MOBJECT MCreatePagedColForm(MOBJECT parent, int npage)
void MSListReset(MOBJECT p)
MOBJECT MCreateShell(const char *title, int flags)
void MEditSetValidationStatus(MOBJECT edit, int validated)
void MEraseBorder(MOBJECT o, int x, int y, int w, int h, int thick)
MTNODE MTreeGetFirstNode(MOBJECT tree)
void MImageAddDefaultTypePNG(void)
int MMessageDialog(const char *t, const char *msg, const char *btn1, const char *btn2,...)
void MLogSetMaskBits(CARD32 a)
int MEditGetCursorPos(MOBJECT edit)
MOBJECT MObjectParent(MOBJECT obj)
void MInstallImage(MIMAGE data)
void MMenuItemSetUnsensitive(MENU_ITEM item)
void MTableFormSetColBackgroundRGB(MOBJECT form, int col, int r, int g, int b)
void MObjectSetCursor(MOBJECT obj, MTCursor cursor)
MTColor MAllocDefaultBackgroundColor(void)
void MSetBGImageOption(const char *obj_name, const char *bgimage, int mode)
MIMAGE MObjectGetBackgroundImage(MOBJECT obj)
const char * MFindImagePath(const char *image_name)
MOBJECT MCreateDrawnRButtonExt(MOBJECT parent, MIMAGE pn, MIMAGE pa, MIMAGE pu, MIMAGE pn_on, MIMAGE pa_on, MIMAGE pu_on)
void MEditSetBufferSize(MOBJECT edit, int clip_size, int size)
void MTreeSetDeleteCallback(MOBJECT tree, MTREE_NODE_DELETE_CB cb, void *ud)
int MObjectGetBackgroundImageMode(MOBJECT obj)
void MDrawArc(MOBJECT p, int x, int y, int r, int a1, int a2, MTColor col)
void MSListDisableMultiSel(MOBJECT obj)
MOBJECT MCreateRButton(MOBJECT parent, const char *text, MTFont font)
void MShellRaise(MOBJECT obj)
void MDrawXorBox(MOBJECT p, int x, int y, int w, int h)
void MRButtonSetImage(MOBJECT obj, const char *npf, const char *apf, const char *upf)
void MObjectSetAttachment(MOBJECT obj, int top, int bot, int left, int rig)
void MObjectUnmap(MOBJECT obj)
void MObjectSetTransparent(MOBJECT obj)
void MSetFileSelectionRGB(int r, int g, int b)
void MButtonSetImageMaskByRGB(MOBJECT obj, int r, int g, int b)
char * MTreeNodeGetPath(MTNODE node, char separator, char *buff)
int MSListDelItem(MOBJECT p, const char *item)
MOBJECT MCreateScrolledTableForm(MOBJECT parent, int n_cols, int clip_w, int clip_h, int head_rows, int head_cols)
MOBJECT MCreatePagedRowForm(MOBJECT parent, int npage)
void MAddSocketHandler(int s, unsigned events, SOCKET_CB cb, void *data)
MOBJECT MScrolledFormGetVScrollBar(MOBJECT obj)
int MTableFormGetNCol(MOBJECT form)
int MDirBrowse(const char *title, const char *filter, char *dname, int change_cur_dir)
void MButtonSetImageMaskByCMapIndex(MOBJECT obj, int id)
void MScrollBarSetSliderColor(MOBJECT p, MTColor color)
MOBJECT MFormGetFirstChild(MOBJECT form)
void MSListSetSortCallback(MOBJECT obj, STRCMP_CB cb)
void MTableFormShowGrid(MOBJECT form)
void MEditListGetItemField(MOBJECT el, const char *item, int ii, char *buff)
void MRightAttach(MOBJECT child, int att_type, int off, MOBJECT obj)
void MObjectSetUserData(MOBJECT obj, void *ud)
void MGetFileSelectionRGB(int *pr, int *pg, int *pb)
void MSListSetSliderColorShift(MOBJECT p, int percentage)
MOBJECT MCreateImagePButton(MOBJECT parent, const char *npf, const char *apf, const char *upf)
void(* DRAWAREA_PREF_CB)(MOBJECT drawa, DRAWAREA_PREF *dp, void *ad)
void MDrawImage(MOBJECT p, MIMAGE gi, int pm_x, int pm_y, int w, int h, int x, int y)
void MTreeNodeSetSelectCallback(MTNODE node, MTREE_NODE_CB cb, void *ud)
void MInsertObject(MOBJECT parent, MOBJECT obj, MOBJECT where, int resize)
void MTabbedFormSetTabText(MOBJECT form, int page, const char *buff)
MOBJECT MCreateImageTextRButtonExt(MOBJECT parent, const char *text, MTFont font, const char *npf, const char *apf, const char *upf, const char *non, const char *aon, const char *uon)
void MEditUnhide(MOBJECT edit)
void MTableFormSetRowAlign(MOBJECT form, int row, int al)
void MStatusBarSetSliderColor(MOBJECT p, MTColor col)
int MFileBrowse(const char *title, const char *filter, char *fname, char *dname, int change_cur_dir)
void MPixmapSetImage(MOBJECT pixmap, MIMAGE gi)
void MObjectSetCompositeSize(MOBJECT obj, int w, int h)
void MTreeSetSelectCallback(MOBJECT tree, MTREE_NODE_CB cb, void *ud)
void(* OBJ_VALUE_CB)(MOBJECT obj, MVALUE value, void *ad)
int MObjectGetY(MOBJECT obj)
MOBJECT MCreateClippedMLEdit(MOBJECT parent, const char *text, int width, int height, MTFont font)
void MSListSetHighLightFGColor(MOBJECT obj, MTColor fgc)
void MEditSetFilter(MOBJECT edit, int filter, const char *extra_chars)
void MGetDefaultBackgroundRGB(int *pr, int *pg, int *pb)
void MTreeNodeSetCloseCallback(MTNODE node, MTREE_NODE_CB cb, void *ud)
MOBJECT MCreateDrawnTButtonExt(MOBJECT parent, MIMAGE pn, MIMAGE pa, MIMAGE pu, MIMAGE pn_on, MIMAGE pa_on, MIMAGE pu_on)
void MLogInit(int level, int nr, int nvr, int nc, int nvc, const char *fname)
void MLabelSetAlignment(MOBJECT p, int align)
void MSListEnableMultiSel(MOBJECT obj)
int MFileSelection(const char *title, const char *filter, char *fname, char *dname, int change_cur_dir)
int MGetScreenWidth(void)
void MObjectAddDestroyCallback(MOBJECT obj, MGUI_CB cb, void *a_data)
void(* MGUI_CB)(MOBJECT obj, void *od, void *ad)
int(* MTREE_NODE_DELETE_CB)(MTNODE node, void *ad)
void MSListSelectItem(MOBJECT p, const char *item)
const char * MGetApplicationName(void)
void MScrollBarSetN(MOBJECT p, long n)
MOBJECT MCreateSpinEdit(MOBJECT parent, const char *text, int len, int clip_len, MTFont font, OBJ_VALUE_CB cb, void *cd)
int MPagedFormGetActivePage(MOBJECT form)
void MImageSetCMapEntry(MIMAGE pmi, int i, int r, int g, int b)
MOBJECT MCreateDrawnTextPButton(MOBJECT parent, const char *text, MTFont font, MIMAGE pn, MIMAGE pa, MIMAGE pu)
void MPagedFormSetActivePage(MOBJECT form, int page)
void MSpinEditSetCallback(MOBJECT spinedit, OBJ_VALUE_CB cb, void *data)
MOBJECT MCreatePagedColFormExt(MOBJECT parent, int npage)
MOBJECT MCreateSText(MOBJECT parent, const char *text, MTFont font, int nrow, int ncol)
void MScrolledFormDisableAutoSliderColor(MOBJECT obj)
void MImageSetMaskByRGB(MIMAGE img, int r, int g, int b)
int MGetShadowOption(const char *obj_name, int *shadow, int *i_t, int *o_t)
void MGetDefaultForegroundRGB(int *pr, int *pg, int *pb)
void MScrolledFormSetSliderColorShift(MOBJECT p, int percentage)
void MTreeNodeSetDestroyCallback(MTNODE node, MTREE_NODE_CB cb, void *ud)
void MFormSetSpacing(MOBJECT p, int offset)
void MEditSetCursorXY(MOBJECT edit, int x, int y)
void MPagedFormEnablePageKeys(MOBJECT form)
MTColor MWhiteColor(void)
void MScrolledFormSetIncr(MOBJECT obj, int h_inc, int v_inc)
void MPButtonSetCallback(MOBJECT button, MGUI_CB cb, void *data)
void MFormattedTextSetHSpacing(MOBJECT obj, int h_s)
void MSetDefaultBackgroundRGB(int r, int g, int b)
MTNODE MTreeNodeGetNext(MTNODE node)
void MClearDiskError(void)
void MObjectSetSize(MOBJECT obj, int w, int h)
void MSetDefaultForegroundRGB(int r, int g, int b)
void MFormEnableSmartDrawing(MOBJECT form)
MOBJECT MCreateImageTextPButtonExt(MOBJECT parent, const char *text, MTFont font, const char *npf, const char *apf, const char *upf, const char *non, const char *aon, const char *uon)
int MMenuItemSetCheckStatus(MENU_ITEM item, int TrueFalse)
void MObjectSetCompositeWidth(MOBJECT obj, int w)
void MEditListSeekItem(MOBJECT p, char **argv, long *pos, void **u_data)
int MEditFindSubStringBackward(MOBJECT edit, int off, const char *str, int icase)
void MSetFileSelectionTextStrings(const char *file_list, const char *dir_list, const char *drive_list, const char *filter, const char *filename, const char *curr_dir, const char *ok_button, const char *close_button)
MTColor MAllocHighlightBGColor(MTColor bgc, MTColor fgc)
void MDrawPolyline(MOBJECT p, MPOINT *points, int n, MTColor col)
MIMAGE MReadBMPFile(const char *fname)
void MDrawCircle(MOBJECT p, int x, int y, int r, MTColor col)
void MDrawShadowedText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, int sh, MTColor fgc1, MTColor fgc2, int align)
MOBJECT MCreateTabbedPosForm(MOBJECT parent, int npage, MTFont f)
void MEditGetSelection(MOBJECT edit, int *pstart, int *pend)
void MShellSetTitle(MOBJECT obj, const char *title)
LIST_ACT * MSListGetItem(MOBJECT p, const char *item)
void MEditListDelElement(MOBJECT p, long n)
int MGetBGColorOption(const char *obj_name, int *pr, int *pg, int *pb)
MIMAGE MDrawnButtonChangeArmedOnImage(MOBJECT button, MIMAGE new_img)
void MObjectRefreshTransparentImage(MOBJECT p, MIMAGE img, int ox, int oy)
void MObjectSetSensitivity(MOBJECT obj, int status)
void MTreeNodeSetOpenCallback(MTNODE node, MTREE_NODE_CB cb, void *ud)
MOBJECT MMenuItemGetMenu(MENU_ITEM item)
void MSListDisableItemMotion(MOBJECT obj)
void MObjectSetColorFromBackgroundImage(MOBJECT obj)
void MDrawShadow(MOBJECT o)
CARD16 MReadCARD16(FILE *fp)
MIMAGE MImageClone(MIMAGE img)
int MImageGetPixelAlpha(MIMAGE img, int x, int y)
int MSListAddItem(MOBJECT p, const char *item, void *data)
void MNextEvent(MEvent *pe, int wait)
MOBJECT MCreateDrawnTextTButton(MOBJECT parent, const char *text, MTFont font, MIMAGE np, MIMAGE ap, MIMAGE up)
void MObjectSetFont(MOBJECT obj, MTFont font, int resize)
void MFormFocusLink(MOBJECT obj1, MOBJECT obj2)
Template for EditList Object's creation.
int MEditListAddItem(MOBJECT p, char **argv, void *u_data)
void MTreeOpenNode(MTNODE node, int notify)
void MSListSetItemCheckStatus(MOBJECT p, const char *item, int status)
MOBJECT MCreateClippedColForm(MOBJECT parent, int clip_w, int clip_h)
int MTButtonGetActivationStatus(MOBJECT o)
int MObjectGetSensitivity(MOBJECT obj)
CARD32 MReadCARD32(FILE *fp)
void MImageSetMaskByCMapIndex(MIMAGE img, int id)
void MUninstallImage(MIMAGE data)
int MTextNWidth(const char *text, MTFont font, int len)
void MButtonSetOnMouseOverForegroundRGB(MOBJECT button, int r, int g, int b)
void MLoopWhileFlag(int *pflag, int value)
void MObjectMap(MOBJECT obj)
MOBJECT MCreateMenuBar(MOBJECT parent, MTFont font)
void MEditDisableAutoControlColor(MOBJECT edit)
void MImageAddDefaultTypeTIFF(void)
void MImageAddDefaultTypeJPEG(void)
MENU_ITEM MMenuAddToggleItem(MOBJECT pd, const char *item, MENU_ITEM_CB cb, void *ad)
void MSetIntOption(const char *obj_name, const char *rname, int val)
void MTableFormGetCellText(MOBJECT form, int x, int y, char *text)
void MEditSetCursorPos(MOBJECT edit, int pos)
void MEditSetMargin(MOBJECT edit, int w_margin, int h_margin)
void MFreeCell(MTColor c)
int MGetScreenHeight(void)
MOBJECT MCreateSTextClip(MOBJECT parent, NEW_BLOCK_CB nb, void *nbd, MTFont font, int nrow, int ncol, int xc, long xn)
void MObjectSetLabelHelp(MOBJECT obj, const char *str, MOBJECT label)
CARD8 MObjectGetTransparency(MOBJECT obj)
MENU_ITEM MMenuAddSeparator(MOBJECT pd)
void MTreeSetImagesByName(MOBJECT tree, int type, const char *norm, const char *open, const char *sel)
void MGetInputPromptRGB(int *pr, int *pg, int *pb)
void MTableFormSetCellText(MOBJECT form, int x, int y, const char *text)
int MInputPrompt(const char *t, const char *msg, char *text, int len, const char *ok_btn, const char *canc_btn)
void MFreeColor(MTColor col)
MIMAGE MAllocImage(int img_w, int img_h, int nplanes)
void MObjectSetTransparency(MOBJECT obj, CARD8 level)
void MObjectSetForegroundRGB(MOBJECT obj, int r, int g, int b)
MOBJECT MCreateImageRButton(MOBJECT parent, const char *npf, const char *apf, const char *upf)
void MSetCellColor(MTColor c, int r, int g, int b)
void MTreeSetRenameCallback(MOBJECT tree, MTREE_NODE_RENAME_CB cb, void *ud)
void MSelectPreviousCousin(MOBJECT p)
void MImageGetCMapEntry(MIMAGE pmi, int i, int *pr, int *pg, int *pb)
void MPButtonSetImage(MOBJECT obj, const char *npf, const char *apf, const char *upf)
void MImageGetPixelRGB(MIMAGE pmi, int x, int y, int *pr, int *pg, int *pb)
void MTreeSetOpenCallback(MOBJECT tree, MTREE_NODE_CB cb, void *ud)
void MShellSetWMCloseCallback(MOBJECT p, WM_CLOSE_CB cb, void *a_data)
void MObjectSetSensitive(MOBJECT obj)
void MObjectChangePopupHelpText(MOBJECT obj, const char *str)
void MScrollBarSetValues(MOBJECT p, long max, long n, long pos)
void MMenuItemSetAccel(MENU_ITEM item, int acc, const char *at)
void MMenuSetHighLightColors(MOBJECT obj, MTColor bgc, MTColor fgc)
void MObjectDestroy(MOBJECT obj)
MOBJECT MCreatePixmapFromData(MOBJECT parent, MIMAGE data)
MOBJECT MCreateRowForm(MOBJECT parent)
MIMAGE MCreateImageMaskByPixel(MIMAGE img, int x, int y)
void MSelectNextBrother(MOBJECT f)
MOBJECT MCreateSListClip(MOBJECT parent, NEW_BLOCK_CB nb, void *nbd, ITEM_SEEK_CB is, void *isd, MTFont font, int nrow, int ncol, int xc, long xn)
void MTreeSetHighLightColors(MOBJECT obj, MTColor bgc, MTColor fgc)
LIST_ACT * MSListGetNextItem(MOBJECT p)
void MObjectSetSolid(MOBJECT obj)
TIMEOUT_ID MAddTimeout(CARD32 tmout, TIMEOUT_CB cb, void *ud)
int MMenuItemGetCheckStatus(MENU_ITEM item)
void MFormattedTextSetTabSize(MOBJECT obj, int ts)
void MDrawFilledCircle(MOBJECT p, int x, int y, int r, MTColor col)
void MDrawFilledPolyline(MOBJECT p, MPOINT *points, int n, MTColor col)
void MEnableCharBrowser(void)
MOBJECT MCreateImagePButtonExt(MOBJECT parent, const char *npf, const char *apf, const char *upf, const char *non, const char *aon, const char *uon)
MOBJECT MCreatePopupMenu(MTFont font)
void MEditEnableAutoControlColor(MOBJECT edit)
void MProcessEvent(MEvent *pe)
void MButtonUnsetOnMouseOverForeground(MOBJECT obj)
void MTopAttach(MOBJECT child, int att_type, int off, MOBJECT obj)
void MDestroyMenu(MOBJECT menu)
void MSListFreeze(MOBJECT obj)
MOBJECT MCreateTabbedRowForm(MOBJECT parent, int npage, MTFont f)
void MObjectSetY(MOBJECT obj, int y)
void MScrollBarSetPosCallback(MOBJECT p, OBJ_VALUE_CB cb, void *data)
void MSelectNextCousin(MOBJECT p)
void MDrawSubShadow(MOBJECT o, int x, int y, int w, int h, MTColor tsc, MTColor bsc, int thick)
void MGetInputPromptFgRGB(int *pr, int *pg, int *pb)
long MScrollBarGetN(MOBJECT p)
void MScrolledEditSetSliderColorShift(MOBJECT p, int percentage)
const char * MGetFirstFontFamily(void)
MOBJECT MTreeNodeGetMTree(MTNODE node)
MOBJECT MCreateFormattedText(MOBJECT par, const char *text, int clip_w, MTFont f)
void MObjectSetUnselectable(MOBJECT obj)
void MWriteCARD8(FILE *fp, CARD8 val)
void(* WM_CLOSE_CB)(MOBJECT obj, void *odata, void *cdata)
MOBJECT MCreateMenu(MOBJECT menu, const char *text)
MOBJECT MCreateDrawnTextTButtonExt(MOBJECT parent, const char *text, MTFont font, MIMAGE pn, MIMAGE pa, MIMAGE pu, MIMAGE pn_on, MIMAGE pa_on, MIMAGE pu_on)
void MTableFormSetRowHeight(MOBJECT form, int row, int h)
void MRemoveImagePath(const char *path)
int MImageGetPixelIndex(MIMAGE pmi, int x, int y)
void MObjectSetBGColorFromParent(MOBJECT obj, int true_false, int percentage)
char * MTextPrompt(const char *t, const char *msg, const char *text, int w, int h, const char *ok, const char *cancel)
void MTreeSetImagesByData(MOBJECT tree, int type, MIMAGE norm, MIMAGE open, MIMAGE sel)
void MDrawPoint(MOBJECT p, int x, int y, MTColor col)
void MObjectSetHeight(MOBJECT obj, int h)
void MDrawWindow(MOBJECT o)
void MSListChangeItem(MOBJECT p, const char *old, const char *new_item, void *u_data)
void(* TIMEOUT_CB)(TIMEOUT_ID id, void *data)
void MTreeNodeSetText(MTNODE node, const char *text)
void MSListSetSliderColor(MOBJECT p, MTColor color)
void MButtonSetOnMouseOverForegroundColor(MOBJECT button, MTColor cc)
void MSBLEnableAutoSliderColor(MOBJECT obj)
MOBJECT MCreateImageTButtonExt(MOBJECT parent, const char *npf, const char *apf, const char *upf, const char *non, const char *aon, const char *uon)
void MScrolledFormEnableAutoSliderColor(MOBJECT obj)
MIMAGE MPixmapGetImage(MOBJECT pixmap)
void MEditSetSelection(MOBJECT edit, int start, int end)
void MTreeNodeSetRenameCallback(MTNODE node, MTREE_NODE_RENAME_CB cb, void *ud)
void MObjectResize(MOBJECT obj, int w, int h)
void MSListThaw(MOBJECT obj)
void MSBLHeadSetColor(MOBJECT obj, MTColor bgc, MTColor fgc)
MOBJECT MFormGetNextChild(MOBJECT form)
LIST_ACT * MSListGetSelected(MOBJECT p)
void MFormSetPrefAtt(MOBJECT p, int pref_att)
MOBJECT MTreeGetVScrollBar(MOBJECT p)