wrapper class around the Motif drawing area widget.
![]() | DrawingArea (Config *config, Widget parent, const char *name, DrawWindow *w) Description determines the size, if empty the screen sz is used. |
![]() | GetClassName () |
![]() | SetViewer (Viewer *v) |
![]() | GetGrafport () const |
![]() | GetWidth () const |
![]() | GetHeight () const |
![]() | UpdateSize (int w, int h) |
![]() | FitDocument () resize drawing area to fit the viewer's contents. |
![]() | FitDocument (int wd, int ht) resize drawing area to given size. |
![]() | EnableUndo (bool flag) enable/disable edit popup menu entry. |
![]() | EnableRedo (bool flag) enable/disable edit popup menu entry. |
![]() | Enable (const char *label, bool flag) enable/disable popup menu entry. |
![]() | SetUndoName (const char *name) change edit popup menu undo entry name. |
![]() | SetRedoName (const char *name) change edit popup menu redo entry name. |
![]() | GetBackgroundColor () |
![]() | GetForegroundColor () |
wrapper class around the Motif drawing area widget.
const char* GetClassName()
void SetViewer(Viewer *v)
XGrafport* GetGrafport() const
int GetWidth() const
int GetHeight() const
void UpdateSize(int w, int h)
void FitDocument()
void FitDocument(int wd, int ht)
void EnableUndo(bool flag)
void EnableRedo(bool flag)
void Enable(const char *label, bool flag)
void SetUndoName(const char *name)
void SetRedoName(const char *name)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de