OpenCPN Partial API docs
Loading...
Searching...
No Matches
color_handler.cpp File Reference

Implement color_handler.h – global color handling by name. More...

#include <wx/log.h>
#include "color_handler.h"
#include "model/gui_vars.h"
#include "model/ocpn_types.h"
#include "s52plib.h"

Go to the source code of this file.

Functions

wxColour GetGlobalColor (wxString colorName)
 
wxColour GetDialogColor (DialogColor color)
 Retrieves a dialog color based on its role in the application's dialogs.
 

Variables

s52plib * ps52plib
 
wxColorHashMap * pcurrent_user_color_hash
 

Detailed Description

Implement color_handler.h – global color handling by name.

Implement color_handler.h – Global color handling by name.

Definition in file color_handler.cpp.

Function Documentation

◆ GetDialogColor()

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.

◆ GetGlobalColor()

wxColour GetGlobalColor ( wxString  colorName)

Definition at line 40 of file color_handler.cpp.

Variable Documentation

◆ pcurrent_user_color_hash

wxColorHashMap* pcurrent_user_color_hash
extern

Definition at line 300 of file ocpn_app.cpp.