class CmMenuBar : public CmObject

Menu Class

Inheritance:

CmMenuBar < CmObject < CmCallback


Public Methods

CmMenuBar(CmContainer *parent, MTFont font)
void setAcceleratorKey(int key)

Inherited from CmObject:

Public Methods

inline void bottomAttach(int att_type, int off, CmObject *obj)
inline void changeLabelHelpText(char *str)
inline void changePopupHelpText(char *str)
inline void CmObject::bottomAttach(int att_type, int off, CmObject *p)
inline void CmObject::changeLabelHelpText(char *str)
inline void CmObject::changePopupHelpText(char *str)
inline void CmObject::drawArc(int x, int y, int r, int a1, int a2, CmColor *col)
inline void CmObject::drawBGNText(int x, int y, int w, int h, char *text, MTFont font, CmColor *bgc, CmColor *fgc, int align, int n)
inline void CmObject::drawBGText(int x, int y, int w, int h, char *text, MTFont font, CmColor *bgc, CmColor *fgc, int align)
inline void CmObject::drawBox(int x, int y, int w, int h, CmColor *col)
inline void CmObject::drawCircle(int x, int y, int r, CmColor *col)
inline void CmObject::drawFilledArc(int x, int y, int r, int a1, int a2, CmColor *c)
inline void CmObject::drawFilledBox(int x, int y, int w, int h, CmColor *col)
inline void CmObject::drawFilledCircle(int x, int y, int r, CmColor *col)
inline void CmObject::drawFilledPolyline(MPOINT *points, int n, CmColor *col)
inline void CmObject::drawImage(CmImage *gi, int img_x, int img_y, int w, int h, int x, int y)
inline void CmObject::drawLine(int x1, int y1, int x2, int y2, CmColor *col)
inline void CmObject::drawNText(int x, int y, int w, int h, char *text, MTFont font, CmColor *fgc, int align, int n)
inline void CmObject::drawPoint(int x, int y, CmColor *col)
inline void CmObject::drawPolyline(MPOINT *points, int n, CmColor *col)
inline void CmObject::drawShadowedNText(int x, int y, int w, int h, char *text, MTFont font, int sh, CmColor *fgc1, CmColor *fgc2, int align, int n)
inline void CmObject::drawShadowedText(int x, int y, int w, int h, char *text, MTFont font, int sh, CmColor *fgc1, CmColor *fgc2, int align)
inline void CmObject::drawText(int x, int y, int w, int h, char *text, MTFont font, CmColor *fgc, int align)
inline void CmObject::drawXorBox(int x, int y, int w, int h)
inline void CmObject::drawXorLine(int x1, int y1, int x2, int y2)
inline void CmObject::enableOptions(char *name, CARD32 mask)
inline void CmObject::focusLink(CmObject *obj2)
inline int CmObject::getHeight(void)
inline void CmObject::getText(char *text)
inline int CmObject::getWidth(void)
inline int CmObject::getX(void)
inline int CmObject::getY(void)
inline int CmObject::isSensitive(void)
inline void CmObject::leftAttach(int att_type, int off, CmObject *p)
inline void CmObject::map(void)
inline void CmObject::redraw(void)
inline void CmObject::resize(int w, int h)
inline void CmObject::rightAttach(int att_type, int off, CmObject *p)
inline void CmObject::saveOptions(void)
inline void CmObject::select(void)
inline void CmObject::setAttachment(int top, int bottom, int left, int right)
inline void CmObject::setBackgroundRGB(unsigned r, unsigned g, unsigned b)
inline void CmObject::setColor(CmColor *bgc, CmColor *fgc)
inline void CmObject::setCursor(MTCursor cursor)
inline void CmObject::setFont(MTFont font, int resize)
inline void CmObject::setForegroundRGB(unsigned r, unsigned g, unsigned b)
inline void CmObject::setLabelHelp(char *str, CmObject *label)
inline void CmObject::setName(char *name)
inline void CmObject::setOffset(int t_off, int b_off, int l_off, int r_off)
inline void CmObject::setPopupHelp(char *str, int delay, int duration)
inline void CmObject::setResize(int resize_w, int resize_h)
inline void CmObject::setSelectable(void)
inline void CmObject::setSensitive(void)
inline void CmObject::setSensitivity(int true_false)
inline void CmObject::setShadow(int type, int in, int out)
inline void CmObject::setText(char *text)
inline void CmObject::setUnselectable(void)
inline void CmObject::setUnsensitive(void)
inline void CmObject::topAttach(int att_type, int off, CmObject *p)
inline void CmObject::unlink(int resize)
inline void CmObject::unmap(void)
inline void drawArc(int x, int y, int r, int a1, int a2, CmColor *col)
inline void drawBGNText(int x, int y, int w, int h, char *text, MTFont font, CmColor *bgc, CmColor *fgc, int align, int n)
inline void drawBGText(int x, int y, int w, int h, char *text, MTFont font, CmColor *bgc, CmColor *fgc, int align)
inline void drawBox(int x, int y, int w, int h, CmColor *bgc)
inline void drawCircle(int x, int y, int r, CmColor *col)
inline void drawFilledArc(int x, int y, int r, int a1, int a2, CmColor *c)
inline void drawFilledBox(int x, int y, int w, int h, CmColor *bgc)
inline void drawFilledCircle(int x, int y, int r, CmColor *col)
inline void drawFilledPolyline(MPOINT *points, int n, CmColor *col)
inline void drawImage(CmImage *gi, int img_x, int img_y, int w, int h, int x, int y)
inline void drawLine(int x1, int y1, int x2, int y2, CmColor *col)
inline void drawNText(int x, int y, int w, int h, char *text, MTFont font, CmColor *fgc, int align, int n)
inline void drawPoint(int x, int y, CmColor *col)
inline void drawPolyline(MPOINT *points, int n, CmColor *col)
inline void drawShadowedNText(int x, int y, int w, int h, char *text, MTFont font, int sh, CmColor *fg1, CmColor *fg2, int align, int n)
inline void drawShadowedText(int x, int y, int w, int h, char *text, MTFont font, int sh, CmColor *fg1, CmColor *fg2, int align)
inline void drawText(int x, int y, int w, int h, char *text, MTFont font, CmColor *fgc, int align)
inline void drawXorBox(int x, int y, int w, int h)
inline void drawXorLine(int x1, int y1, int x2, int y2)
inline void enableOptions(char *name, CARD32 mask)
inline void focusLink(CmObject *obj_to_link)
CmColor* getBackgroundColor(void)
inline MTFont getFont(void)
CmColor* getForegroundColor(void)
inline int getHeight(void)
inline char* getName(void)
CmContainer* getParent(void)
inline void getShadow(int *type, int *in, int *out)
CmShell* getShell(void)
inline void getText(char *text)
inline void* getUserData(void)
inline int getWidth(void)
inline int getX(void)
inline int getY(void)
inline int isMapped(void)
inline int isSelectable(void)
inline int isSensitive(void)
inline void leftAttach(int att_type, int off, CmObject *obj)
void link(CmContainer *parent, CmObject *where, int resize_parent)
inline void map(void)
operator MOBJECT()
inline void redraw(void)
void reparent(CmContainer *new_parent, CmObject *where)
inline void resize(int w, int h)
inline void rightAttach(int att_type, int off, CmObject *obj)
inline void saveOptions(void)
inline void select(void)
inline void setAttachment(int top, int bottom, int left, int right)
inline void setBackgroundRGB(unsigned r, unsigned g, unsigned b)
inline void setColor(CmColor *bgc, CmColor *fgc)
inline void setCursor(MTCursor cursor)
void setEventCallback(CmCallback *pp, EVENT_CB ff, CARD32 mask)
inline void setFont(MTFont font, int resize_obj=0)
inline void setForegroundRGB(unsigned r, unsigned g, unsigned b)
inline void setLabelHelp(char *str, CmObject *label)
inline void setName(char *name)
inline void setOffset(int t_off, int b_off, int l_off, int r_off)
inline void setPopupHelp(char *str, int delay, int duration)
inline void setResize(int resize_w, int resize_h)
inline void setSelectable(void)
inline void setSensitive(void)
inline void setSensitivity(int true_false)
inline void setShadow(int type, int in=0, int out=0)
inline void setText(char *text)
inline void setUnselectable(void)
inline void setUnsensitive(void)
inline void setUserData(void *ud)
inline void topAttach(int att_type, int off, CmObject *obj)
inline void unlink(int resize_obj)
inline void unmap(void)

Protected Fields

EVENT_CB eventCB
MOBJECT obj

Protected Methods

void reserved(void)

Private Fields

friend class CmOptionEdit
void* user_data

Private Methods

friend void _EventPreProcessCB_(MOBJECT p, MEvent *pe, void *ud)
friend void _ObjectDestroyCB_(MOBJECT p, void *a, void *ud)

Inherited from CmCallback:

Protected Methods

virtual void dummy(void)

Documentation

Menu Class
CmMenuBar(CmContainer *parent, MTFont font)

void setAcceleratorKey(int key)


This class has no child classes.

alphabetic index hierarchy of classes


MGUI Copyright 1996-1998 Vincenzo Morello

generated by doc++