VCF::ControlGraphicsContext Class Reference
the Graphics Context associated to a control. More...
#include <vcf/ApplicationKit/ControlGraphicsContext.h>
Inheritance diagram for VCF::ControlGraphicsContext:

Public Member Functions | |
| ControlGraphicsContext (Control *control) | |
| Creates a context based on the component. | |
| virtual | ~ControlGraphicsContext () |
| void | init () |
| Control * | getOwningControl () |
| returns the Control the Graphics context belongs to. | |
| void | setOwningControl (Control *owningComponent) |
Detailed Description
the Graphics Context associated to a control.The control owns this same Graphics Context as this Graphics context belongs to it.
- See also:
- GraphicsContext
Win32ControlContext, for an example of a how it is used.
Constructor & Destructor Documentation
|
|
Creates a context based on the component. The context is attached to the component for the duration of it's lifetime. |
|
|
|
Member Function Documentation
|
|
returns the Control the Graphics context belongs to. This is almost always a heavweight component. If the context was created from scratch (in other words, not as the result of a component being created), then it will return NULL as it is not associated to any control.
|
|
|
Reimplemented from VCF::GraphicsContext. |
|
|
|
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/ControlGraphicsContext.h
