VCF::ColorEtchedBorder Class Reference
#include <vcf/ApplicationKit/ColorEtchedBorder.h>
Inheritance diagram for VCF::ColorEtchedBorder:
List of all members.
Constructor & Destructor Documentation
| VCF::ColorEtchedBorder::ColorEtchedBorder |
( |
|
) |
|
|
| VCF::ColorEtchedBorder::ColorEtchedBorder |
( |
Component * |
owner |
) |
|
|
| virtual VCF::ColorEtchedBorder::~ColorEtchedBorder |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
| virtual Rect VCF::ColorEtchedBorder::getClientRect |
( |
Rect * |
initialBounds, |
|
|
Control * |
control |
|
) |
[virtual] |
|
|
|
Returns a client rect in which contained components may live.
Thus if a particular implementation required a 3 pixel border at the edges to draw itself, then it would retrieve the component's border and then reduce it by 3 pixels. This new value is the available area that the component could use to place child components
- Parameters:
-
| Rect* | - the initial bounds to calculate a new client rectangle from. |
| Control* | - a control that may provide additional information |
- Returns:
- Rect the new (possibly adjusted) client rectangle
Reimplemented from VCF::EtchedBorder. |
| Color* VCF::ColorEtchedBorder::getHighlight |
( |
|
) |
[inline] |
|
| Color* VCF::ColorEtchedBorder::getShadow |
( |
|
) |
[inline] |
|
| virtual void VCF::ColorEtchedBorder::paint |
( |
Rect * |
bounds, |
|
|
GraphicsContext * |
context |
|
) |
[virtual] |
|
|
|
paints a border in the given bounds on the context
- Parameters:
-
| Rect | the rectangle that makes up the outer most region of the border |
| GraphicsContext | the context on which to paint the border |
Reimplemented from VCF::EtchedBorder. |
|
|
Draw the border, using the passed in context to draw on.
The control argument may be used for specific purposes, but typically it's just used to get the initial bounds for the border to draw within.
Reimplemented from VCF::EtchedBorder. |
| void VCF::ColorEtchedBorder::setHighlight |
( |
Color * |
val |
) |
[inline] |
|
| void VCF::ColorEtchedBorder::setShadow |
( |
Color * |
val |
) |
[inline] |
|
Member Data Documentation
The documentation for this class was generated from the following file: