1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 06:15:32 +00:00
openmw-tes3mp/apps/openmw/mwgui/tooltips.hpp

37 lines
690 B
C++
Raw Normal View History

2012-04-14 15:47:44 +00:00
#ifndef MWGUI_TOOLTIPS_H
#define MWGUI_TOOLTIPS_H
#include <openengine/gui/layout.hpp>
#include "../mwworld/ptr.hpp"
2012-04-14 15:47:44 +00:00
namespace MWGui
{
class ToolTips : public OEngine::GUI::Layout
{
public:
ToolTips();
void onFrame(float frameDuration);
void enterGameMode();
void enterGuiMode();
void setFocusObject(const MWWorld::Ptr& focus);
2012-04-14 15:47:44 +00:00
void adjustScreen(int screenWidth, int screenHeight);
private:
MyGUI::EditBox* mTextToolTip;
MyGUI::Widget* mTextToolTipBox;
MyGUI::Widget* mDynamicToolTipBox;
MWWorld::Ptr mFocusObject;
bool mFocusChanged;
2012-04-14 15:47:44 +00:00
bool mGameMode;
};
}
#endif