mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-11-03 19:10:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			37 lines
		
	
	
	
		
			512 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
	
		
			512 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#include <memory>
 | 
						|
#include <string>
 | 
						|
 | 
						|
namespace scwx
 | 
						|
{
 | 
						|
namespace qt
 | 
						|
{
 | 
						|
namespace util
 | 
						|
{
 | 
						|
 | 
						|
class ImGui
 | 
						|
{
 | 
						|
public:
 | 
						|
   explicit ImGui();
 | 
						|
   ~ImGui();
 | 
						|
 | 
						|
   ImGui(const ImGui&)            = delete;
 | 
						|
   ImGui& operator=(const ImGui&) = delete;
 | 
						|
 | 
						|
   ImGui(ImGui&&) noexcept;
 | 
						|
   ImGui& operator=(ImGui&&) noexcept;
 | 
						|
 | 
						|
   void DrawTooltip(const std::string& hoverText);
 | 
						|
 | 
						|
   static ImGui& Instance();
 | 
						|
 | 
						|
private:
 | 
						|
   class Impl;
 | 
						|
 | 
						|
   std::unique_ptr<Impl> p;
 | 
						|
};
 | 
						|
 | 
						|
} // namespace util
 | 
						|
} // namespace qt
 | 
						|
} // namespace scwx
 |