Rise
The Vieneo Province
DialogBase Class Reference

#include <DialogBase.h>

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

Public Member Functions

 DialogBase (short id)
 
virtual void Update ()
 
virtual void Draw (D3DXVECTOR3 *tracked)
 
virtual void UpdateMenu (short tab)
 
virtual void DoubleClickLine ()
 
virtual void DragDropItem (short s)
 
virtual void ClearEdit ()
 
virtual void ActiveTab ()
 
virtual void OnCreateDevice ()
 
virtual void ActionIconClick (long icon_id)
 
virtual void Close (bool minimize)
 
void PopUpDialog ()
 

Static Public Member Functions

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)
 

Public Attributes

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

static DialogBasedialogs [D_ENUMERATION]
 
static HMIgui = nullptr
 
static Loggerlogger = nullptr
 
static short draworder [D_ENUMERATION]
 

Protected Member Functions

virtual void TabClick (short clicked_tab)
 

Static Protected Member Functions

static void CheckMoved (short t)
 

Static Private Member Functions

static void ClickEditableField (short t, int field)
 

Detailed Description

Definition at line 26 of file DialogBase.h.

Constructor & Destructor Documentation

◆ DialogBase()

DialogBase::DialogBase ( short  id)

Definition at line 17 of file DialogBase.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ ActionIconClick()

void DialogBase::ActionIconClick ( long  icon_id)
virtual

Reimplemented in WaypointDialog, PeopleManagerDialog, CommunicationsDialog, and DockedCommunicationDialog.

Definition at line 1659 of file DialogBase.cpp.

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

◆ ActiveTab()

void DialogBase::ActiveTab ( )
virtual

Reimplemented in InformationDialog, ConfigurationDialog, PeopleManagerDialog, IntermediaDialog, and CommunicationsDialog.

Definition at line 1821 of file DialogBase.cpp.

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

◆ BringToFront()

void DialogBase::BringToFront ( short  t)
static

Definition at line 1530 of file DialogBase.cpp.

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

◆ CheckDialogMouse()

void DialogBase::CheckDialogMouse ( )
static
Todo:
NEED AN "EDITABLE FIELD" TYPE TO ITERATE THROUGH

Definition at line 293 of file DialogBase.cpp.

Here is the caller graph for this function:

◆ CheckHeight()

short DialogBase::CheckHeight ( short  t)
static

Definition at line 1694 of file DialogBase.cpp.

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

◆ CheckMoved()

void DialogBase::CheckMoved ( short  t)
staticprotected

Definition at line 1518 of file DialogBase.cpp.

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

◆ CheckWidth()

short DialogBase::CheckWidth ( short  dialogid)
static

this caused a problem before where linedsp is > linetot?

Definition at line 1323 of file DialogBase.cpp.

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

◆ ClearEdit()

void DialogBase::ClearEdit ( )
virtual

Reimplemented in CommunicationsDialog, WaypointDialog, and PeopleManagerDialog.

Definition at line 1834 of file DialogBase.cpp.

Here is the caller graph for this function:

◆ ClickEditableField()

void DialogBase::ClickEditableField ( short  t,
int  field 
)
staticprivate
Todo:
THIS CAN BE A "CAN EDIT FIELD" CHECK FOR INDIVIDUAL DIALOGS

Definition at line 267 of file DialogBase.cpp.

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

◆ Close()

void DialogBase::Close ( bool  minimize)
virtual

Reimplemented in CommunicationsDialog, and DockedCommunicationDialog.

Definition at line 1688 of file DialogBase.cpp.

Here is the caller graph for this function:

◆ DoubleClickLine()

virtual void DialogBase::DoubleClickLine ( )
inlinevirtual

Reimplemented in WaypointDialog.

Definition at line 112 of file DialogBase.h.

Here is the caller graph for this function:

◆ DragDropItem()

void DialogBase::DragDropItem ( short  s)
virtual

Reimplemented in PeopleManagerDialog, CommunicationsDialog, DockedCommunicationDialog, BiometerDialog, and WaypointDialog.

Definition at line 1850 of file DialogBase.cpp.

Here is the caller graph for this function:

◆ DraggingItem()

bool DialogBase::DraggingItem ( short  t,
short  s 
)
static

Definition at line 1552 of file DialogBase.cpp.

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

◆ Draw()

void DialogBase::Draw ( D3DXVECTOR3 *  tracked)
virtual

Reimplemented in InformationDialog, ConfigurationDialog, WaypointDialog, BiometerDialog, IntermediaDialog, DockedCommunicationDialog, and PeopleManagerDialog.

Definition at line 1830 of file DialogBase.cpp.

Here is the caller graph for this function:

◆ DrawAllActiveDialogs()

void DialogBase::DrawAllActiveDialogs ( float  fElapsedTime)
static

Definition at line 742 of file DialogBase.cpp.

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

◆ IconClick()

void DialogBase::IconClick ( short  icon_id)
static

Definition at line 192 of file DialogBase.cpp.

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

