27 lines
		
	
	
		
			331 B
		
	
	
	
		
			C++
		
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			331 B
		
	
	
	
		
			C++
		
	
	
	
| // Copyright (C) 2019 Nomango
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| namespace easy2d
 | |
| {
 | |
| 	class ImGuiView
 | |
| 		: public Singleton<ImGuiView>
 | |
| 		, public Component
 | |
| 	{
 | |
| 		E2D_DECLARE_SINGLETON(ImGuiView);
 | |
| 
 | |
| 	public:
 | |
| 		void Setup(Application* app) override;
 | |
| 
 | |
| 		void Destroy() override;
 | |
| 
 | |
| 	public:
 | |
| 		void Init(HWND hwnd);
 | |
| 
 | |
| 		void NewFrame();
 | |
| 
 | |
| 		void Render();
 | |
| 	};
 | |
| 
 | |
| }
 |