|  | GL Studio C++ Runtime API
    | 
#include <gls_dnc_std_appearance.h>
| Public Types | |
| enum | Palette | 
| Color palette IDs. | |
| enum | PaletteColor | 
| Color palette enumeration. | |
| Public Member Functions | |
| GlsDNCStdAppearance () | |
| Constructor. | |
| ~GlsDNCStdAppearance () | |
| Destructor. | |
| void | SetPalette (const Palette pal) | 
| Palette | GetPalette (void) | 
| void | SetPaletteColor (const Palette pal, PaletteColor colorEnum, const glsColor &colorVal) | 
| const glsColor & | GetPaletteColor (const Palette pal, PaletteColor colorEnum) | 
| void | ResetPaletteColors (const Palette pal) | 
| Static Public Member Functions | |
| static void | ConfigLibrary (void *const userData, DNCMapChartDataSource &dncSource, const int libNum) | 
The GlsDNCStdAppearance class contains the data and methods to configure a DNCMapChartDataSource with a standard set of icons and features.
| 
 | static | 
The GlsDNCStdAppearance::ConfigLibrary routine is called by the DNCMapChartDataSource whenever a new library is loaded in order to allow the appearance library to setup the library render settings.
| Palette GetPalette | ( | void | ) | 
| const glsColor& GetPaletteColor | ( | const Palette | pal, | 
| PaletteColor | colorEnum | ||
| ) | 
Get a palette color value
| pal | The id of the palette | 
| colorEnum | The id of the color | 
| void ResetPaletteColors | ( | const Palette | pal | ) | 
Reset the given color palette to use the default colors
| pal | The id of the palette to reset | 
| void SetPalette | ( | const Palette | pal | ) | 
Select which color palette to use for rendering.
| pal | The id of the palette to use | 
| void SetPaletteColor | ( | const Palette | pal, | 
| PaletteColor | colorEnum, | ||
| const glsColor & | colorVal | ||
| ) | 
Change the color in a palette
| pal | The id of the palette | 
| colorEnum | The id of the color | 
| colorVal | The new color value |