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

FX::FXBitmapFrame Class Reference

#include <FXBitmapFrame.h>

Inheritance diagram for FX::FXBitmapFrame:
FX::FXFrame FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject

List of all members.

Public Member Functions

 FXBitmapFrame (FXComposite *p, FXBitmap *bmp, FXuint opts=FRAME_SUNKEN|FRAME_THICK, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=0, FXint pr=0, FXint pt=0, FXint pb=0)
virtual void create ()
virtual FXint getDefaultWidth ()
virtual FXint getDefaultHeight ()
void setBitmap (FXBitmap *bmp)
FXBitmapgetBitmap () const
void setOnColor (FXColor clr)
FXColor getOnColor () const
void setOffColor (FXColor clr)
FXColor getOffColor () const
void setJustify (FXuint mode)
FXuint getJustify () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXBitmapFrame ()

Detailed Description

The bitmap frame is a simple frame widget displaying an monochrome bitmap image; the bitmap is not owned by the bitmap frame so it must be explicitly deleted elsewhere.


Constructor & Destructor Documentation

FX::FXBitmapFrame::FXBitmapFrame ( FXComposite p,
FXBitmap bmp,
FXuint  opts = FRAME_SUNKEN|FRAME_THICK,
FXint  x = 0,
FXint  y = 0,
FXint  w = 0,
FXint  h = 0,
FXint  pl = 0,
FXint  pr = 0,
FXint  pt = 0,
FXint  pb = 0 
)

Construct image frame and pass it an image.

virtual FX::FXBitmapFrame::~FXBitmapFrame ( ) [virtual]

Destroy the widget, but do not destroy the image.


Member Function Documentation

virtual void FX::FXBitmapFrame::create ( ) [virtual]

Create window.

Reimplemented from FX::FXWindow.

Get default width.

Reimplemented from FX::FXFrame.

Get default height.

Reimplemented from FX::FXFrame.

Change the image being displayed.

Return the current image.

Set on color.

Get on color.

Set off color.

Get off color.

Set the current justification mode.

Get the current justification mode.

virtual void FX::FXBitmapFrame::save ( FXStream store) const [virtual]

Save to stream.

Reimplemented from FX::FXFrame.

virtual void FX::FXBitmapFrame::load ( FXStream store) [virtual]

Load from stream.

Reimplemented from FX::FXFrame.

Copyright © 1997-2005 Jeroen van der Zijp