OpenCPN Partial API docs
Loading...
Searching...
No Matches
rudder_angle.h
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright (C) 2010 by Jean-Eudes Onfray *
3
* Copyright (C) 2010 by David S. Register *
4
* *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
9
* *
10
* This program is distributed in the hope that it will be useful, *
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13
* GNU General Public License for more details. *
14
* *
15
* You should have received a copy of the GNU General Public License *
16
* along with this program; if not, see <https://www.gnu.org/licenses/>. *
17
**************************************************************************/
18
25
#ifndef RudderAngle_H_
26
#define RudderAngle_H_
27
28
#include <wx/wxprec.h>
29
30
#ifndef WX_PRECOMP
31
#include <wx/wx.h>
32
#endif
33
34
#include "
dial.h
"
35
36
class
DashboardInstrument_RudderAngle
:
public
DashboardInstrument_Dial
{
37
public
:
38
DashboardInstrument_RudderAngle
(wxWindow* parent, wxWindowID
id
,
39
wxString title,
40
InstrumentProperties
* Properties);
41
~DashboardInstrument_RudderAngle
()
override
=
default
;
42
43
wxSize GetSize(
int
orient, wxSize hint)
override
;
44
void
SetData(
DASH_CAP
,
double
, wxString)
override
;
45
46
private
:
47
protected
:
48
void
DrawFrame(wxGCDC* dc)
override
;
49
void
DrawBackground(wxGCDC* dc)
override
;
50
};
51
52
#endif
// RudderAngle_H_
DashboardInstrument_Dial
Definition
dial.h:78
DashboardInstrument_RudderAngle
Definition
rudder_angle.h:36
InstrumentProperties
Definition
instrument.h:128
dial.h
Dashboard dial instrument.
DASH_CAP
DASH_CAP
Definition
instrument.h:77
plugins
dashboard_pi
src
rudder_angle.h
Generated on Mon Aug 17 2026 02:23:19 for OpenCPN Partial API docs by
1.9.8