OpenCPN Partial API docs
Loading...
Searching...
No Matches
ocpn_list_ctrl.h
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright (C) 2010 by David S. Register *
3
* *
4
* This program is free software; you can redistribute it and/or modify *
5
* it under the terms of the GNU General Public License as published by *
6
* the Free Software Foundation; either version 2 of the License, or *
7
* (at your option) any later version. *
8
* *
9
* This program is distributed in the hope that it will be useful, *
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
* GNU General Public License for more details. *
13
* *
14
* You should have received a copy of the GNU General Public License *
15
* along with this program; if not, see <https://www.gnu.org/licenses/>. *
16
***************************************************************************/
17
23
24
#ifndef __OCPNLISTCTRL_H__
25
#define __OCPNLISTCTRL_H__
26
27
#include <wx/listctrl.h>
28
#include <wx/string.h>
29
30
#include "
ais_target_list_dlg.h
"
31
#include "ais.h"
32
33
class
AISTargetListDialog
;
// circular
34
40
class
OCPNListCtrl :
public
wxListCtrl {
41
public
:
42
OCPNListCtrl(
AISTargetListDialog
* parent, wxWindowID
id
,
const
wxPoint& pos,
43
const
wxSize& size,
long
style);
44
~OCPNListCtrl();
45
46
wxString OnGetItemText(
long
item,
long
column)
const
;
47
int
OnGetItemColumnImage(
long
item,
long
column)
const
;
48
49
wxString GetTargetColumnData(
AisTargetData
* pAISTarget,
long
column)
const
;
50
51
AISTargetListDialog
* m_parent;
52
};
53
54
#endif
ais_target_list_dlg.h
Class AISTargetListDialog.
AISTargetListDialog
Dialog for displaying a list of AIS targets.
Definition
ais_target_list_dlg.h:57
AisTargetData
Definition
ais_target_data.h:151
gui
include
gui
ocpn_list_ctrl.h
Generated on
for OpenCPN Partial API docs by
1.15.0