|
OpenCPN Partial API docs
|
Global color handling by name. More...
#include <wx/colour.h>#include "color_types.h"Go to the source code of this file.
Enumerations | |
| enum | DialogColor { DLG_BACKGROUND , DLG_SELECTED_BACKGROUND , DLG_UNSELECTED_BACKGROUND , DLG_ACCENT , DLG_SELECTED_ACCENT , DLG_UNSELECTED_ACCENT , DLG_TEXT , DLG_HIGHLIGHT } |
| Enumeration of color types used in dialogs. More... | |
Functions | |
| wxColour | GetGlobalColor (wxString colorName) |
| wxColour | GetDialogColor (DialogColor color) |
| Retrieves a dialog color based on its role in the application's dialogs. | |
Variables | |
| wxColorHashMap * | pcurrent_user_color_hash |
| Global instance. | |
Global color handling by name.
Definition in file color_handler.h.
| enum DialogColor |
Enumeration of color types used in dialogs.
This enum defines different color roles used in the application's dialogs.
Definition at line 37 of file color_handler.h.
| wxColour GetDialogColor | ( | DialogColor | color | ) |
Retrieves a dialog color based on its role in the application's dialogs.
Definition at line 59 of file color_handler.cpp.
| wxColour GetGlobalColor | ( | wxString | colorName | ) |
Definition at line 40 of file color_handler.cpp.
|
extern |
Global instance.
Definition at line 38 of file color_handler.cpp.