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::FXGIFImage FX::FXICOImage FX::FXIcon FX::FXJPGImage FX::FXPCXImage FX::FXPNGImage FX::FXPPMImage FX::FXRGBImage FX::FXTGAImage FX::FXTIFImage FX::FXXBMImage 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 Member Functions

FXint getWidth () const
FXint getHeight () const
FXVisualgetVisual () const
void setVisual (FXVisual *vis)
virtual void resize (FXint w, FXint h)
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXDrawable ()

Detailed Description

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


Constructor & Destructor Documentation

virtual FX::FXDrawable::~FXDrawable  )  [virtual]
 

Cleanup.


Member Function Documentation

FXint FX::FXDrawable::getWidth  )  const [inline]
 

Width of drawable.

FXint FX::FXDrawable::getHeight  )  const [inline]
 

Height of drawable.

FXVisual* FX::FXDrawable::getVisual  )  const [inline]
 

Get the visual.

void FX::FXDrawable::setVisual FXVisual vis  ) 
 

Change visual.

virtual void FX::FXDrawable::resize FXint  w,
FXint  h
[virtual]
 

Resize drawable to the specified width and height.

Reimplemented in FX::FXBitmap, FX::FXIcon, FX::FXIconList, FX::FXImage, FX::FXMDIChild, FX::FXRootWindow, FX::FXText, FX::FXTopWindow, and FX::FXWindow.

virtual void FX::FXDrawable::save FXStream store  )  const [virtual]
 

Save object to stream.

Reimplemented from FX::FXId.

Reimplemented in FX::FX4Splitter, FX::FXArrowButton, FX::FXBitmap, FX::FXBitmapFrame, FX::FXBitmapView, FX::FXCheckButton, FX::FXColorBar, FX::FXColorDialog, FX::FXColorSelector, FX::FXColorWell, FX::FXColorWheel, FX::FXComboBox, FX::FXDial, FX::FXDirBox, FX::FXDirDialog, FX::FXDirList, FX::FXDirSelector, FX::FXDragCorner, FX::FXDriveBox, FX::FXFileDialog, FX::FXFileList, FX::FXFileSelector, FX::FXFoldingList, FX::FXFontDialog, FX::FXFontSelector, FX::FXFrame, FX::FXGLCanvas, FX::FXGLViewer, FX::FXGradientBar, FX::FXGroupBox, FX::FXHeader, FX::FXIconList, FX::FXImage, FX::FXImageFrame, FX::FXImageView, FX::FXLabel, FX::FXList, FX::FXListBox, FX::FXMDIChild, FX::FXMDIClient, FX::FXMenuButton, FX::FXMenuCaption, FX::FXMenuCascade, FX::FXMenuCheck, FX::FXMenuCommand, FX::FXMenuRadio, FX::FXMenuSeparator, FX::FXMenuTitle, FX::FXOptionMenu, FX::FXPacker, FX::FXPrintDialog, FX::FXProgressBar, FX::FXRadioButton, FX::FXRealSlider, FX::FXRealSpinner, FX::FXReplaceDialog, FX::FXRuler, FX::FXScrollBar, FX::FXSlider, FX::FXSpinner, FX::FXSplitter, FX::FXSpring, FX::FXStatusBar, FX::FXStatusLine, FX::FXSwitcher, FX::FXTabBar, FX::FXTable, FX::FXText, FX::FXTextField, FX::FXToggleButton, FX::FXToolBar, FX::FXToolBarGrip, FX::FXToolBarShell, FX::FXToolBarTab, FX::FXToolTip, FX::FXTopWindow, FX::FXTreeList, FX::FXTreeListBox, FX::FXTriStateButton, FX::FXWindow, and FX::FXWizard.

virtual void FX::FXDrawable::load FXStream store  )  [virtual]
 

Load object from stream.

Reimplemented from FX::FXId.

Reimplemented in FX::FX4Splitter, FX::FXArrowButton, FX::FXBitmap, FX::FXBitmapFrame, FX::FXBitmapView, FX::FXCheckButton, FX::FXColorBar, FX::FXColorDialog, FX::FXColorSelector, FX::FXColorWell, FX::FXColorWheel, FX::FXComboBox, FX::FXDial, FX::FXDirBox, FX::FXDirDialog, FX::FXDirList, FX::FXDirSelector, FX::FXDragCorner, FX::FXDriveBox, FX::FXFileDialog, FX::FXFileList, FX::FXFileSelector, FX::FXFoldingList, FX::FXFontDialog, FX::FXFontSelector, FX::FXFrame, FX::FXGLCanvas, FX::FXGLViewer, FX::FXGradientBar, FX::FXGroupBox, FX::FXHeader, FX::FXIconList, FX::FXImage, FX::FXImageFrame, FX::FXImageView, FX::FXLabel, FX::FXList, FX::FXListBox, FX::FXMDIChild, FX::FXMDIClient, FX::FXMenuButton, FX::FXMenuCaption, FX::FXMenuCascade, FX::FXMenuCheck, FX::FXMenuCommand, FX::FXMenuRadio, FX::FXMenuSeparator, FX::FXMenuTitle, FX::FXOptionMenu, FX::FXPacker, FX::FXPrintDialog, FX::FXProgressBar, FX::FXRadioButton, FX::FXRealSlider, FX::FXRealSpinner, FX::FXReplaceDialog, FX::FXRuler, FX::FXScrollBar, FX::FXSlider, FX::FXSpinner, FX::FXSplitter, FX::FXSpring, FX::FXStatusBar, FX::FXStatusLine, FX::FXSwitcher, FX::FXTabBar, FX::FXTable, FX::FXText, FX::FXTextField, FX::FXToggleButton, FX::FXToolBar, FX::FXToolBarGrip, FX::FXToolBarShell, FX::FXToolBarTab, FX::FXToolTip, FX::FXTopWindow, FX::FXTreeList, FX::FXTreeListBox, FX::FXTriStateButton, FX::FXWindow, and FX::FXWizard.

Copyright © 1997-2004 Jeroen van der Zijp