VCF::Basic3DBorder Class Reference
Draws a basic 3D border around a component. More...
#include <vcf/ApplicationKit/Basic3DBorder.h>
Inheritance diagram for VCF::Basic3DBorder:

Public Member Functions | |
| Basic3DBorder () | |
| Basic3DBorder (bool inverted) | |
| Basic3DBorder (Component *owner) | |
| virtual | ~Basic3DBorder () |
| virtual void | paint (Control *control, GraphicsContext *context) |
| Paint the border on context. | |
| virtual void | paint (Rect *bounds, GraphicsContext *context) |
| paints a border in the given bounds on the context | |
| virtual Rect | getClientRect (Rect *initialBounds, Control *control) |
Returns a client rect in which contained components may live. | |
| void | setInverted (const bool &inverted) |
| bool | isInverted () |
Protected Attributes | |
| bool | inverted_ |
Detailed Description
Draws a basic 3D border around a component.The border is 2 pixels thick
- Version:
- 1.0
- Author:
- Jim Crafton
Constructor & Destructor Documentation
|
|
|
|
|
|
|
|
|
|
|
|
Member Function Documentation
|
||||||||||||
|
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
Implements VCF::Border. |
|
|
|
|
||||||||||||
|
paints a border in the given bounds on the context
Implements VCF::Border. |
|
||||||||||||
|
Paint the border on context.
Implements VCF::Border. |
|
|
|
Member Data Documentation
|
|
|
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/Basic3DBorder.h
