ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

The conversation log menu. More...

#include <dialogmenu.h>

Inheritance diagram for Stark::DialogScreen:
Collaboration diagram for Stark::DialogScreen:

List of all members.

Public Member Functions

 DialogScreen (Gfx::Driver *gfx, Cursor *cursor)
virtual ~DialogScreen ()
void open () override
void close () override
void onScreenChanged () override
void onDialogClick (uint logIndex)

Protected Member Functions

void onRender () override

Private Types

enum  WidgetIndex {
  kWidgetIndexBack = 3, kWidgetIndexNext = 4, kWidgetLogBack = 5, kWidgetIndex = 6,
  kWidgetLogNext = 7
}

Private Member Functions

void loadIndex ()
void loadDialog ()
void backHandler ()
void indexBackHandler ()
void indexNextHandler ()
void logBackHandler ()
void backIndexHandler ()
void logNextHandler ()
void freeLogTitleWidgets ()
void freeChapterTitleTexts ()
void freeDialogLineTexts ()
void freeResources ()

Private Attributes

Gfx::RenderEntry_indexFrame
Gfx::RenderEntry_logFrame
uint _startTitleIndex
uint _nextTitleIndex
uint _startLineIndex
uint _nextLineIndex
uint _curMaxChapter
uint _curLogIndex
Common::Array< ChapterTitleText * > _chapterTitleTexts
Common::Array< uint_prevTitleIndexStack
Common::Array< DialogLineText * > _dialogLineTexts
Common::Array< uint_prevLineIndexStack

Static Private Attributes

static const uint _dialogTitleWidgetOffset = 8

Detailed Description

The conversation log menu.

Definition at line 38 of file dialogmenu.h.


Member Enumeration Documentation

Enumerator:
kWidgetIndexBack 
kWidgetIndexNext 
kWidgetLogBack 
kWidgetIndex 
kWidgetLogNext 

Definition at line 57 of file dialogmenu.h.


Constructor & Destructor Documentation

Stark::DialogScreen::DialogScreen ( Gfx::Driver gfx,
Cursor cursor 
)

Definition at line 45 of file dialogmenu.cpp.

Stark::DialogScreen::~DialogScreen (  )  [virtual]

Definition at line 57 of file dialogmenu.cpp.


Member Function Documentation

void Stark::DialogScreen::backHandler (  )  [private]

Definition at line 260 of file dialogmenu.cpp.

void Stark::DialogScreen::backIndexHandler (  )  [private]

Definition at line 281 of file dialogmenu.cpp.

void Stark::DialogScreen::close (  )  [override]

Reimplemented from Stark::StaticLocationScreen.

Definition at line 119 of file dialogmenu.cpp.

void Stark::DialogScreen::freeChapterTitleTexts (  )  [private]

Definition at line 306 of file dialogmenu.cpp.

void Stark::DialogScreen::freeDialogLineTexts (  )  [private]

Definition at line 313 of file dialogmenu.cpp.

void Stark::DialogScreen::freeLogTitleWidgets (  )  [private]

Definition at line 298 of file dialogmenu.cpp.

void Stark::DialogScreen::freeResources (  )  [private]

Definition at line 124 of file dialogmenu.cpp.

void Stark::DialogScreen::indexBackHandler (  )  [private]

Definition at line 264 of file dialogmenu.cpp.

void Stark::DialogScreen::indexNextHandler (  )  [private]

Definition at line 270 of file dialogmenu.cpp.

void Stark::DialogScreen::loadDialog (  )  [private]

Definition at line 222 of file dialogmenu.cpp.

void Stark::DialogScreen::loadIndex (  )  [private]

Definition at line 164 of file dialogmenu.cpp.

void Stark::DialogScreen::logBackHandler (  )  [private]

Definition at line 275 of file dialogmenu.cpp.

void Stark::DialogScreen::logNextHandler (  )  [private]

Definition at line 293 of file dialogmenu.cpp.

void Stark::DialogScreen::onDialogClick ( uint  logIndex  ) 

Definition at line 141 of file dialogmenu.cpp.

void Stark::DialogScreen::onRender (  )  [override, protected, virtual]

Reimplemented from Stark::StaticLocationScreen.

Definition at line 154 of file dialogmenu.cpp.

void Stark::DialogScreen::onScreenChanged (  )  [override]

Reimplemented from Stark::StaticLocationScreen.

Definition at line 131 of file dialogmenu.cpp.

void Stark::DialogScreen::open (  )  [override]

Reimplemented from Stark::StaticLocationScreen.

Definition at line 61 of file dialogmenu.cpp.


Member Data Documentation

Definition at line 67 of file dialogmenu.h.

Definition at line 67 of file dialogmenu.h.

Definition at line 55 of file dialogmenu.h.

Definition at line 65 of file dialogmenu.h.

Definition at line 65 of file dialogmenu.h.

Definition at line 66 of file dialogmenu.h.

Definition at line 66 of file dialogmenu.h.

Definition at line 66 of file dialogmenu.h.

Definition at line 66 of file dialogmenu.h.


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


Generated on Sat Jul 13 2019 05:04:49 for ResidualVM by doxygen 1.7.1
curved edge   curved edge