FXDrawable

class FXDrawable

Drawable is an abstract base class for any surface that can be drawn upon, such as a FXWindow, or FXImage

Inheritance:


Public Methods

[more]FXint getWidth() const
Width of drawable
[more]FXint getHeight() const
Height of drawable
[more]FXVisual* getVisual() const
Get the visual
[more]void setVisual(FXVisual* vis)
Change visual
[more]virtual void resize(FXint w, FXint h)
Resize drawable to the specified width and height
[more]virtual void save(FXStream& store) const
Save object to stream
[more]virtual void load(FXStream& store)
Load object from stream
[more]virtual ~FXDrawable()
Cleanup


Inherited from FXId:

Public Methods

oFXApp* getApp() const
oFXID id() const
ovirtual void create()
ovirtual void detach()
ovirtual void destroy()
ovoid setUserData(void* ptr)
ovoid* getUserData() const


Inherited from FXObject:

Public Methods

oconst FXchar* getClassName() const
oFXbool 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
oFXint getWidth() const
Width of drawable

oFXint getHeight() const
Height of drawable

oFXVisual* getVisual() const
Get the visual

ovoid setVisual(FXVisual* vis)
Change visual

ovirtual void resize(FXint w, FXint h)
Resize drawable to the specified width and height

ovirtual void save(FXStream& store) const
Save object to stream

ovirtual void load(FXStream& store)
Load object from stream

ovirtual ~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++.