|
OpenCPN Partial API docs
|
Modern User Interface Control Bar for OpenCPN. More...
#include <mui_bar.h>
Public Member Functions | |
| MUIBar (ChartCanvas *parent, int orientation=wxHORIZONTAL, float size_factor=1.0, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr) | |
| void | onCanvasOptionsAnimationTimerEvent (wxTimerEvent &event) |
| void | SetBestPosition () |
| void | UpdateDynamicValues () |
| int | GetOrientation () |
| void | ResetCanvasOptions () |
| void | SetFollowButtonState (int state) |
| CanvasOptions * | GetCanvasOptions () |
| void | SetColorScheme (ColorScheme cs) |
| void | SetCanvasENCAvailable (bool avail) |
| void | OnScaleSelected (wxMouseEvent &event) |
| void | DrawGL (ocpnDC &gldc, double displayScale) |
| void | DrawDC (ocpnDC &dc, double displayScale) |
| wxRect | GetRect () |
| bool | MouseEvent (wxMouseEvent &event) |
| void | PushCanvasOptions () |
Public Attributes | |
| wxPoint | m_screenPos |
| wxSize | m_size |
Modern User Interface Control Bar for OpenCPN.
Provides a customizable control bar with various buttons and options for interacting with the chart canvas in OpenCPN.
| MUIBar::MUIBar | ( | ) |
Definition at line 716 of file mui_bar.cpp.
| MUIBar::MUIBar | ( | ChartCanvas * | parent, |
| int | orientation = wxHORIZONTAL, |
||
| float | size_factor = 1.0, |
||
| wxWindowID | id = wxID_ANY, |
||
| const wxPoint & | pos = wxDefaultPosition, |
||
| const wxSize & | size = wxDefaultSize, |
||
| long | style = 0, |
||
| const wxString & | name = wxPanelNameStr |
||
| ) |
Definition at line 718 of file mui_bar.cpp.
| MUIBar::~MUIBar | ( | ) |
Definition at line 732 of file mui_bar.cpp.
| void MUIBar::DrawDC | ( | ocpnDC & | dc, |
| double | displayScale | ||
| ) |
Definition at line 1389 of file mui_bar.cpp.
| void MUIBar::DrawGL | ( | ocpnDC & | gldc, |
| double | displayScale | ||
| ) |
Definition at line 1270 of file mui_bar.cpp.
|
inline |
| bool MUIBar::MouseEvent | ( | wxMouseEvent & | event | ) |
Definition at line 795 of file mui_bar.cpp.
| void MUIBar::onCanvasOptionsAnimationTimerEvent | ( | wxTimerEvent & | event | ) |
Definition at line 1478 of file mui_bar.cpp.
| void MUIBar::OnScaleSelected | ( | wxMouseEvent & | event | ) |
Definition at line 942 of file mui_bar.cpp.
| void MUIBar::PushCanvasOptions | ( | ) |
Definition at line 1442 of file mui_bar.cpp.
| void MUIBar::ResetCanvasOptions | ( | ) |
Definition at line 1394 of file mui_bar.cpp.
| void MUIBar::SetBestPosition | ( | ) |
Definition at line 1063 of file mui_bar.cpp.
| void MUIBar::SetCanvasENCAvailable | ( | bool | avail | ) |
Definition at line 970 of file mui_bar.cpp.
| void MUIBar::SetColorScheme | ( | ColorScheme | cs | ) |
Definition at line 771 of file mui_bar.cpp.
| void MUIBar::SetFollowButtonState | ( | int | state | ) |
Definition at line 1100 of file mui_bar.cpp.
| void MUIBar::UpdateDynamicValues | ( | ) |
Definition at line 1083 of file mui_bar.cpp.