Rise
The Vieneo Province
Toggle main menu visibility
Loading...
Searching...
No Matches
WaypointDialog.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
DialogBase.h
"
4
#include "
..\GameClass.h
"
5
#include "
..\Viewscreen\Viewscreen.h
"
6
#include "
..\Viewscreen\waypoints.h
"
7
#include "
../WaypointProtocol.h
"
8
9
class
WaypointDialog
:
public
DialogBase
10
{
11
12
public
:
13
WaypointDialog
(
short
id
);
14
15
void
DragDropItem
(
short
destTab)
override
;
16
void
ClearEdit
()
override
;
17
void
Sort
();
18
void
UpdateMenu
(
short
tab)
override
;
19
void
TabClick
(
short
clicked_tab);
20
bool
canEditField
(
int
field)
override
;
21
void
ActiveTab
();
22
void
InvalidateWaypoints
();
23
short
TabForGroup
(
unsigned
char
group)
const
;
24
void
ActivateWaypoint
();
25
void
Update
()
override
;
26
void
ActionIconClick
(
long
icon_id)
override
;
27
void
DoubleClickLine
()
override
;
28
29
static
void
CALLBACK
DialogCallback
(UINT nEvent,
int
nControlID,
RiseControl
* pControl,
void
* pUserContext);
30
31
std::vector<Swaypoint>
filteredWaypoints
;
32
WaypointProtocol::FolderOrder
folderOrder
;
// persisted with the folder labels by HMI
33
34
private
:
35
bool
CanRemoveFolder
()
const
;
36
bool
waypointsDirty
=
true
;
37
waypoints
*
ptrWaypoints
;
38
Bus
*
ptrBus
;
39
Viewscreen
*
ptrViewscreen
;
40
};
DialogBase.h
GameClass.h
Viewscreen.h
WaypointProtocol.h
Bus
Definition
Bus.h:20
DialogBase::DialogBase
DialogBase(short id)
Definition
DialogBase.cpp:19
RiseControl
Definition
Controls.h:517
Viewscreen
Definition
Viewscreen.h:48
WaypointDialog::filteredWaypoints
std::vector< Swaypoint > filteredWaypoints
Definition
WaypointDialog.h:31
WaypointDialog::Sort
void Sort()
Definition
WaypointDialog.cpp:766
WaypointDialog::ActiveTab
void ActiveTab()
Definition
WaypointDialog.cpp:500
WaypointDialog::canEditField
bool canEditField(int field) override
Definition
WaypointDialog.cpp:492
WaypointDialog::ActionIconClick
void ActionIconClick(long icon_id) override
Definition
WaypointDialog.cpp:576
WaypointDialog::DoubleClickLine
void DoubleClickLine() override
Definition
WaypointDialog.cpp:742
WaypointDialog::folderOrder
WaypointProtocol::FolderOrder folderOrder
Definition
WaypointDialog.h:32
WaypointDialog::TabClick
void TabClick(short clicked_tab)
Definition
WaypointDialog.cpp:465
WaypointDialog::ptrViewscreen
Viewscreen * ptrViewscreen
Definition
WaypointDialog.h:39
WaypointDialog::WaypointDialog
WaypointDialog(short id)
Definition
WaypointDialog.cpp:9
WaypointDialog::ptrWaypoints
waypoints * ptrWaypoints
Definition
WaypointDialog.h:37
WaypointDialog::Update
void Update() override
Definition
WaypointDialog.cpp:890
WaypointDialog::UpdateMenu
void UpdateMenu(short tab) override
Definition
WaypointDialog.cpp:238
WaypointDialog::ClearEdit
void ClearEdit() override
Definition
WaypointDialog.cpp:748
WaypointDialog::ActivateWaypoint
void ActivateWaypoint()
Definition
WaypointDialog.cpp:528
WaypointDialog::InvalidateWaypoints
void InvalidateWaypoints()
Definition
WaypointDialog.cpp:512
WaypointDialog::DialogCallback
static void CALLBACK DialogCallback(UINT nEvent, int nControlID, RiseControl *pControl, void *pUserContext)
Definition
WaypointDialog.cpp:86
WaypointDialog::TabForGroup
short TabForGroup(unsigned char group) const
Definition
WaypointDialog.cpp:517
WaypointDialog::DragDropItem
void DragDropItem(short destTab) override
Definition
WaypointDialog.cpp:830
WaypointDialog::ptrBus
Bus * ptrBus
Definition
WaypointDialog.h:38
WaypointDialog::waypointsDirty
bool waypointsDirty
Definition
WaypointDialog.h:36
WaypointDialog::CanRemoveFolder
bool CanRemoveFolder() const
Definition
WaypointDialog.cpp:522
WaypointProtocol::FolderOrder
Definition
WaypointProtocol.h:30
waypoints
Definition
waypoints.h:9
waypoints.h
Dialogs
WaypointDialog.h
Generated on
for Rise by
1.18.0