◆ Initialize()

void DialogBase::Initialize ( HMI gui)
static

Definition at line 114 of file DialogBase.cpp.

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

◆ InitializeDialog()

void DialogBase::InitializeDialog ( short  t)
static

Definition at line 82 of file DialogBase.cpp.

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

◆ OnCreateDevice()

void DialogBase::OnCreateDevice ( )
virtual

Definition at line 1842 of file DialogBase.cpp.

◆ OnDeviceReset()

void DialogBase::OnDeviceReset ( )
static

Definition at line 1762 of file DialogBase.cpp.

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

◆ OnEnter()

bool DialogBase::OnEnter ( )
static
Todo:
THESE COULD BE MOVED TO OVERRIDES IN THE INDIVIDUAL DIALOGS

Definition at line 1774 of file DialogBase.cpp.

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

◆ PopUpDialog()

void DialogBase::PopUpDialog ( )

Definition at line 1637 of file DialogBase.cpp.

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

◆ SortDialogs()

void DialogBase::SortDialogs ( )
static

Definition at line 1741 of file DialogBase.cpp.

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

◆ TabClick()

void DialogBase::TabClick ( short  clicked_tab)
protectedvirtual

Reimplemented in CommunicationsDialog.

Definition at line 731 of file DialogBase.cpp.

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

◆ Update()

void DialogBase::Update ( )
virtual

Reimplemented in WaypointDialog, ConfigurationDialog, BiometerDialog, CommunicationsDialog, DockedCommunicationDialog, and PeopleManagerDialog.

Definition at line 1838 of file DialogBase.cpp.

Here is the caller graph for this function:

◆ UpdateAllActiveDialogs()

void DialogBase::UpdateAllActiveDialogs ( float  fElapsedTime)
static

Definition at line 121 of file DialogBase.cpp.

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

◆ UpdateMenu()

void DialogBase::UpdateMenu ( short  tab)
virtual

◆ UpdateScrollBar()

void DialogBase::UpdateScrollBar ( short  t)
static

Definition at line 1497 of file DialogBase.cpp.

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

Member Data Documentation

◆ action

short DialogBase::action[MAX_ACTION]

Definition at line 49 of file DialogBase.h.

◆ actionenabled

bool DialogBase::actionenabled[MAX_ACTION]

Definition at line 77 of file DialogBase.h.

◆ actionoffset

short DialogBase::actionoffset

Definition at line 76 of file DialogBase.h.

◆ actions

short DialogBase::actions

Definition at line 49 of file DialogBase.h.

◆ actionslider

float DialogBase::actionslider

Definition at line 78 of file DialogBase.h.

◆ actionsvisible

short DialogBase::actionsvisible

Definition at line 75 of file DialogBase.h.

◆ actiontoggle

bool DialogBase::actiontoggle[MAX_ACTION]

Definition at line 77 of file DialogBase.h.

◆ active

bool DialogBase::active

Definition at line 71 of file DialogBase.h.

◆ activetab

short DialogBase::activetab

Definition at line 62 of file DialogBase.h.

◆ allowclose

bool DialogBase::allowclose

Definition at line 45 of file DialogBase.h.

◆ allowmove

bool DialogBase::allowmove

Definition at line 45 of file DialogBase.h.

◆ allowresize

bool DialogBase::allowresize

Definition at line 45 of file DialogBase.h.

◆ allowscroll

bool DialogBase::allowscroll

Definition at line 45 of file DialogBase.h.

◆ clipboardrecord

unsigned short DialogBase::clipboardrecord

Definition at line 84 of file DialogBase.h.

◆ clipboardsourcetab

char DialogBase::clipboardsourcetab

Definition at line 85 of file DialogBase.h.

◆ defaultheight

short DialogBase::defaultheight

Definition at line 51 of file DialogBase.h.

◆ defaultwidth

short DialogBase::defaultwidth

Definition at line 51 of file DialogBase.h.

◆ dialogid

short DialogBase::dialogid

Definition at line 101 of file DialogBase.h.

◆ dialogs

DialogBase * DialogBase::dialogs
static

Definition at line 39 of file DialogBase.h.

◆ dockedto

short DialogBase::dockedto

Definition at line 55 of file DialogBase.h.

◆ draworder

short DialogBase::draworder
static

Definition at line 105 of file DialogBase.h.

◆ editfield

long DialogBase::editfield

Definition at line 79 of file DialogBase.h.

◆ editline

long DialogBase::editline

Definition at line 79 of file DialogBase.h.

◆ edittab

long DialogBase::edittab

Definition at line 79 of file DialogBase.h.

◆ enabled

bool DialogBase::enabled

Definition at line 71 of file DialogBase.h.

◆ fieldcontent

short DialogBase::fieldcontent[MAX_FIELDS]

Definition at line 48 of file DialogBase.h.

◆ fieldeffectiveline

WCHAR DialogBase::fieldeffectiveline[MAX_LINES][MAX_FIELDS][HELP_SIZE]

