OpenCPN Partial API docs
Loading...
Searching...
No Matches
GuiEvents Class Reference

EventVar exchange point, a singleton. More...

#include <gui_events.h>

Public Member Functions

 GuiEvents (const GuiEvents &)=delete
 
GuiEventsoperator= (const GuiEvents &)=delete
 

Static Public Member Functions

static GuiEventsGetInstance ()
 

Public Attributes

EventVar color_scheme_change
 Notified when the day/dusk/night color scheme changes.
 

Detailed Description

EventVar exchange point, a singleton.

Definition at line 31 of file gui_events.h.

Member Function Documentation

◆ GetInstance()

static GuiEvents & GuiEvents::GetInstance ( )
inlinestatic

Definition at line 33 of file gui_events.h.

Member Data Documentation

◆ color_scheme_change

EventVar GuiEvents::color_scheme_change

Notified when the day/dusk/night color scheme changes.

GetInt() returns a boolean "day" value, true if the new scheme uses dark text on light background.

Definition at line 46 of file gui_events.h.


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