1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 03:32:36 +00:00
OpenMW/apps/openmw/mwgui/journalwindow.hpp

40 lines
955 B
C++
Raw Normal View History

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