PaintArea Class Reference

#include <docwnd.h>

List of all members.

Public Member Functions

 PaintArea (Point at, Image *img)
virtual ~PaintArea ()
virtual void draw ()
virtual void redraw ()
virtual int handle (int event)


Detailed Description

Paint area widget

Definition at line 153 of file docwnd.h.


Constructor & Destructor Documentation

PaintArea::PaintArea ( Point  at,
Image img 
)

Create paint area widget. Note that widget size is same as image size.

Parameters:
at Widget position.
img Pointer to Image object to use for this paint area.

virtual PaintArea::~PaintArea (  )  [virtual]


Member Function Documentation

virtual void PaintArea::draw (  )  [virtual]

Low level draw of paint area. Do not use since you really know what you are doing.

virtual void PaintArea::redraw (  )  [virtual]

Redraw paint area. Use this to apply changes made on image.

virtual int PaintArea::handle ( int  event  )  [virtual]

Paint area event handling. See FLTK documentation for more information.

Parameters:
event Events enumeration.
Returns:
Return 1 if event is handled by PaintArea. Return Fl_Widget::handle(event) if event is not handled.


The documentation for this class was generated from the following file:
Generated on Wed Aug 29 00:01:04 2007 for GED 2006 by  doxygen 1.5.2