OpenCPN Partial API docs
Loading...
Searching...
No Matches
GrabberWin Class Reference
Inheritance diagram for GrabberWin:

Public Member Functions

 GrabberWin (wxWindow *parent, ocpnFloatingToolbarDialog *toolbar, float scale_factor, wxString icon_name, wxPoint position=wxDefaultPosition)
 
void OnPaint (wxPaintEvent &event)
 
void MouseEvent (wxMouseEvent &event)
 
void SetColorScheme (ColorScheme cs)
 
wxBitmap & GetBitmap ()
 

Public Attributes

wxBitmap m_bitmap
 
bool m_bLeftDown
 
bool m_bRightDown
 
ocpnStyle::Stylem_style
 
float m_scale_factor
 
ocpnFloatingToolbarDialogm_ptoolbar
 
bool m_dragging
 
wxString m_icon_name
 

Detailed Description

Definition at line 88 of file toolbar.h.

Constructor & Destructor Documentation

◆ GrabberWin()

GrabberWin::GrabberWin ( wxWindow *  parent,
ocpnFloatingToolbarDialog toolbar,
float  scale_factor,
wxString  icon_name,
wxPoint  position = wxDefaultPosition 
)

Definition at line 77 of file toolbar.cpp.

Member Function Documentation

◆ GetBitmap()

wxBitmap & GrabberWin::GetBitmap ( )
inline

Definition at line 96 of file toolbar.h.

◆ MouseEvent()

void GrabberWin::MouseEvent ( wxMouseEvent &  event)

Definition at line 130 of file toolbar.cpp.

◆ OnPaint()

void GrabberWin::OnPaint ( wxPaintEvent &  event)

Definition at line 103 of file toolbar.cpp.

◆ SetColorScheme()

void GrabberWin::SetColorScheme ( ColorScheme  cs)

Definition at line 113 of file toolbar.cpp.

Member Data Documentation

◆ m_bitmap

wxBitmap GrabberWin::m_bitmap

Definition at line 98 of file toolbar.h.

◆ m_bLeftDown

bool GrabberWin::m_bLeftDown

Definition at line 99 of file toolbar.h.

◆ m_bRightDown

bool GrabberWin::m_bRightDown

Definition at line 100 of file toolbar.h.

◆ m_dragging

bool GrabberWin::m_dragging

Definition at line 104 of file toolbar.h.

◆ m_icon_name

wxString GrabberWin::m_icon_name

Definition at line 105 of file toolbar.h.

◆ m_ptoolbar

ocpnFloatingToolbarDialog* GrabberWin::m_ptoolbar

Definition at line 103 of file toolbar.h.

◆ m_scale_factor

float GrabberWin::m_scale_factor

Definition at line 102 of file toolbar.h.

◆ m_style

ocpnStyle::Style* GrabberWin::m_style

Definition at line 101 of file toolbar.h.


The documentation for this class was generated from the following files: