Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXDrawable Class Reference

#include <FXDrawable.h>

Inheritance diagram for FX::FXDrawable:

FX::FXId FX::FXObject FX::FXBitmap FX::FXImage FX::FXWindow FX::FXBMPImage FX::FXGIFImage FX::FXICOImage FX::FXIcon FX::FXJPGImage FX::FXPCXImage FX::FXPNGImage FX::FXRGBImage FX::FXTGAImage FX::FXTIFImage FX::FXXPMImage FX::FXCanvas FX::FXComposite FX::FXDragCorner FX::FXFrame FX::FXMenuCaption FX::FXMenuSeparator FX::FXScrollBar FX::FXScrollCorner FX::FXToolBarGrip List of all members.

Public Methods

FXint getWidth () const
 Width of drawable.

FXint getHeight () const
 Height of drawable.

FXVisualgetVisual () 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.


Friends

class FXDC
class FXDCWindow

Detailed Description

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