Rise
The Vieneo Province
WaypointDialog Class Reference

#include <WaypointDialog.h>

Inheritance diagram for WaypointDialog:
[legend]
Collaboration diagram for WaypointDialog:
[legend]

Public Member Functions

 WaypointDialog (short id)
 
void DragDropItem (short destTab) override
 
void Draw (D3DXVECTOR3 *tracked) override
 
void ClearEdit () override
 
void UpdateMenu (short tab) override
 
void ActivateWaypoint ()
 
void Update () override
 
void ActionIconClick (long icon_id) override
 
void DoubleClickLine () override
 
- Public Member Functions inherited from DialogBase
 DialogBase (short id)
 
virtual void ActiveTab ()
 
virtual void OnCreateDevice ()
 
virtual void Close (bool minimize)
 
void PopUpDialog ()
 

Static Public Member Functions

static void CALLBACK DialogCallback (UINT nEvent, int nControlID, CDXUTControl *pControl, void *pUserContext)
 
- Static Public Member Functions inherited from DialogBase
static void Initialize (HMI *gui)
 
static void DrawAllActiveDialogs (float fElapsedTime)
 
static void UpdateAllActiveDialogs (float fElapsedTime)
 
static void IconClick (short icon_id)
 
static void CheckDialogMouse ()
 
static bool DraggingItem (short t, short s)
 
static void BringToFront (short t)
 
static void SortDialogs ()
 
static void OnDeviceReset ()
 
static bool OnEnter ()
 
static void UpdateScrollBar (short t)
 
static short CheckWidth (short dialogid)
 
static short CheckHeight (short t)
 
static void InitializeDialog (short t)
 

Private Attributes

waypointsptrWaypoints
 
BusptrBus
 
ViewscreenptrViewscreen
 

Additional Inherited Members

- Public Attributes inherited from DialogBase
short fields
 
bool showfields
 
bool allowresize
 
bool allowmove
 
bool allowclose
 
bool allowscroll
 
short fieldwidth [MAX_FIELDS]
 
short fieldtype [MAX_FIELDS]
 
short fieldcontent [MAX_FIELDS]
 
short actions
 
short action [MAX_ACTION]
 
short tabusedefaultlang [MAX_TAB]
 
short defaultwidth
 
short defaultheight
 
D3DXVECTOR3 windowdefaultlocation
 
short icon
 
RECT iconsource
 
bool normalinterlace
 
short dockedto
 
bool usesHUD
 
D3DXVECTOR3 windowlocation
 
short width
 
short height
 
short tabs
 
short activetab
 
WCHAR tabstr [MAX_TAB][MAX_TAB_CHARS]
 
short sortfield
 
char sortdirection
 
D3DXVECTOR3 windowseeklocation
 
short text
 
long layer
 
bool enabled
 
bool active
 
short linedsp
 
int linetot
 
int linecursel
 
int lineact
 
int linetop
 
short scrollbarheight
 
short scrollbartop
 
short actionsvisible
 
short actionoffset
 
bool actionenabled [MAX_ACTION]
 
bool actiontoggle [MAX_ACTION]
 
float actionslider
 
long editfield
 
long editline
 
long edittab
 
char msgbarcolor
 
WCHAR msgbartext [HELP_SIZE]
 
unsigned short clipboardrecord
 
char clipboardsourcetab
 
short tabflash [MAX_TAB]
 
short tabwidth [MAX_TAB]
 
short tabx [MAX_TAB]
 
WCHAR tabeffectivestr [MAX_TAB][MAX_TAB_CHARS]
 
WCHAR fieldeffectivetitle [MAX_FIELDS][HELP_SIZE]
 
short fieldeffectivewidth [MAX_FIELDS]
 
short fieldx [MAX_FIELDS]
 
WCHAR fieldline [MAX_LINES][MAX_FIELDS][HELP_SIZE]
 
WCHAR fieldeffectiveline [MAX_LINES][MAX_FIELDS][HELP_SIZE]
 
bool fieldsortable [MAX_FIELDS]
 
CDXUTDialog HUD
 
short dialogid
 
bool minimized = false
 
- Static Public Attributes inherited from DialogBase
static DialogBasedialogs [D_ENUMERATION]
 
static HMIgui = nullptr
 
static Loggerlogger = nullptr
 
static short draworder [D_ENUMERATION]
 
- Protected Member Functions inherited from DialogBase
virtual void TabClick (short clicked_tab)
 
- Static Protected Member Functions inherited from DialogBase
static void CheckMoved (short t)
 

Detailed Description

Definition at line 8 of file WaypointDialog.h.

Constructor & Destructor Documentation

◆ WaypointDialog()

WaypointDialog::WaypointDialog ( short  id)

Definition at line 8 of file WaypointDialog.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ ActionIconClick()

void WaypointDialog::ActionIconClick ( long  icon_id)
overridevirtual

Reimplemented from DialogBase.

Definition at line 467 of file WaypointDialog.cpp.

Here is the call graph for this function:

◆ ActivateWaypoint()

void WaypointDialog::ActivateWaypoint ( )
Todo:
I suppose if we keep seeing this just log the error in trace ... I turned off the activate button by default maybe that will make this go away

Definition at line 418 of file WaypointDialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ClearEdit()

void WaypointDialog::ClearEdit ( )
overridevirtual

Reimplemented from DialogBase.

Definition at line 599 of file WaypointDialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DialogCallback()

void CALLBACK WaypointDialog::DialogCallback ( UINT  nEvent,
int  nControlID,
CDXUTControl *  pControl,
void *  pUserContext 
)
static

Definition at line 82 of file WaypointDialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DoubleClickLine()

void WaypointDialog::DoubleClickLine ( )
overridevirtual

Reimplemented from DialogBase.

Definition at line 589 of file WaypointDialog.cpp.

Here is the call graph for this function:

◆ DragDropItem()

void WaypointDialog::DragDropItem ( short  destTab)
overridevirtual

Reimplemented from DialogBase.

Definition at line 611 of file WaypointDialog.cpp.

Here is the call graph for this function:

◆ Draw()

void WaypointDialog::Draw ( D3DXVECTOR3 *  tracked)
overridevirtual

Reimplemented from DialogBase.

Definition at line 595 of file WaypointDialog.cpp.

◆ Update()

void WaypointDialog::Update ( )
overridevirtual

Reimplemented from DialogBase.

Definition at line 660 of file WaypointDialog.cpp.

Here is the call graph for this function:

◆ UpdateMenu()

void WaypointDialog::UpdateMenu ( short  tab)
overridevirtual
Todo:
could allow them to mark when they are in another vehicle that is on the ground?
Todo:
add folder temporarily turned off until we get groups sorted out on waypoints
Bug:
https://jira.risetvp.com/view.php?id=692

Reimplemented from DialogBase.

Definition at line 207 of file WaypointDialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ptrBus

Bus* WaypointDialog::ptrBus
private

Definition at line 26 of file WaypointDialog.h.

◆ ptrViewscreen

Viewscreen* WaypointDialog::ptrViewscreen
private

Definition at line 27 of file WaypointDialog.h.

◆ ptrWaypoints

waypoints* WaypointDialog::ptrWaypoints
private

Definition at line 25 of file WaypointDialog.h.


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