OpenCPN Partial API docs
|
Options | Connections tab implementaion, basically a UI for maintaining the list of connections. More...
#include <connections_dlg.h>
Public Member Functions | |
ConnectionsDlg (wxWindow *parent, const std::vector< ConnectionParams * > &connections) | |
Create a new ConnectionsDlg instance. | |
void | ApplySettings () |
Make dialog's settings the active ones, usually by updating globals. | |
void | CancelSettings () |
Restore dialog settings from currently used values, usually globals. | |
void | OnResize (const wxSize &size) |
Resize the connections tab. | |
Options | Connections tab implementaion, basically a UI for maintaining the list of connections.
Definition at line 38 of file connections_dlg.h.
ConnectionsDlg::ConnectionsDlg | ( | wxWindow * | parent, |
const std::vector< ConnectionParams * > & | connections | ||
) |
Create a new ConnectionsDlg instance.
Main window: Panel with a single TopScroll child.
parent | Containing window |
connections | List of existing connections. |
Definition at line 981 of file connections_dlg.cpp.
void ConnectionsDlg::ApplySettings | ( | ) |
Make dialog's settings the active ones, usually by updating globals.
Definition at line 1013 of file connections_dlg.cpp.
void ConnectionsDlg::CancelSettings | ( | ) |
Restore dialog settings from currently used values, usually globals.
Definition at line 1015 of file connections_dlg.cpp.
void ConnectionsDlg::OnResize | ( | const wxSize & | size | ) |
Resize the connections tab.
size | New size available for the dialog i.e., GetClientSize() of containing window. |
Definition at line 992 of file connections_dlg.cpp.