Drawable is an abstract base class for any surface that can be drawn upon, such as a FXWindow, or FXImage
Inheritance:
Public Methods
-
FXint getWidth() const
- Width of drawable
-
FXint getHeight() const
- Height of drawable
-
FXVisual* getVisual() const
- Get the visual
-
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
Inherited from FXId:
Public Methods
-
FXApp* getApp() const
-
FXID id() const
-
virtual void create()
-
virtual void detach()
-
virtual void destroy()
-
void setUserData(void* ptr)
-
void* getUserData() const
Public Methods
-
const FXchar* getClassName() const
-
FXbool isMemberOf(const FXMetaClass* metaclass) const
Documentation
Drawable is an abstract base class for any surface that can be
drawn upon, such as a FXWindow, or FXImage
FXint getWidth() const
- Width of drawable
FXint getHeight() const
- Height of drawable
FXVisual* getVisual() const
- Get the visual
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
- Direct child classes:
- FXWindow
FXImage
FXBitmap
- Friends:
- class FXDCWindow
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.