#include <sgtree.h>
Public Attributes | |
INT32 | MaxWidth |
INT32 | WindowHeight |
INT32 | DisplayMode |
INT32 | PixelSize |
This structure is passed into SGDisplayNode class HandleEvent method. It is ALWAYS passed in, and is always valid.
MaxWidth gives the width of the window display in millipoints. If items are small enough this width may allow several items to format next to each other along a single line.
WindowHeight gives the height of the window display in millipoints. This is mainly only needed for calculating scrollbar information.
DisplayMode indicates which display mode (e.g. Large/Small icons, Full info) the items should be displaying themselves in.
PixelSize holds the size in millipoints of a display pixel in our virtual rendering coordinates. We must grid-lock all our rendering to multiples of this size to ensure that nasty aliasing effects (items jumping further apart as we scroll the list, etc) do not occur. It also means we can specify gaps and line widths, etc, in terms of "a pixel" we so desire.
A structure is used for easy addition of other information at a later date
Definition at line 189 of file sgtree.h.
|
|
|
|
|
|
|
|