mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 22:56:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			45 lines
		
	
	
	
		
			754 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
	
		
			754 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef OPENMW_MWGUI_REPAIR_H
 | |
| #define OPENMW_MWGUI_REPAIR_H
 | |
| 
 | |
| #include "windowbase.hpp"
 | |
| 
 | |
| #include "../mwmechanics/repair.hpp"
 | |
| 
 | |
| namespace MWGui
 | |
| {
 | |
| 
 | |
| class Repair : public WindowBase
 | |
| {
 | |
| public:
 | |
|     Repair();
 | |
| 
 | |
|     virtual void open();
 | |
| 
 | |
|     void startRepairItem (const MWWorld::Ptr& item);
 | |
| 
 | |
| protected:
 | |
|     MyGUI::Widget* mRepairBox;
 | |
|     MyGUI::ScrollView* mRepairView;
 | |
| 
 | |
|     MyGUI::Widget* mToolBox;
 | |
| 
 | |
|     MyGUI::ImageBox* mToolIcon;
 | |
| 
 | |
|     MyGUI::TextBox* mUsesLabel;
 | |
|     MyGUI::TextBox* mQualityLabel;
 | |
| 
 | |
|     MyGUI::Button* mCancelButton;
 | |
| 
 | |
|     MWMechanics::Repair mRepair;
 | |
| 
 | |
|     void updateRepairView();
 | |
| 
 | |
|     void onRepairItem (MyGUI::Widget* sender);
 | |
|     void onCancel (MyGUI::Widget* sender);
 | |
|     void onMouseWheel(MyGUI::Widget* _sender, int _rel);
 | |
| 
 | |
| };
 | |
| 
 | |
| }
 | |
| 
 | |
| #endif
 |