|
OpenCPN Partial API docs
|
Organizes constant variables and methods. More...
Enumerations | |
| enum class | Breakpoint : int { kExtraSmall = 1 , kSmall = 480 , kMedium = 767 , kLarge = 1024 , kExtraLarge = 1440 } |
Functions | |
| int | GetSpacing (wxWindow *ctx, int factor) |
| Multiply default spacing with a factor, and calculate device independent pixels. | |
| void | LayoutResizeEvent (wxWindow *ctx) |
| Trigger window layout event. | |
| Breakpoint | GetScreenSize (wxRect *rect) |
| Get screen size breakpoint. | |
Organizes constant variables and methods.
|
strong |
Definition at line 37 of file ui_utils.h.
| Breakpoint GUI::GetScreenSize | ( | wxRect * | rect | ) |
Get screen size breakpoint.
| rect | Display geometry. |
| int GUI::GetSpacing | ( | wxWindow * | ctx, |
| int | factor ) |
Multiply default spacing with a factor, and calculate device independent pixels.
| ctx | Window context. |
| int | Scaling factor. |
| void GUI::LayoutResizeEvent | ( | wxWindow * | ctx | ) |
Trigger window layout event.
| ctx | Window context. |