![]() |
Public API Reference |
Compounds | |
| class | csButtonSkin |
| This class defines the interface for a button skin slice. More... | |
| struct | csColorScheme |
| This structure is used to change color scheme. More... | |
| class | csDefaultButtonSkin |
| This is the default skin for buttons. More... | |
| class | csDefaultDialogSkin |
| This is the default skin for dialogs. More... | |
| class | csDefaultListBoxItemSkin |
| This is the default skin for listbox items. More... | |
| class | csDefaultListBoxSkin |
| This is the default skin for listboxes. More... | |
| class | csDefaultScrollBarSkin |
| This is the default skin for scroll bars. More... | |
| class | csDefaultTitlebarSkin |
| This is the default skin for window titlebars. More... | |
| class | csDefaultWindowSkin |
| This is the default skin for windows. More... | |
| class | csDialogSkin |
| This class defines the interface for a dialog skin slice. More... | |
| class | csListBoxItemSkin |
| This class defines the interface for a listbox item skin slice. More... | |
| class | csListBoxSkin |
| This class defines the interface for a listbox skin slice. More... | |
| struct | csPaletteExport |
| Control palette export structure. More... | |
| class | csScrollBarSkin |
| This class defines the interface for a scrollbar skin slice. More... | |
| class | csSkin |
| This class defines the interface for a container of skins. More... | |
| class | csSkinSlice |
| A `skin slice' is responsible for managing the external view of a certain component. More... | |
| class | csTitlebarSkin |
| This class defines the interface for a window titlebar skin slice. More... | |
| class | csWindowSkin |
| This class defines the interface for a window skin slice. More... | |
Palette indices | |
| These are indices into cswsPalette for each component type | |
| #define | CSPAL_APP 0 |
| Application palette index. More... | |
| #define | CSPAL_BUTTON 1 |
| Button palette index. More... | |
| #define | CSPAL_DIALOG 2 |
| Dialog palette index. More... | |
| #define | CSPAL_INPUTLINE 3 |
| Input line palette index. More... | |
| #define | CSPAL_MENUITEM 4 |
| Menu item palette index. More... | |
| #define | CSPAL_MENU 5 |
| Menu palette index. More... | |
| #define | CSPAL_STATIC 6 |
| Static component palette index. More... | |
| #define | CSPAL_TITLEBAR 7 |
| Title bar palette index. More... | |
| #define | CSPAL_WINDOW 8 |
| Window palette index. More... | |
| #define | CSPAL_LISTBOX 9 |
| List box palette index. More... | |
| #define | CSPAL_LISTBOXITEM 10 |
| List box item palette index. More... | |
| #define | CSPAL_SCROLLBAR 11 |
| Scroll bar palette index. More... | |
| #define | CSPAL_NOTEBOOK 12 |
| Notebook palette index. More... | |
| #define | CSPAL_GRIDCELL 13 |
| GridCell palette index. More... | |
| #define | CSPAL_GRIDVIEW 14 |
| GridView palette index. More... | |
| #define | CSPAL_SPLITTER 15 |
| Slider palette index. More... | |
| #define | CSPAL_TREEITEM 16 |
| Tree control item palette index. More... | |
| #define | CSPAL_TREEBOX 17 |
| Tree control palette index. More... | |
| #define | CSPAL_HINT 18 |
| Hint component palette index. More... | |
csApp class color palette indices | |
| #define | CSPAL_APP_WORKSPACE 0 |
| Workspace color index. More... | |
csButton class color palette indices | |
| #define | CSPAL_BUTTON_BACKGROUND 0 |
| button background. More... | |
| #define | CSPAL_BUTTON_DEFFRAME 1 |
| default button frame. More... | |
| #define | CSPAL_BUTTON_DARK3D 2 |
| 3D border dark. More... | |
| #define | CSPAL_BUTTON_LIGHT3D 3 |
| 3D border light. More... | |
| #define | CSPAL_BUTTON_TEXT 4 |
| button text. More... | |
| #define | CSPAL_BUTTON_DTEXT 5 |
| button disabled text. More... | |
csDialog class color palette indices | |
| #define | CSPAL_DIALOG_BACKGROUND 0 |
| Background color index. More... | |
| #define | CSPAL_DIALOG_DARK3D 1 |
| 3D border dark. More... | |
| #define | CSPAL_DIALOG_LIGHT3D 2 |
| 3D border light. More... | |
| #define | CSPAL_DIALOG_2DARK3D 3 |
| 2nd level 3D border dark. More... | |
| #define | CSPAL_DIALOG_2LIGHT3D 4 |
| 2nd level 3D border light. More... | |
csInputLine class color palette indices | |
| #define | CSPAL_INPUTLINE_BACKGROUND 0 |
| input line background. More... | |
| #define | CSPAL_INPUTLINE_BACKGROUND2 1 |
| Background color for csifsThickRect. More... | |
| #define | CSPAL_INPUTLINE_DARK3D 2 |
| 3D border dark. More... | |
| #define | CSPAL_INPUTLINE_LIGHT3D 3 |
| 3D border light. More... | |
| #define | CSPAL_INPUTLINE_2DARK3D 4 |
| 2nd level 3D border dark. More... | |
| #define | CSPAL_INPUTLINE_2LIGHT3D 5 |
| 2nd level 3D border light. More... | |
| #define | CSPAL_INPUTLINE_TEXT 6 |
| input line text. More... | |
| #define | CSPAL_INPUTLINE_SELBACKGROUND 7 |
| input line selection background. More... | |
| #define | CSPAL_INPUTLINE_SELTEXT 8 |
| input line selected text. More... | |
csListBox class color palette indices | |
| #define | CSPAL_LISTBOX_BACKGROUND 0 |
| list box background. More... | |
| #define | CSPAL_LISTBOX_BACKGROUND2 1 |
| background color for cslfsThickRect. More... | |
| #define | CSPAL_LISTBOX_DARK3D 2 |
| 3D border dark. More... | |
| #define | CSPAL_LISTBOX_LIGHT3D 3 |
| 3D border light. More... | |
| #define | CSPAL_LISTBOX_2DARK3D 4 |
| 2nd level 3D border dark. More... | |
| #define | CSPAL_LISTBOX_2LIGHT3D 5 |
| 2nd level 3D border light. More... | |
csTreeBox class color palette indices | |
| #define | CSPAL_TREEBOX_BACKGROUND 0 |
| tree control background. More... | |
| #define | CSPAL_TREEBOX_BACKGROUND2 1 |
| background color for cstfsThickRect. More... | |
| #define | CSPAL_TREEBOX_DARK3D 2 |
| 3D border dark. More... | |
| #define | CSPAL_TREEBOX_LIGHT3D 3 |
| 3D border light. More... | |
| #define | CSPAL_TREEBOX_2DARK3D 4 |
| 2nd level 3D border dark. More... | |
| #define | CSPAL_TREEBOX_2LIGHT3D 5 |
| 2nd level 3D border light. More... | |
csMenuItem class color palette indices | |
| #define | CSPAL_MENUITEM_BACKGROUND 0 |
| Unselected menu item background. More... | |
| #define | CSPAL_MENUITEM_SELECTION 1 |
| Selected menu item background. More... | |
| #define | CSPAL_MENUITEM_UTEXT 2 |
| Unselected text. More... | |
| #define | CSPAL_MENUITEM_STEXT 3 |
| Selected text. More... | |
| #define | CSPAL_MENUITEM_DTEXT 4 |
| Disabled text. More... | |
| #define | CSPAL_MENUITEM_DARK3D 5 |
| Separator 3D dark. More... | |
| #define | CSPAL_MENUITEM_LIGHT3D 6 |
| Separator 3D light. More... | |
csMenu class color palette indices | |
| #define | CSPAL_MENU_BACKGROUND 0 |
| Menu background. More... | |
| #define | CSPAL_MENU_DARK3D 1 |
| 3D border dark. More... | |
| #define | CSPAL_MENU_LIGHT3D 2 |
| 3D border light. More... | |
| #define | CSPAL_MENU_2DARK3D 3 |
| 3D border 2nd level dark. More... | |
| #define | CSPAL_MENU_2LIGHT3D 4 |
| 3D border 2nd level light. More... | |
csStatic class color palette indices | |
| #define | CSPAL_STATIC_BACKGROUND 0 |
| static component background. More... | |
| #define | CSPAL_STATIC_ITEXT 1 |
| static component text / inactive. More... | |
| #define | CSPAL_STATIC_ATEXT 2 |
| static component text / active. More... | |
| #define | CSPAL_STATIC_DTEXT 3 |
| static component text / disabled. More... | |
| #define | CSPAL_STATIC_DARK3D 4 |
| 3D border dark. More... | |
| #define | CSPAL_STATIC_LIGHT3D 5 |
| 3D border light. More... | |
csTitleBar class color palette indices | |
| #define | CSPAL_TITLEBAR_DARK3D 0 |
| 3D border dark. More... | |
| #define | CSPAL_TITLEBAR_LIGHT3D 1 |
| 3D border light. More... | |
| #define | CSPAL_TITLEBAR_PBACKGROUND 2 |
| passive title background. More... | |
| #define | CSPAL_TITLEBAR_PTEXT 3 |
| passive title text. More... | |
| #define | CSPAL_TITLEBAR_PDARK3D 4 |
| passive title 3D bars dark. More... | |
| #define | CSPAL_TITLEBAR_PLIGHT3D 5 |
| passive title 3D bars light. More... | |
| #define | CSPAL_TITLEBAR_ABACKGROUND 6 |
| active title background. More... | |
| #define | CSPAL_TITLEBAR_ATEXT 7 |
| active title text. More... | |
| #define | CSPAL_TITLEBAR_ADARK3D 8 |
| active title 3D bars dark. More... | |
| #define | CSPAL_TITLEBAR_ALIGHT3D 9 |
| active title 3D bars light. More... | |
csWindow class color palette indices | |
| #define | CSPAL_WINDOW_DARK3D 0 |
| 3D border dark. More... | |
| #define | CSPAL_WINDOW_LIGHT3D 1 |
| 3D border light. More... | |
| #define | CSPAL_WINDOW_2DARK3D 2 |
| 3D border 2nd level dark. More... | |
| #define | CSPAL_WINDOW_2LIGHT3D 3 |
| 3D border 2nd level light. More... | |
| #define | CSPAL_WINDOW_BORDER 4 |
| border normal. More... | |
csListBoxItem class color palette indices | |
| #define | CSPAL_LISTBOXITEM_BACKGROUND 0 |
| Unselected listbox item background. More... | |
| #define | CSPAL_LISTBOXITEM_SELECTION 1 |
| Selected listbox item background. More... | |
| #define | CSPAL_LISTBOXITEM_DTEXT 2 |
| Disabled text. More... | |
| #define | CSPAL_LISTBOXITEM_UNTEXT 3 |
| Unselected normal text. More... | |
| #define | CSPAL_LISTBOXITEM_SNTEXT 4 |
| Selected normal text. More... | |
| #define | CSPAL_LISTBOXITEM_UETEXT 5 |
| Unselected emphasized text. More... | |
| #define | CSPAL_LISTBOXITEM_SETEXT 6 |
| Selected emphasized text. More... | |
csTreeItem class color palette indices | |
| #define | CSPAL_TREEITEM_BACKGROUND 0 |
| Unselected tree item background. More... | |
| #define | CSPAL_TREEITEM_SELECTION 1 |
| Selected tree item background. More... | |
| #define | CSPAL_TREEITEM_DTEXT 2 |
| Disabled text. More... | |
| #define | CSPAL_TREEITEM_UNTEXT 3 |
| Unselected normal text. More... | |
| #define | CSPAL_TREEITEM_SNTEXT 4 |
| Selected normal text. More... | |
| #define | CSPAL_TREEITEM_UETEXT 5 |
| Unselected emphasized text. More... | |
| #define | CSPAL_TREEITEM_SETEXT 6 |
| Selected emphasized text. More... | |
| #define | CSPAL_TREEITEM_LINES 7 |
| The lines connecting children. More... | |
csScrollBar class color palette indices | |
| #define | CSPAL_SCROLLBAR_BACKGROUND 0 |
| Scroll bar background. More... | |
| #define | CSPAL_SCROLLBAR_SELBACKGROUND 1 |
| Scroll bar selected background. More... | |
| #define | CSPAL_SCROLLBAR_DARK3D 2 |
| 3D border dark. More... | |
| #define | CSPAL_SCROLLBAR_LIGHT3D 3 |
| 3D border light. More... | |
csNotebook class color palette indices | |
| #define | CSPAL_NOTEBOOK_BACKGROUND 0 |
| Notebook background. More... | |
| #define | CSPAL_NOTEBOOK_TAB_UNSEL 1 |
| Unselected tab background. More... | |
| #define | CSPAL_NOTEBOOK_UNSEL_TEXT 2 |
| The text on unselected tabs. More... | |
| #define | CSPAL_NOTEBOOK_TAB_UNSELB1 3 |
| The most dark color of unselected tab border. More... | |
| #define | CSPAL_NOTEBOOK_TAB_UNSELB2 4 |
| The second color of unselected tab border. More... | |
| #define | CSPAL_NOTEBOOK_TAB_UNSELB3 5 |
| The third color of unselected tab border. More... | |
| #define | CSPAL_NOTEBOOK_TAB_SEL 6 |
| Selected tab background. More... | |
| #define | CSPAL_NOTEBOOK_SEL_TEXT 7 |
| The text on selected tab. More... | |
| #define | CSPAL_NOTEBOOK_TAB_SELB1 8 |
| The most dark color of selected tab border. More... | |
| #define | CSPAL_NOTEBOOK_TAB_SELB2 9 |
| The second color of selected tab border. More... | |
| #define | CSPAL_NOTEBOOK_TAB_SELB3 10 |
| The third color of selected tab border. More... | |
| #define | CSPAL_NOTEBOOK_INFO_TEXT 11 |
| The information text. More... | |
| #define | CSPAL_NOTEBOOK_DARK3D 12 |
| 3D border dark. More... | |
| #define | CSPAL_NOTEBOOK_LIGHT3D 13 |
| 3D border light. More... | |
| #define | CSPAL_NOTEBOOK_2DARK3D 14 |
| 3D border very dark. More... | |
| #define | CSPAL_NOTEBOOK_2LIGHT3D 15 |
| 3D border middle light. More... | |
csGridCell class color palette indices | |
| #define | CSPAL_GRIDCELL_BACKGROUND 0 |
| background. More... | |
| #define | CSPAL_GRIDCELL_BORDER_FG 1 |
| border foreground. More... | |
| #define | CSPAL_GRIDCELL_BORDER_BG 2 |
| border background. More... | |
| #define | CSPAL_GRIDCELL_SEL_BACKGROUND 3 |
| selected background. More... | |
| #define | CSPAL_GRIDCELL_SEL_BORDER_FG 4 |
| selected border foreground. More... | |
| #define | CSPAL_GRIDCELL_SEL_BORDER_BG 5 |
| selected border background. More... | |
| #define | CSPAL_GRIDCELL_DATA_FG 6 |
| data foreground. More... | |
| #define | CSPAL_GRIDCELL_DATA_BG 7 |
| data background. More... | |
| #define | CSPAL_GRIDCELL_SEL_DATA_FG 8 |
| selected data foreground. More... | |
| #define | CSPAL_GRIDCELL_SEL_DATA_BG 9 |
| selcted data background. More... | |
csGridView class color palette indices | |
| #define | CSPAL_GRIDVIEW_BACKGROUND 0 |
| background. More... | |
| #define | CSPAL_GRIDVIEW_DARK3D 1 |
| 3D border dark. More... | |
| #define | CSPAL_GRIDVIEW_LIGHT3D 2 |
| 3D border light. More... | |
| #define | CSPAL_GRIDVIEW_SEL_DARK3D 3 |
| 3D border dark selected. More... | |
| #define | CSPAL_GRIDVIEW_SEL_LIGHT3D 4 |
| 3D border light selected. More... | |
csSplitter class color palette indices | |
| #define | CSPAL_SPLITTER_IBACKGROUND 0 |
| Splitter inactive background. More... | |
| #define | CSPAL_SPLITTER_ILIGHT3D 1 |
| Splitter inactive light 3D color. More... | |
| #define | CSPAL_SPLITTER_IDARK3D 2 |
| Splitter inactive dark 3D color. More... | |
| #define | CSPAL_SPLITTER_ABACKGROUND 3 |
| Splitter active background. More... | |
| #define | CSPAL_SPLITTER_ALIGHT3D 4 |
| Splitter active light 3D color. More... | |
| #define | CSPAL_SPLITTER_ADARK3D 5 |
| Splitter active dark 3D color. More... | |
csTip class color palette indices | |
| #define | CSPAL_HINT_BACKGROUND 0 |
| Background tip color. More... | |
| #define | CSPAL_HINT_TEXT 1 |
| Tip text color. More... | |
| #define | CSPAL_HINT_BORDER 2 |
| Tip border. More... | |
Defines | |
| #define | CSWS_SKIN_DECLARE(name, base) |
| Start the declaration of a skin. More... | |
| #define | CSWS_SKIN_SLICE(comp) InsertSorted (new cs##comp##Skin, Compare); |
| Declare a single skin slice to be included into the skin that is in process of definition. More... | |
| #define | CSWS_SKIN_DECLARE_END |
| Finish the definition of a skin. More... | |
Enumerations | |
| enum | { cs_Color_Black = 0, cs_Color_White, cs_Color_Gray_D, cs_Color_Gray_M, cs_Color_Gray_L, cs_Color_Blue_D, cs_Color_Blue_M, cs_Color_Blue_L, cs_Color_Green_D, cs_Color_Green_M, cs_Color_Green_L, cs_Color_Red_D, cs_Color_Red_M, cs_Color_Red_L, cs_Color_Cyan_D, cs_Color_Cyan_M, cs_Color_Cyan_L, cs_Color_Brown_D, cs_Color_Brown_M, cs_Color_Brown_L, cs_Color_Lemon, cs_Color_Last } |
| csApp contains a static array with indexes of all colors used in windowing system. More... | |
Functions | |
| int | csRegisterPalette (int *Palette, int Size) |
| Register a new color palette (returns the palette index). More... | |
| void | csSetColorScheme (csApp *iApp, csColorScheme &Scheme) |
| Change the global color scheme (or restore scheme if 0 passed). More... | |
| void | csResetPalette (void) |
| Cleanup the global palette array when it is not needed anymore. More... | |
Variables | |
| csPaletteExport * | cswsPalette |
| A global array containing CSWS palette for all component types. More... | |
| int | cswsPaletteSize |
| Total number of palettes. More... | |
|
|
Application palette index.
|
|
|
Workspace color index.
|
|
|
Button palette index.
|
|
|
button background.
|
|
|
3D border dark.
|
|
|
default button frame.
|
|
|
button disabled text.
|
|
|
3D border light.
|
|
|
button text.
|
|
|
Dialog palette index.
|
|
|
2nd level 3D border dark.
|
|
|
2nd level 3D border light.
|
|
|
Background color index.
|
|
|
3D border dark.
|
|
|
3D border light.
|
|
|
GridCell palette index.
|
|
|
background.
|
|
|
border background.
|
|
|
border foreground.
|
|
|
data background.
|
|
|
data foreground.
|
|
|
selected background.
|
|
|
selected border background.
|
|
|
selected border foreground.
|
|
|
selcted data background.
|
|
|
selected data foreground.
|
|
|
GridView palette index.
|
|
|
background.
|
|
|
3D border dark.
|
|
|
3D border light.
|
|
|
3D border dark selected.
|
|
|
3D border light selected.
|
|
|
Hint component palette index.
|
|
|
Background tip color.
|
|
|
Tip border.
|
|
|
Tip text color.
|
|
|
Input line palette index.
|
|
|
2nd level 3D border dark.
|
|
|
2nd level 3D border light.
|
|
|
input line background.
|
|
|
Background color for csifsThickRect.
|
|
|
3D border dark.
|
|
|
3D border light.
|
|
|
input line selection background.
|
|
|
input line selected text.
|
|
|
input line text.
|
|
|
List box palette index.
|
|
|
2nd level 3D border dark.
|
|
|
2nd level 3D border light.
|
|
|
list box background.
|
|
|
background color for cslfsThickRect.
|
|
|
3D border dark.
|
|
|
3D border light.
|
|
|
List box item palette index.
|
|
|
Unselected listbox item background.
|
|
|
Disabled text.
|
|
|
Selected listbox item background.
|
|
|
Selected emphasized text.
|
|
|
Selected normal text.
|
|
|
Unselected emphasized text.
|
|
|
Unselected normal text.
|
|
|
Menu palette index.
|
|
|
3D border 2nd level dark.
|
|
|
3D border 2nd level light.
|
|
|
Menu background.
|
|
|
3D border dark.
|
|
|
3D border light.
|
|
|
Menu item palette index.
|
|
|
Unselected menu item background.
|
|
|
Separator 3D dark.
|
|
|
Disabled text.
|
|
|
Separator 3D light.
|
|
|
Selected menu item background.
|
|
|
Selected text.
|
|
|
Unselected text.
|
|
|
Notebook palette index.
|
|
|
3D border very dark.
|
|
|
3D border middle light.
|
|
|
Notebook background.
|
|
|
3D border dark.
|
|
|
The information text.
|
|
|
3D border light.
|
|
|
The text on selected tab.
|
|
|
Selected tab background.
|
|
|
The most dark color of selected tab border.
|
|
|
The second color of selected tab border.
|
|
|
The third color of selected tab border.
|
|
|
Unselected tab background.
|
|
|
The most dark color of unselected tab border.
|
|
|
The second color of unselected tab border.
|
|
|
The third color of unselected tab border.
|
|
|
The text on unselected tabs.
|
|
|
Scroll bar palette index.
|
|
|
Scroll bar background.
|
|
|
3D border dark.
|
|
|
3D border light.
|
|
|
Scroll bar selected background.
|
|
|
Slider palette index.
|
|
|
Splitter active background.
|
|
|
Splitter active dark 3D color.
|
|
|
Splitter active light 3D color.
|
|
|
Splitter inactive background.
|
|
|
Splitter inactive dark 3D color.
|
|
|
Splitter inactive light 3D color.
|
|
|
Static component palette index.
|
|
|
static component text / active.
|
|
|
static component background.
|
|
|
3D border dark.
|
|
|
static component text / disabled.
|
|
|
static component text / inactive.
|
|
|
3D border light.
|
|
|
Title bar palette index.
|
|
|
active title background.
|
|
|
active title 3D bars dark.
|
|
|
active title 3D bars light.
|
|
|
active title text.
|
|
|
3D border dark.
|
|
|
3D border light.
|
|
|
passive title background.
|
|
|
passive title 3D bars dark.
|
|
|
passive title 3D bars light.
|
|
|
passive title text.
|
|
|
Tree control palette index.
|
|
|
2nd level 3D border dark.
|
|
|
2nd level 3D border light.
|
|
|
tree control background.
|
|
|
background color for cstfsThickRect.
|
|
|
3D border dark.
|
|
|
3D border light.
|
|
|
Tree control item palette index.
|
|
|
Unselected tree item background.
|
|
|
Disabled text.
|
|
|
The lines connecting children.
|
|
|
Selected tree item background.
|
|
|
Selected emphasized text.
|
|
|
Selected normal text.
|
|
|
Unselected emphasized text.
|
|
|
Unselected normal text.
|
|
|
Window palette index.
|
|
|
3D border 2nd level dark.
|
|
|
3D border 2nd level light.
|
|
|
border normal.
|
|
|
3D border dark.
|
|
|
3D border light.
|
|
|
Value: class name : public base \
{ \
public: \
name () \
{
`name' is the name of the skin (e.g. "Default") `base' is the base class of the skin (e.g. "csSkin") |
|
|
Value: CSWS_SKIN_DECLARE (my##var##Type, csSkin); \ CSWS_SKIN_SLICE (DefaultScrollBar); \ CSWS_SKIN_SLICE (DefaultButton); \ CSWS_SKIN_SLICE (DefaultWindow); \ CSWS_SKIN_SLICE (DefaultDialog); \ CSWS_SKIN_SLICE (DefaultTitlebar); \ CSWS_SKIN_SLICE (DefaultListBox); \ CSWS_SKIN_SLICE (DefaultListBoxItem); \ CSWS_SKIN_DECLARE_END var Definition at line 30 of file sdefault.h. |
|
|
Value: } \ } After CSWS_SKIN_DECLARE_END you should put either a variable name (e.g. "CSWS_SKIN_DECLARE_END myskin;") or simply a ';' - in the later case you will define just a type called [name], where `name' is the first parameter passed to CSWS_SKIN_DECLARE(), and you will have to declare somewhere a variable of this type in order to use the skin. |
|
|
Declare a single skin slice to be included into the skin that is in process of definition. "comp" is the component name, e.g. "Button", "Window" and so on. |
|
|
csApp contains a static array with indexes of all colors used in windowing system. They are mapped to nearest closest match in physical palette.
|
|
||||||||||||
|
Register a new color palette (returns the palette index). Registered palettes will be affected by color scheme changes; unregistered won't be. |
|
|
Cleanup the global palette array when it is not needed anymore. Must be called to avoid memleaks. |
|
||||||||||||
|
Change the global color scheme (or restore scheme if 0 passed).
|
|
|
A global array containing CSWS palette for all component types.
Definition at line 119 of file cswspal.h. Referenced by csComponent::SetPalette. |
|
|
Total number of palettes.
|