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

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

Protected Member Functions

virtual CAPABILITY v_GetCapabilities () const

Detailed Description

An X11-based implementation of MGD::DEVICE.


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 
)
Display* MGD::DEVICE_X::GetDisplay (  )  const [inline]
Drawable MGD::DEVICE_X::GetDrawable (  )  const [inline]
virtual CAPABILITY MGD::DEVICE_X::v_GetCapabilities (  )  const [protected, virtual]

Return a list of the capabilities of this device.

Derived class should bitwise-OR with result of base method.

Reimplemented from MGD::DEVICE.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:35:19 2012 for TNTsdk 2012 by  doxygen 1.6.1