OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
anonymous_namespace{journalwindow.cpp}::JournalWindowImpl Struct Reference
Inheritance diagram for anonymous_namespace{journalwindow.cpp}::JournalWindowImpl:
Collaboration diagram for anonymous_namespace{journalwindow.cpp}::JournalWindowImpl:

Classes

struct  AddNamesToList
 
struct  DisplayState
 
struct  SetNamesInactive
 

Public Types

typedef std::stack< DisplayStateDisplayStateStack
 
- Public Types inherited from MWGui::WindowBase
typedef
MyGUI::delegates::CMultiDelegate1
< WindowBase * > 
EventHandle_WindowBase
 
- Public Types inherited from MWGui::JournalBooks
typedef TypesetBook::Ptr Book
 

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, bool questList)
 
void adjustButton (char const *name)
 
void open ()
 Notify that window has been made visible. More...
 
void close ()
 Notify that window has been hidden. More...
 
void setVisible (bool newValue)
 show/hide the journal window More...
 
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 notifyTopicSelected (const std::string &topic, int id)
 
void notifyQuestClicked (const std::string &name, int id)
 
void notifyOptions (MyGUI::Widget *_sender)
 
void notifyJournal (MyGUI::Widget *_sender)
 
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 notifyMouseWheel (MyGUI::Widget *sender, int rel)
 
void notifyNextPage (MyGUI::Widget *_sender)
 
void notifyPrevPage (MyGUI::Widget *_sender)
 
- Public Member Functions inherited from MWGui::WindowBase
 WindowBase (const std::string &parLayout)
 
virtual void exit ()
 Gracefully exits the window. More...
 
bool isVisible ()
 Returns the visibility state of the window. More...
 
void center ()
 
- Public Member Functions inherited from MWGui::Layout
 Layout (const std::string &_layout, MyGUI::Widget *_parent=nullptr)
 
virtual ~Layout ()
 
MyGUI::Widget * getWidget (const std::string &_name)
 
template<typename T >
void getWidget (T *&_widget, const std::string &_name)
 
void setCoord (int x, int y, int w, int h)
 
void setText (const std::string &name, const std::string &caption)
 
void setTitle (const std::string &title)
 
- Public Member Functions inherited from MWGui::JournalBooks
 JournalBooks (JournalViewModel::Ptr model)
 
Book createEmptyJournalBook ()
 
Book createJournalBook ()
 
Book createTopicBook (uintptr_t topicId)
 
Book createTopicBook (const std::string &topicId)
 
Book createQuestBook (const std::string &questName)
 
Book createTopicIndexBook ()
 
- Public Member Functions inherited from MWGui::JournalWindow
virtual ~JournalWindow ()
 destroy this instance of the JournalWindow implementation More...
 

Public Attributes

DisplayStateStack mStates
 
Book mTopicIndexBook
 
bool mQuestMode
 
bool mOptionsMode
 
bool mAllQuests
 
- Public Attributes inherited from MWGui::Layout
MyGUI::Widget * mMainWidget
 
- Public Attributes inherited from MWGui::JournalBooks
JournalViewModel::Ptr mModel
 

Additional Inherited Members

- Static Public Member Functions inherited from MWGui::JournalWindow
static JournalWindowcreate (boost::shared_ptr< JournalViewModel > Model, bool questList)
 construct a new instance of the one JournalWindow implementation More...
 
- Protected Attributes inherited from MWGui::Layout
std::string mPrefix
 
std::string mLayoutName
 
MyGUI::VectorWidgetPtr mListWindowRoot
 

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,
bool  questList 
)
inline

Here is the call graph for this function:

Member Function Documentation

void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::adjustButton ( char const *  name)
inline

Here is the call graph for this function:

void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::adviseButtonClick ( char const *  name,
void(JournalWindowImpl::*)(MyGUI::Widget *_sender)  Handler 
)
inline
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::close ( )
inlinevirtual

Notify that window has been hidden.

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

Here is the call graph for this function:

void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyIndexLinkClicked ( MWGui::TypesetBook::InteractiveId  character)
inline

Here is the call graph for this function:

void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyJournal ( MyGUI::Widget *  _sender)
inline
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyMouseWheel ( MyGUI::Widget *  sender,
int  rel 
)
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 ( const std::string &  name,
int  id 
)
inline
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::notifyQuests ( MyGUI::Widget *  _sender)
inline

Here is the call graph for this function:

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::notifyTopicSelected ( const std::string &  topic,
int  id 
)
inline
Todo:
get rid of intptr ids

Here is the call graph for this function:

void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::open ( )
inlinevirtual

Notify that window has been made visible.

Reimplemented from MWGui::WindowBase.

Here is the call graph for this function:

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

Here is the call graph for this function:

void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::setVisible ( char const *  name,
bool  visible 
)
inline
void anonymous_namespace{journalwindow.cpp}::JournalWindowImpl::setVisible ( bool  newValue)
inlinevirtual

show/hide the journal window

Implements MWGui::JournalWindow.

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::mOptionsMode
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: