mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 05:19:55 +00:00
45 lines
No EOL
974 B
C++
45 lines
No EOL
974 B
C++
#ifndef MWGUI_JOURNAL_H
|
|
#define MWGUI_JOURNAL_H
|
|
|
|
#include <sstream>
|
|
#include <set>
|
|
#include <string>
|
|
#include <utility>
|
|
#include "../mwdialogue/journal.hpp"
|
|
|
|
#include "window_base.hpp"
|
|
|
|
namespace MWGui
|
|
{
|
|
class WindowManager;
|
|
|
|
class JournalWindow : public WindowBase
|
|
{
|
|
public:
|
|
JournalWindow(WindowManager& parWindowManager);
|
|
|
|
private:
|
|
enum ColorStyle
|
|
{
|
|
CS_Sub,
|
|
CS_Normal,
|
|
CS_Super
|
|
};
|
|
|
|
void onWindowResize(MyGUI::Window* window);
|
|
|
|
void displayLeftText(std::string text);
|
|
void displayRightText(std::string text);
|
|
|
|
static const int lineHeight;
|
|
|
|
MyGUI::WidgetPtr skillAreaWidget, skillClientWidget;
|
|
MyGUI::VScrollPtr skillScrollerWidget;
|
|
int lastPos, clientHeight;
|
|
MyGUI::EditPtr mLeftTextWidget;
|
|
MyGUI::EditPtr mRightTextWidget;
|
|
};
|
|
|
|
}
|
|
|
|
#endif |