mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-15 14:01:29 -07:00
9bf32b2d86
- Implement ImGui Copy Paste, and OpenInShell backend. - Fix ColorEdit4 - Fix Hand and NotAllowed cursors - Make the reset of windows configuration automatic (but optional) when getting a config. - Console Window: Improve usability - Stat Window: Add configuration of of MaxFPS, Pings, and PacketLoss. Improve widget usability. - Time Scale Window: Add configuration of time scale. Improve widget usability. - Output Log Window: Fix the Copy. - Selection Window: The Pick button now uses an icon
47 lines
1.0 KiB
C++
47 lines
1.0 KiB
C++
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "CogCommonConfig.h"
|
|
#include "CogDebug.h"
|
|
#include "CogWindow.h"
|
|
#include "CogEngineWindow_DebugSettings.generated.h"
|
|
|
|
//--------------------------------------------------------------------------------------------------------------------------
|
|
class COGENGINE_API FCogEngineWindow_DebugSettings : public FCogWindow
|
|
{
|
|
typedef FCogWindow Super;
|
|
|
|
public:
|
|
|
|
virtual void Initialize() override;
|
|
|
|
protected:
|
|
|
|
virtual void RenderHelp() override;
|
|
|
|
virtual void PreSaveConfig() override;
|
|
|
|
virtual void RenderContent() override;
|
|
|
|
private:
|
|
|
|
TWeakObjectPtr<UCogEngineConfig_DebugSettings> Config = nullptr;
|
|
};
|
|
|
|
//--------------------------------------------------------------------------------------------------------------------------
|
|
UCLASS(Config = Cog)
|
|
class UCogEngineConfig_DebugSettings : public UCogCommonConfig
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
|
|
UPROPERTY(Config)
|
|
FCogDebugSettings Data;
|
|
|
|
virtual void Reset() override
|
|
{
|
|
Super::Reset();
|
|
Data = FCogDebugSettings();
|
|
}
|
|
}; |