Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

CColoredPanel Class Reference

#include <ccomponent.h>

Inheritance diagram for CColoredPanel:

Inheritance graph
[legend]
Collaboration diagram for CColoredPanel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CColoredPanel (CRect &bounding_rect, CColor color)
void set_color (CColor color)
virtual void do_draw (CSurface &surface, CRect &rect)

Detailed Description

Simple panel descendant that represents a colored background.

Definition at line 249 of file ccomponent.h.


Constructor & Destructor Documentation

CColoredPanel::CColoredPanel CRect bounding_rect,
CColor  color
[inline]
 

Creates the CColoredPanel with the given bounding rectangle and color.

Definition at line 255 of file ccomponent.h.

References CComponent::set_bounding_rect().

Here is the call graph for this function:


Member Function Documentation

virtual void CColoredPanel::do_draw CSurface surface,
CRect rect
[inline, virtual]
 

Draws the panel. (Implementation of CComponent's template method).

Reimplemented from CComponent.

Definition at line 266 of file ccomponent.h.

References CSurface::fill_rect(), and CComponent::get_absolute_bounding_rect().

Here is the call graph for this function:

void CColoredPanel::set_color CColor  color  )  [inline]
 

Sets the color of the panel.

Definition at line 260 of file ccomponent.h.

References CComponent::redraw().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Wed Aug 27 11:58:45 2003 for GFW by doxygen 1.3.3