OpenMW
Classes | Public Types | Public Member Functions | Public Attributes
anonymous_namespace{journalwindow.cpp}::JournalWindowImpl Struct Reference

List of all members.

Classes

struct  DisplayState

Public Types

typedef std::stack< DisplayStateDisplayStateStack

Public Member Functions

template<typename T >
T * getWidget (char const *name)
template<typename value_type >
void setText (char const *name, value_type const &value)
void setVisible (char const *name, bool visible)
void adviseButtonClick (char const *name, void(JournalWindowImpl::*Handler)(MyGUI::Widget *_sender))
MWGui::BookPagegetPage (char const *name)
 JournalWindowImpl (MWGui::JournalViewModel::Ptr Model)
void adjustButton (char const *name, bool optional=false)
void open ()
void close ()
void setVisible (bool newValue)
 show/hide the journal window
void setBookMode ()
void setOptionsMode ()
void pushBook (Book book, unsigned int page)
void replaceBook (Book book, unsigned int page)
void popBook ()
void updateCloseJournalButton ()
void updateShowingPages ()
void notifyTopicClicked (intptr_t linkId)
void notifyQuestClicked (intptr_t questId)
void notifyOptions (MyGUI::Widget *_sender)
void notifyJournal (MyGUI::Widget *_sender)
void showList (char const *listId, char const *pageId, Book book)
void notifyIndexLinkClicked (MWGui::TypesetBook::InteractiveId character)
void notifyTopics (MyGUI::Widget *_sender)
void notifyQuests (MyGUI::Widget *_sender)
void notifyShowAll (MyGUI::Widget *_sender)
void notifyShowActive (MyGUI::Widget *_sender)
void notifyCancel (MyGUI::Widget *_sender)
void notifyClose (MyGUI::Widget *_sender)
void notifyNextPage (MyGUI::Widget *_sender)
void notifyPrevPage (MyGUI::Widget *_sender)

Public Attributes

DisplayStateStack mStates
Book mTopicIndexBook
bool mQuestMode
bool mAllQuests

Member Typedef Documentation

typedef std::stack<DisplayState> anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::DisplayStateStack

Constructor & Destructor Documentation

anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::JournalWindowImpl ( MWGui::JournalViewModel::Ptr  Model) [inline]

Member Function Documentation

void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::adjustButton ( char const *  name,
bool  optional = false 
) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::adviseButtonClick ( char const *  name,
void(JournalWindowImpl::*)(MyGUI::Widget *_sender)  Handler 
) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::close ( ) [inline, virtual]

Reimplemented from MWGui::WindowBase.

MWGui::BookPage* anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::getPage ( char const *  name) [inline]
template<typename T >
T* anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::getWidget ( char const *  name) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyCancel ( MyGUI::Widget *  _sender) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyClose ( MyGUI::Widget *  _sender) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyIndexLinkClicked ( MWGui::TypesetBook::InteractiveId  character) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyJournal ( MyGUI::Widget *  _sender) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyNextPage ( MyGUI::Widget *  _sender) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyOptions ( MyGUI::Widget *  _sender) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyPrevPage ( MyGUI::Widget *  _sender) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyQuestClicked ( intptr_t  questId) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyQuests ( MyGUI::Widget *  _sender) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyShowActive ( MyGUI::Widget *  _sender) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyShowAll ( MyGUI::Widget *  _sender) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyTopicClicked ( intptr_t  linkId) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyTopics ( MyGUI::Widget *  _sender) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::open ( ) [inline, virtual]
Todo:
Wiping the whole book layout each time the journal is opened is probably too costly for a large journal (eg 300+ pages). There should be a way to keep the existing layout and append new entries to the end of it. However, that still leaves the problem of having to add links to previously unknown, but now known topics, so we maybe need to find another way to speed things up.

Reimplemented from MWGui::WindowBase.

void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::popBook ( ) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::pushBook ( Book  book,
unsigned int  page 
) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::replaceBook ( Book  book,
unsigned int  page 
) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::setBookMode ( ) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::setOptionsMode ( ) [inline]
template<typename value_type >
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::setText ( char const *  name,
value_type const &  value 
) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::setVisible ( char const *  name,
bool  visible 
) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::setVisible ( bool  newValue) [inline, virtual]

show/hide the journal window

Implements MWGui::JournalWindow.

void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::showList ( char const *  listId,
char const *  pageId,
Book  book 
) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::updateCloseJournalButton ( ) [inline]
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::updateShowingPages ( ) [inline]

Member Data Documentation

bool anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::mAllQuests
bool anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::mQuestMode
DisplayStateStack anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::mStates
Book anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::mTopicIndexBook

The documentation for this struct was generated from the following file: