1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 10:19:55 +00:00
openmw-tes3mp/apps/openmw/mwgui/journalwindow.hpp

44 lines
1.1 KiB
C++
Raw Normal View History

#ifndef MWGUI_JOURNAL_H
#define MWGUI_JOURNAL_H
#include <sstream>
#include <set>
#include <string>
#include <utility>
#include "window_base.hpp"
#include "imagebutton.hpp"
namespace MWGui
{
class JournalWindow : public WindowBase
{
public:
JournalWindow(MWBase::WindowManager& parWindowManager);
virtual void open();
virtual void close();
2012-05-07 17:42:04 +00:00
private:
void displayLeftText(std::string text);
void displayRightText(std::string text);
2012-01-16 16:46:25 +00:00
/**
*Called when next/prev button is used.
*/
void notifyNextPage(MyGUI::Widget* _sender);
void notifyPrevPage(MyGUI::Widget* _sender);
2012-01-16 16:46:25 +00:00
MyGUI::EditPtr mLeftTextWidget;
MyGUI::EditPtr mRightTextWidget;
MWGui::ImageButton* mPrevBtn;
MWGui::ImageButton* mNextBtn;
std::vector<std::string> mLeftPages;
std::vector<std::string> mRightPages;
2012-01-16 16:46:25 +00:00
int mPageNumber; //store the number of the current left page
};
}
2012-03-22 14:23:23 +00:00
#endif