mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-03 08:56:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
	
		
			644 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
	
		
			644 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef OPENMW_MWGUI_MERCHANTREPAIR_H
 | 
						|
#define OPENMW_MWGUI_MERCHANTREPAIR_H
 | 
						|
 | 
						|
#include "windowbase.hpp"
 | 
						|
#include "../mwworld/ptr.hpp"
 | 
						|
 | 
						|
 | 
						|
 | 
						|
namespace MWGui
 | 
						|
{
 | 
						|
 | 
						|
class MerchantRepair : public WindowBase
 | 
						|
{
 | 
						|
public:
 | 
						|
    MerchantRepair();
 | 
						|
 | 
						|
    virtual void open();
 | 
						|
 | 
						|
    virtual void exit();
 | 
						|
 | 
						|
    void startRepair(const MWWorld::Ptr& actor);
 | 
						|
 | 
						|
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
 |