An X11-based implementation of MGD::DEVICE. More...
#include <mi32/mg2x.h>

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 |
An X11-based implementation of MGD::DEVICE.
| MGD::DEVICE_X::DEVICE_X | ( | ) |
Construct an X device.
After constructing, you should call Create()
| virtual MGD::DEVICE_X::~DEVICE_X | ( | ) | [virtual] |
Destructor.
| ERRVALUE MGD::DEVICE_X::ChangeDrawable | ( | Drawable | drawable | ) |
Takes an XtWindow() of a 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.
1.6.1