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

FX::FXDrawable Class Reference

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

#include <FXDrawable.h>

Inheritance diagram for FX::FXDrawable:
FX::FXId FX::FXObject FX::FXBitmap FX::FXImage FX::FXWindow FX::FXBMPImage FX::FXDDSImage FX::FXGIFImage FX::FXICOImage FX::FXIcon FX::FXIFFImage FX::FXJP2Image FX::FXJPGImage FX::FXPCXImage FX::FXPNGImage FX::FXPPMImage FX::FXRASImage FX::FXRGBImage FX::FXTGAImage FX::FXTIFImage FX::FXWEBPImage FX::FXXBMImage FX::FXXPMImage FX::FXCalendarView FX::FXCanvas FX::FXComposite FX::FXDragCorner FX::FXFrame FX::FXMenuCaption FX::FXMenuSeparator FX::FXScrollBar FX::FXScrollCorner

List of all members.

Public Member Functions

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

FXVisualvisual
FXint width
FXint height

Friends

class FXDC
class FXDCWindow
class FXGLContext

Detailed Description

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:

Copyright © 1997-2011 Jeroen van der Zijp