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

Implement user_colors_dlg.h. More...

#include <functional>
#include <iostream>
#include <wx/button.h>
#include <wx/clrpicker.h>
#include <wx/frame.h>
#include <wx/panel.h>
#include <wx/sizer.h>
#include <wx/statline.h>
#include <wx/stattext.h>
#include "model/config_vars.h"
#include "model/gui_events.h"
#include "model/navmsg_filter.h"
#include "user_colors_dlg.h"
#include "tty_scroll.h"

Go to the source code of this file.

Classes

class  UserColoursDlg
 Dialog top frame. More...
 

Functions

wxFrame * UserColorsDlg (wxWindow *parent)
 Run the Data Monitor dialog for user defined colors.
 

Detailed Description

Implement user_colors_dlg.h.

Definition in file user_colors_dlg.cpp.

Function Documentation

◆ UserColorsDlg()

wxFrame * UserColorsDlg ( wxWindow *  parent)

Run the Data Monitor dialog for user defined colors.

If the dialog does not exist it is created, otherwise it is made visible by a Raise() call.

The dialog is created as a child of given parent and normally not that managed. It exists until user exits it at which point it is destroyed.

Returns
pointer do dialog if created, else nullptr.

Definition at line 248 of file user_colors_dlg.cpp.