OpenCPN Partial API docs
|
Modern User Interface Control Bar for OpenCPN. More...
#include <MUIBar.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) |
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 726 of file MUIBar.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 728 of file MUIBar.cpp.
MUIBar::~MUIBar | ( | ) |
Definition at line 742 of file MUIBar.cpp.
void MUIBar::DrawDC | ( | ocpnDC & | dc, |
double | displayScale | ||
) |
Definition at line 1318 of file MUIBar.cpp.
void MUIBar::DrawGL | ( | ocpnDC & | gldc, |
double | displayScale | ||
) |
Definition at line 1199 of file MUIBar.cpp.
|
inline |
bool MUIBar::MouseEvent | ( | wxMouseEvent & | event | ) |
Definition at line 805 of file MUIBar.cpp.
void MUIBar::onCanvasOptionsAnimationTimerEvent | ( | wxTimerEvent & | event | ) |
Definition at line 1407 of file MUIBar.cpp.
void MUIBar::OnScaleSelected | ( | wxMouseEvent & | event | ) |
Definition at line 869 of file MUIBar.cpp.
void MUIBar::PushCanvasOptions | ( | ) |
Definition at line 1371 of file MUIBar.cpp.
void MUIBar::ResetCanvasOptions | ( | ) |
Definition at line 1323 of file MUIBar.cpp.
void MUIBar::SetBestPosition | ( | void | ) |
Definition at line 992 of file MUIBar.cpp.
void MUIBar::SetCanvasENCAvailable | ( | bool | avail | ) |
Definition at line 897 of file MUIBar.cpp.
void MUIBar::SetColorScheme | ( | ColorScheme | cs | ) |
Definition at line 781 of file MUIBar.cpp.
void MUIBar::SetFollowButtonState | ( | int | state | ) |
Definition at line 1029 of file MUIBar.cpp.
void MUIBar::UpdateDynamicValues | ( | ) |
Definition at line 1012 of file MUIBar.cpp.