mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-20 23:46:49 +00:00
Move the window config base class in CogCommon for projects that want to have their own configs,
This commit is contained in:
@@ -22,6 +22,7 @@ public class CogInput : ModuleRules
|
||||
new string[]
|
||||
{
|
||||
"Core",
|
||||
"CogCommon",
|
||||
"CogImgui",
|
||||
"CogDebug",
|
||||
"CogWindow",
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "CogCommonConfig.h"
|
||||
#include "CogInjectActionInfo.h"
|
||||
#include "CogWindow.h"
|
||||
#include "CogWindowConfig.h"
|
||||
#include "CogInputWindow_Actions.generated.h"
|
||||
|
||||
class UInputAction;
|
||||
@@ -44,7 +44,7 @@ private:
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
UCLASS(Config = Cog)
|
||||
class UCogInputConfig_Actions : public UCogWindowConfig
|
||||
class UCogInputConfig_Actions : public UCogCommonConfig
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "CogCommonConfig.h"
|
||||
#include "CogInjectActionInfo.h"
|
||||
#include "CogWindow.h"
|
||||
#include "CogWindowConfig.h"
|
||||
#include "imgui.h"
|
||||
#include "InputCoreTypes.h"
|
||||
#include "CogInputWindow_Gamepad.generated.h"
|
||||
@@ -66,7 +66,7 @@ protected:
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
UCLASS(Config = Cog)
|
||||
class UCogInputConfig_Gamepad : public UCogWindowConfig
|
||||
class UCogInputConfig_Gamepad : public UCogCommonConfig
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user