|
OpenCPN Partial API docs
|
EventVar exchange point, a singleton. More...
#include <gui_events.h>
Public Member Functions | |
| GuiEvents (const GuiEvents &)=delete | |
| GuiEvents & | operator= (const GuiEvents &)=delete |
Static Public Member Functions | |
| static GuiEvents & | GetInstance () |
Public Attributes | |
| EventVar | color_scheme_change |
| Notified when the day/dusk/night color scheme changes. | |
| EventVar | gframe_update_status_bar |
| Notified when the top level status bas should be updated by gFrame. | |
| EventVar | on_center_ais_target |
| Notified with a shared_ptr<const AisTargetData> when gFrame should center the given AIS target. | |
EventVar exchange point, a singleton.
Definition at line 30 of file gui_events.h.
|
inlinestatic |
Definition at line 32 of file gui_events.h.
| 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 45 of file gui_events.h.
| EventVar GuiEvents::gframe_update_status_bar |
Notified when the top level status bas should be updated by gFrame.
Definition at line 50 of file gui_events.h.
| EventVar GuiEvents::on_center_ais_target |
Notified with a shared_ptr<const AisTargetData> when gFrame should center the given AIS target.
Definition at line 56 of file gui_events.h.