|
OpenCPN Partial API docs
|
GUI library utils and events. More...
#include <set>#include <wx/window.h>#include <wx/scrolwin.h>#include <wx/event.h>Go to the source code of this file.
Namespaces | |
| namespace | GUI |
| Organizes constant variables and methods. | |
Enumerations | |
| enum class | Breakpoint : int { kExtraSmall = 1 , kSmall = 480 , kMedium = 767 , kLarge = 1024 , kExtraLarge = 1440 } |
Functions | |
| wxDECLARE_EVENT (EVT_LAYOUT_RESIZE, wxCommandEvent) | |
| template<typename T > | |
| bool | GUI::HasKey (const std::set< int > &set, T key) |
| Check if a key exists in a set. | |
| int | GUI::GetSpacing (wxWindow *ctx, int factor) |
| Multiply default spacing with a factor, and calculate device independent pixels. | |
| void | GUI::LayoutResizeEvent (wxWindow *ctx) |
| Trigger window layout event. | |
| Breakpoint | GUI::GetScreenSize (wxRect *rect) |
| Get screen size breakpoint. | |
GUI library utils and events.
Definition in file ui_utils.h.