1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-13 06:37:57 +00:00
OpenMW/apps/openmw/mwgui/journalbooks.hpp

30 lines
719 B
C++
Raw Normal View History

#ifndef MWGUI_JOURNALBOOKS_HPP
#define MWGUI_JOURNALBOOKS_HPP
#include "bookpage.hpp"
#include "journalviewmodel.hpp"
namespace MWGui
{
struct JournalBooks
{
typedef TypesetBook::ptr book;
JournalViewModel::ptr Model;
JournalBooks (JournalViewModel::ptr Model);
book createEmptyJournalBook ();
book createJournalBook ();
book createTopicBook (uintptr_t topicId);
book createQuestBook (uintptr_t questId);
book createTopicIndexBook ();
book createTopicIndexBook (char character);
book createQuestIndexBook (bool showAll);
private:
BookTypesetter::ptr createTypesetter ();
};
}
#endif // MWGUI_JOURNALBOOKS_HPP