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

35 lines
622 B
C++
Raw Normal View History

2013-03-22 13:13:10 +00:00
#ifndef OPENMW_MWGUI_MERCHANTREPAIR_H
#define OPENMW_MWGUI_MERCHANTREPAIR_H
#include "windowbase.hpp"
2013-03-22 13:13:10 +00:00
#include "../mwworld/ptr.hpp"
namespace MWGui
{
class MerchantRepair : public WindowBase
{
public:
MerchantRepair();
2013-03-22 13:13:10 +00:00
void onOpen() override;
2013-03-22 13:13:10 +00:00
void setPtr(const MWWorld::Ptr& actor) override;
2013-03-22 13:13:10 +00:00
private:
MyGUI::ScrollView* mList;
MyGUI::Button* mOkButton;
MyGUI::TextBox* mGoldLabel;
MWWorld::Ptr mActor;
protected:
void onMouseWheel(MyGUI::Widget* _sender, int _rel);
void onRepairButtonClick(MyGUI::Widget* sender);
void onOkButtonClick(MyGUI::Widget* sender);
};
}
#endif