mirror of
				https://github.com/kevinporetti/UnrealImGui.git
				synced 2025-11-03 23:33:16 +00:00 
			
		
		
		
	- Removed ImGui Module Properties singleton interface and released construction constraints. - Added ImGui Module Properties to ImGui Module Manager. - Moved ImGui Demo to ImGui Module Manager. - ImGui Demo and ImGui Module Commands keep reference to ImGui Module Manager that gives them access to properties.
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
// Distributed under the MIT License (MIT) (see accompanying LICENSE file)
 | 
						|
 | 
						|
#pragma once
 | 
						|
 | 
						|
#include <IConsoleManager.h>
 | 
						|
 | 
						|
 | 
						|
class FImGuiModuleManager;
 | 
						|
 | 
						|
// Manges ImGui module console commands.
 | 
						|
class FImGuiModuleCommands
 | 
						|
{
 | 
						|
public:
 | 
						|
 | 
						|
	FImGuiModuleCommands(FImGuiModuleManager& InModuleManager);
 | 
						|
	~FImGuiModuleCommands();
 | 
						|
 | 
						|
private:
 | 
						|
 | 
						|
	FImGuiModuleCommands(const FImGuiModuleCommands&) = delete;
 | 
						|
	FImGuiModuleCommands& operator=(const FImGuiModuleCommands&) = delete;
 | 
						|
 | 
						|
	FImGuiModuleCommands(FImGuiModuleCommands&&) = delete;
 | 
						|
	FImGuiModuleCommands& operator=(FImGuiModuleCommands&&) = delete;
 | 
						|
 | 
						|
	void InitializeSettings();
 | 
						|
 | 
						|
	void RegisterSettingsDelegates();
 | 
						|
	void UnregisterSettingsDelegates();
 | 
						|
 | 
						|
	void UpdateToggleInputKeyBinding();
 | 
						|
 | 
						|
	void ToggleInput();
 | 
						|
	void ToggleKeyboardNavigation();
 | 
						|
	void ToggleGamepadNavigation();
 | 
						|
	void ToggleDemo();
 | 
						|
 | 
						|
	FImGuiModuleManager& ModuleManager;
 | 
						|
 | 
						|
	FAutoConsoleCommand ToggleInputCommand;
 | 
						|
	FAutoConsoleCommand ToggleKeyboardNavigationCommand;
 | 
						|
	FAutoConsoleCommand ToggleGamepadNavigationCommand;
 | 
						|
	FAutoConsoleCommand ToggleDemoCommand;
 | 
						|
};
 |