![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Drawable is an abstract base class for any surface that can be drawn upon, such as a FXWindow, or FXImage. More...
#include <FXDrawable.h>
Public Member Functions | |
| 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. | |
Protected Member Functions | |
| FXDrawable (FXApp *a, FXint w, FXint h) | |
Protected Attributes | |
| FXVisual * | visual |
| FXint | width |
| FXint | height |
Friends | |
| 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.
|
|