Abstract Object Class
Abstract Object Class
By applying this method to a composite object, you actually lock the size
of the 'terminal' object. For example, if you setSize() an OptionEdit object
you lock the size of the Edit object inside. If you need to setSize() the
entire OptionEdit object then you should use setCompositeSize instead.
By applying this method to a composite object, you actually lock the width
of the 'terminal' object. For example, if you setWidth() an OptionEdit object
you lock the size of the Edit object inside. If you need to setWidth() the
entire OptionEdit object then you should use setCompositeWidth instead.
By applying this method to a composite object, you actually lock the height
of the 'terminal' object. For example, if you setWidth() an OptionEdit object
you lock the height of the Edit object inside. If you need to setHeight() the
entire OptionEdit object then you should use setCompositeHeight instead.
By applying this method to a non-composite object, you get the same
behaviour as calling setSize().
By applying this method to a non-composite object, you get the same
behaviour as calling setWidth().
By applying this method to a non-composite object, you get the same
behaviour as calling setHeight().
inline void drawNText(int x, int y, int w, int h, const char *text, MTFont font, CmColor *fgc, int alignment, int n)
inline void drawBGText(int x, int y, int w, int h, const char *text, MTFont font, CmColor *bgc, CmColor *fgc, int alignment)
inline void drawBGNText(int x, int y, int w, int h, const char *text, MTFont font, CmColor *bgc, CmColor *fgc, int alignment, int n)
inline void drawShadowedText(int x, int y, int w, int h, const char *text, MTFont font, int sh, CmColor *fg1, CmColor *fg2, int alignment)
inline void drawShadowedNText(int x, int y, int w, int h, const char *text, MTFont font, int sh, CmColor *fg1, CmColor *fg2, int alignment, int n)
inline void drawPoint(int x, int y, CmColor *col)
inline void drawLine(int x1, int y1, int x2, int y2, CmColor *col)
inline void drawPolyline(MPOINT *points, int n, CmColor *col)
inline void drawFilledPolyline(MPOINT *points, int n, CmColor *col)
inline void drawBox(int x, int y, int w, int h, CmColor *bgc)
inline void drawFilledBox(int x, int y, int w, int h, CmColor *bgc)
inline void drawCircle(int x, int y, int r, CmColor *col)
inline void drawFilledCircle(int x, int y, int r, CmColor *col)
inline void drawArc(int x, int y, int r, int a1, int a2, CmColor *col)
inline void drawFilledArc(int x, int y, int r, int a1, int a2, CmColor *c)
inline void drawImage(CmImage *gi, int img_x, int img_y, int w, int h, int x, int y)
inline void drawWindow(void)
inline void drawShadow(void)
inline void drawSubShadow(int x, int y, int w, int h, CmColor *tsc, CmColor *bsc, int thick)
inline void drawBorder(int x, int y, int w, int h, CmColor *col, int thick)
inline void drawXorLine(int x1, int y1, int x2, int y2)
inline void drawXorBox(int x, int y, int w, int h)
inline void setSensitive(void)
inline void setUnsensitive(void)
inline void setSensitivity(int true_false)
inline void setSelectable(void)
inline void setUnselectable(void)
inline void setColor(CmColor *bgc, CmColor *fgc)
inline void setBackgroundRGB(unsigned r, unsigned g, unsigned b)
inline void setForegroundRGB(unsigned r, unsigned g, unsigned b)
inline void setText(const char *text)
inline void setName(const char *name)
inline void setFont(MTFont font, int resize_obj=0)
inline void setShadow(int type, int in=0, int out=0)
inline void setResize(int resize_w, int resize_h)
inline void setSize(int width, int height)
height -
New desired height.
inline void setWidth(int width)
inline void setHeight(int height)
inline void setCompositeSize(int width, int height)
height -
New desired height.
inline void setCompositeWidth(int width)
inline void setCompositeHeight(int height)
inline void setPosition(int x, int y)
y -
New desired Y cohordinate.
inline void setX(int x)
inline void setY(int y)
inline void setBackgroundImage(CmImage *gi, int mode)
inline void setBackgroundImageFile(const char *fname, int mode)
inline void setColorFromBackgroundImage(void)
inline void setTransparency(CARD8 level)
inline CARD8 getTransparency(void)
inline void setAttachment(int top, int bottom, int left, int right)
inline void setOffset(int t_off, int b_off, int l_off, int r_off)
inline void setCursor(MTCursor cursor)
inline void setPopupHelp(const char *str, int delay, int duration)
inline void setLabelHelp(const char *str, CmObject *label)
inline void setUserData(void *ud)
inline void changePopupHelpText(const char *str)
inline void changeLabelHelpText(const char *str)
inline void topAttach(int att_type, int off, CmObject *obj)
inline void bottomAttach(int att_type, int off, CmObject *obj)
inline void leftAttach(int att_type, int off, CmObject *obj)
inline void rightAttach(int att_type, int off, CmObject *obj)
inline void align(int h_align, int v_align)
inline void getText(char *text)
inline const char* getName(void)
inline void* getUserData(void)
inline MTFont getFont(void)
inline void getShadow(int *type, int *in, int *out)
inline int isSensitive(void)
inline int isSelectable(void)
inline int isMapped(void)
inline int getWidth(void)
inline int getHeight(void)
inline int getCompositeWidth(void)
inline int getCompositeHeight(void)
inline int getX(void)
inline int getY(void)
CmColor* getBackgroundColor(void)
CmColor* getForegroundColor(void)
CmContainer* getParent(void)
CmShell* getShell(void)
inline CmImage* getBackgroundImage(void)
inline void resize(int w, int h)
inline void redraw(void)
inline void select(void)
inline void map(void)
inline void unmap(void)
inline void enableOptions(const char *name, CARD32 mask)
inline void saveOptions(void)
inline void unlink(int resize_obj)
inline void focusLink(CmObject *obj_to_link)
void reparent(CmContainer *new_parent, CmObject *where)
void link(CmContainer *parent, CmObject *where, int resize_parent)
void setEventCallback(CmCallback *pp, EVENT_CB ff, CARD32 mask)
alphabetic index hierarchy of classes
generated by doc++