Definition at line 95 of file DialogBase.h.

◆ fieldeffectivetitle

WCHAR DialogBase::fieldeffectivetitle[MAX_FIELDS][HELP_SIZE]

Definition at line 92 of file DialogBase.h.

◆ fieldeffectivewidth

short DialogBase::fieldeffectivewidth[MAX_FIELDS]

Definition at line 93 of file DialogBase.h.

◆ fieldline

WCHAR DialogBase::fieldline[MAX_LINES][MAX_FIELDS][HELP_SIZE]

Definition at line 94 of file DialogBase.h.

◆ fields

short DialogBase::fields

Definition at line 44 of file DialogBase.h.

◆ fieldsortable

bool DialogBase::fieldsortable[MAX_FIELDS]

Definition at line 96 of file DialogBase.h.

◆ fieldtype

short DialogBase::fieldtype[MAX_FIELDS]

Definition at line 47 of file DialogBase.h.

◆ fieldwidth

short DialogBase::fieldwidth[MAX_FIELDS]

Definition at line 46 of file DialogBase.h.

◆ fieldx

short DialogBase::fieldx[MAX_FIELDS]

Definition at line 93 of file DialogBase.h.

◆ gui

HMI * DialogBase::gui = nullptr
static

Definition at line 40 of file DialogBase.h.

◆ height

short DialogBase::height

Definition at line 60 of file DialogBase.h.

◆ HUD

CDXUTDialog DialogBase::HUD

Definition at line 98 of file DialogBase.h.

◆ icon

short DialogBase::icon

Definition at line 53 of file DialogBase.h.

◆ iconsource

RECT DialogBase::iconsource

Definition at line 53 of file DialogBase.h.

◆ layer

long DialogBase::layer

Definition at line 70 of file DialogBase.h.

◆ lineact

int DialogBase::lineact

Definition at line 73 of file DialogBase.h.

◆ linecursel

int DialogBase::linecursel

Definition at line 73 of file DialogBase.h.

◆ linedsp

short DialogBase::linedsp

Definition at line 72 of file DialogBase.h.

◆ linetop

int DialogBase::linetop

Definition at line 73 of file DialogBase.h.

◆ linetot

int DialogBase::linetot

Definition at line 73 of file DialogBase.h.

◆ logger

Logger * DialogBase::logger = nullptr
static

Definition at line 41 of file DialogBase.h.

◆ minimized

bool DialogBase::minimized = false

Definition at line 103 of file DialogBase.h.

◆ msgbarcolor

char DialogBase::msgbarcolor

Definition at line 81 of file DialogBase.h.

◆ msgbartext

WCHAR DialogBase::msgbartext[HELP_SIZE]

Definition at line 82 of file DialogBase.h.

◆ normalinterlace

bool DialogBase::normalinterlace

Definition at line 54 of file DialogBase.h.

◆ scrollbarheight

short DialogBase::scrollbarheight

Definition at line 74 of file DialogBase.h.

◆ scrollbartop

short DialogBase::scrollbartop

Definition at line 74 of file DialogBase.h.

◆ showfields

bool DialogBase::showfields

Definition at line 45 of file DialogBase.h.

◆ sortdirection

char DialogBase::sortdirection

Definition at line 65 of file DialogBase.h.

◆ sortfield

short DialogBase::sortfield

Definition at line 64 of file DialogBase.h.

◆ tabeffectivestr

WCHAR DialogBase::tabeffectivestr[MAX_TAB][MAX_TAB_CHARS]

Definition at line 90 of file DialogBase.h.

◆ tabflash

short DialogBase::tabflash[MAX_TAB]

Definition at line 88 of file DialogBase.h.

◆ tabs

short DialogBase::tabs

Definition at line 62 of file DialogBase.h.

◆ tabstr

WCHAR DialogBase::tabstr[MAX_TAB][MAX_TAB_CHARS]

Definition at line 63 of file DialogBase.h.

◆ tabusedefaultlang

short DialogBase::tabusedefaultlang[MAX_TAB]

Definition at line 50 of file DialogBase.h.

◆ tabwidth

short DialogBase::tabwidth[MAX_TAB]

Definition at line 89 of file DialogBase.h.

◆ tabx

short DialogBase::tabx[MAX_TAB]

Definition at line 89 of file DialogBase.h.

◆ text

short DialogBase::text

Definition at line 69 of file DialogBase.h.

◆ usesHUD

bool DialogBase::usesHUD

Definition at line 56 of file DialogBase.h.

◆ width

short DialogBase::width

Definition at line 60 of file DialogBase.h.

◆ windowdefaultlocation

D3DXVECTOR3 DialogBase::windowdefaultlocation

Definition at line 52 of file DialogBase.h.

◆ windowlocation

D3DXVECTOR3 DialogBase::windowlocation

Definition at line 59 of file DialogBase.h.

◆ windowseeklocation

D3DXVECTOR3 DialogBase::windowseeklocation

Definition at line 68 of file DialogBase.h.


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