#include <sgtree.h>
Public Attributes | |
DocRect | Bounds |
RenderRegion * | Renderer |
DocColour | Foreground |
DocColour | Background |
DocColour | SelForeground |
DocColour | SelBackground |
DocColour | Transparent |
This structure is passed down through the SuperGallery Display Tree by the SGDisplayNode::HandleEvent method, when processing REDRAW events. It includes the redraw clipping region which needs to be redrawn, plus a formatting information structure to allow the items to calculate their layout.
Bounds indicates the 'clip rect' for the current redraw. Items outside Bounds should not be redrawn at all.
Renderer points to a render region with which you can draw stuff
Foreground, Background, Transparent, are predefined colours which should be used for the redraw. These are read from host OS settings, so should be used in preference to constant colours where possible, in order to be as host-OS friendly as possible.
A structure is used for easy addition of other information at a later date
Definition at line 364 of file sgtree.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|