Drawable is an abstract base class for any surface that can be drawn upon, such as a FXWindow, or FXImage.
More...
#include <FXDrawable.h>
|
|
FXVisual * | getVisual () const |
| | Get the visual.
|
| |
|
FXint | getWidth () const |
| | Width of drawable.
|
| |
|
FXint | getHeight () const |
| | Height of drawable.
|
| |
|
void | setVisual (FXVisual *vis) |
| | Change visual.
|
| |
|
virtual void | resize (FXint w, FXint h) |
| | Resize drawable to the specified width and height.
|
| |
|
virtual void | save (FXStream &store) const |
| | Save object to stream.
|
| |
|
virtual void | load (FXStream &store) |
| | Load object from stream.
|
| |
|
virtual | ~FXDrawable () |
| | Cleanup.
|
| |
|
FXApp * | getApp () const |
| | Get application.
|
| |
|
FXID | id () const |
| | Get XID handle.
|
| |
|
virtual void | create () |
| | Create resource.
|
| |
|
virtual void | detach () |
| | Detach resource.
|
| |
|
virtual void | destroy () |
| | Destroy resource.
|
| |
|
void | setUserData (FXptr ptr) |
| | Set user data pointer.
|
| |
|
FXptr | getUserData () const |
| | Get user data pointer.
|
| |
|
virtual | ~FXId () |
| | Destructor.
|
| |
|
const FXchar * | getClassName () const |
| | Get class name of some object.
|
| |
|
FXbool | isMemberOf (const FXMetaClass *metaclass) const |
| | Check if object is member of metaclass.
|
| |
|
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
| | Try handle message safely, catching certain exceptions.
|
| |
|
virtual long | onDefault (FXObject *, FXSelector, void *) |
| | Called for unhandled messages.
|
| |
|
virtual | ~FXObject () |
| | Virtual destructor.
|
| |
|
|
| FXDrawable (FXApp *a, FXint w, FXint h) |
| |
|
| FXId (FXApp *a) |
| |
|
|
FXVisual * | visual |
| |
|
FXint | width |
| |
|
FXint | height |
| |
|
FXID | xid |
| |
|
|
class | FXDC |
| |
|
class | FXDCWindow |
| |
|
class | FXGLContext |
| |
Drawable is an abstract base class for any surface that can be drawn upon, such as a FXWindow, or FXImage.
The documentation for this class was generated from the following file: