Cafu Engine
OptionsT::GridT Struct Reference

Public Attributes

int InitialSpacing
 The default spacing between grid lines, in world units (usually 4, 8 or 16). More...
 
int MinPixelSpacing
 The minimum pixel spacing between grid lines. The grid is hidden if it gets smaller than this. More...
 
bool UseDottedGrid
 When true, the grid is rendered with dots. Otherwise, it is rendered with lines. More...
 
bool ShowHighlight1
 Whether every n-th world unit should be highlighted. More...
 
int SpacingHighlight1
 The spacing number n that should be highlighted. More...
 
bool ShowHighlight2
 Whether every m-th world unit should be highlighted. More...
 
int SpacingHighlight2
 The spacing number m that should be highlighted. More...
 
wxColour ColorBackground
 The background color. More...
 
wxColour ColorBaseGrid
 The base grid color. More...
 
wxColour ColorHighlight1
 The color for highlighting every n-th world unit, if enabled. More...
 
wxColour ColorHighlight2
 The color for highlighting every m-th world unit, if enabled. More...
 
wxColour ColorAxes
 The color for the major axes through the origin. More...
 

Member Data Documentation

wxColour OptionsT::GridT::ColorAxes

The color for the major axes through the origin.

wxColour OptionsT::GridT::ColorBackground

The background color.

wxColour OptionsT::GridT::ColorBaseGrid

The base grid color.

wxColour OptionsT::GridT::ColorHighlight1

The color for highlighting every n-th world unit, if enabled.

wxColour OptionsT::GridT::ColorHighlight2

The color for highlighting every m-th world unit, if enabled.

int OptionsT::GridT::InitialSpacing

The default spacing between grid lines, in world units (usually 4, 8 or 16).

int OptionsT::GridT::MinPixelSpacing

The minimum pixel spacing between grid lines. The grid is hidden if it gets smaller than this.

bool OptionsT::GridT::ShowHighlight1

Whether every n-th world unit should be highlighted.

bool OptionsT::GridT::ShowHighlight2

Whether every m-th world unit should be highlighted.

int OptionsT::GridT::SpacingHighlight1

The spacing number n that should be highlighted.

int OptionsT::GridT::SpacingHighlight2

The spacing number m that should be highlighted.

bool OptionsT::GridT::UseDottedGrid

When true, the grid is rendered with dots. Otherwise, it is rendered with lines.


The documentation for this struct was generated from the following file: