MGD::DEVICE_X Class Reference

An X11-based implementation of MGD::DEVICE. More...

#include <mi32/mg2x.h>

Inheritance diagram for MGD::DEVICE_X:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ERRVALUE ChangeDrawable (Drawable drawable)
ERRVALUE ChangeWidget (Widget widget)
ERRVALUE Create (Display *display, Drawable drawable)
 DEVICE_X ()
virtual ~DEVICE_X ()

Protected Member Functions

virtual CAPABILITY v_GetCapabilities () const

Detailed Description

An X11-based implementation of MGD::DEVICE.

Definition at line 104 of file mg2x.h.


Constructor & Destructor Documentation

MGD::DEVICE_X::DEVICE_X  ) 
 

Construct an X device.

After constructing, you should call Create()

virtual MGD::DEVICE_X::~DEVICE_X  )  [virtual]
 

Destructor.


Member Function Documentation

ERRVALUE MGD::DEVICE_X::ChangeDrawable Drawable  drawable  ) 
 

Takes an XtWindow() of a widget.

ERRVALUE MGD::DEVICE_X::ChangeWidget Widget  widget  ) 
 

Takes a widget and does the same thing as ChangeDrawable using it's XtWindow.

This however, gets the height and width of the widget directly from the widget, so it's faster.

ERRVALUE MGD::DEVICE_X::Create Display *  display,
Drawable  drawable
 

virtual CAPABILITY MGD::DEVICE_X::v_GetCapabilities  )  const [inline, protected, virtual]
 

Return a list of the capabilities of this device.

Don't forget to OR in the capabilities of the base class in the derived class

Reimplemented from MGD::DEVICE.

Definition at line 138 of file mg2x.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:20:41 2004 for TNTsdk by  doxygen 1.3.8-20040913