CogEngine: Improve various windows widgets usability

- 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
This commit is contained in:
Arnaud Jamin
2025-02-04 01:26:19 -05:00
parent cb758450be
commit 9bf32b2d86
57 changed files with 1056 additions and 582 deletions
@@ -27,14 +27,6 @@ void FCogInputWindow_Actions::RenderHelp()
"It can also be used to inject inputs to help debugging.");
}
//--------------------------------------------------------------------------------------------------------------------------
void FCogInputWindow_Actions::ResetConfig()
{
Super::ResetConfig();
Config->Reset();
}
//--------------------------------------------------------------------------------------------------------------------------
void FCogInputWindow_Actions::RenderContent()
{
@@ -29,17 +29,6 @@ void FCogInputWindow_Gamepad::PreRender(ImGuiWindowFlags& WindowFlags)
}
}
//--------------------------------------------------------------------------------------------------------------------------
void FCogInputWindow_Gamepad::ResetConfig()
{
Super::ResetConfig();
if (Config != nullptr)
{
Config->Reset();
}
}
//--------------------------------------------------------------------------------------------------------------------------
void FCogInputWindow_Gamepad::RenderButtonContextMenu(const FKey& Key, FCogInputActionInfo* ActionInfoButton)
{
@@ -20,8 +20,6 @@ public:
protected:
virtual void ResetConfig() override;
virtual void RenderHelp() override;
virtual void RenderContent() override;
@@ -25,8 +25,6 @@ public:
protected:
virtual void ResetConfig() override;
virtual void PreRender(ImGuiWindowFlags& WindowFlags) override;
virtual void RenderContent() override;