Skip to content

Commit

Permalink
Replaced includes of monolithic headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
segross committed Jun 14, 2020
1 parent f8d8704 commit bbd2c01
Show file tree
Hide file tree
Showing 18 changed files with 33 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ Versions marked as 'unofficial' are labelled only for the needs of this changelo
Change History
--------------

Version: 1.20 (2020/06)
Transition to IWYU and maintenence:
- Replaced includes of monolithic headers.

Version: 1.19 (2020/03-06)
- Integrated fix for issue with ImGui popup/modal windows not being able to be closed in transparent mouse input mode.
- Integrated first version of Adaptive Canvas Size.
Expand Down
2 changes: 1 addition & 1 deletion ImGui.uplugin
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"FileVersion": 3,
"Version": 1,
"VersionName": "1.19",
"VersionName": "1.20",
"FriendlyName": "ImGui",
"Description": "",
"Category": "Debug",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Dear ImGui is an immediate-mode graphical user interface library that is very li

Status
------
Version: 1.19
Version: 1.20

ImGui version: 1.74

Expand Down
3 changes: 1 addition & 2 deletions Source/ImGui/Private/ImGuiDrawData.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

#include "ImGuiInteroperability.h"

#include <Runtime/Launch/Resources/Version.h>
#include <SlateCore.h>
#include <Rendering/RenderingCommon.h>

#include <imgui.h>

Expand Down
1 change: 1 addition & 0 deletions Source/ImGui/Private/ImGuiInputHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "ImGuiModuleSettings.h"

#include <Engine/Console.h>
#include <GameFramework/InputSettings.h>
#include <Input/Events.h>

#if WITH_EDITOR
Expand Down
2 changes: 2 additions & 0 deletions Source/ImGui/Private/ImGuiModuleSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include "ImGuiModuleCommands.h"
#include "ImGuiModuleProperties.h"

#include <GameFramework/GameUserSettings.h>


//====================================================================================================
// FImGuiDPIScaleInfo
Expand Down
1 change: 1 addition & 0 deletions Source/ImGui/Private/ImGuiModuleSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#pragma once

#include <SlateTypes.h>
#include <Curves/CurveFloat.h>
#include <Delegates/Delegate.h>
#include <UObject/Object.h>
Expand Down
4 changes: 2 additions & 2 deletions Source/ImGui/Private/ImGuiPrivatePCH.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include "ImGuiModule.h"

// Engine
#include <Core.h>
#include <Engine.h>
#include <CoreMinimal.h>
#include <Engine/Engine.h>

// For backward compatibility we will use FStringClassReference which in newer engine versions is a typedef for
// FSoftClassPath. Include right soft class reference header to avoid warnings in newer engine version.
Expand Down
1 change: 0 additions & 1 deletion Source/ImGui/Private/TextureManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#pragma once

#include <Core.h>
#include <Styling/SlateBrush.h>
#include <Textures/SlateShaderResource.h>

Expand Down
1 change: 1 addition & 0 deletions Source/ImGui/Private/Utilities/DebugExecBindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "ImGuiModuleSettings.h"

#include <GameFramework/PlayerInput.h>
#include <UObject/UObjectIterator.h>


namespace
Expand Down
6 changes: 4 additions & 2 deletions Source/ImGui/Private/Utilities/WorldContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

#pragma once

#include <Core.h>
#include <Engine.h>
#include <CoreMinimal.h>
#include <Engine/Engine.h>
#include <Engine/GameInstance.h>
#include <Engine/GameViewportClient.h>


// Utilities helping to get a World Context.
Expand Down
2 changes: 2 additions & 0 deletions Source/ImGui/Private/Widgets/SImGuiCanvasControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include "SImGuiCanvasControl.h"

#include <SlateOptMacros.h>


namespace
{
Expand Down
2 changes: 2 additions & 0 deletions Source/ImGui/Private/Widgets/SImGuiCanvasControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#include "ImGuiModuleDebug.h"
#include "ImGuiModuleSettings.h"

#include <Brushes/SlateBorderBrush.h>
#include <Widgets/DeclarativeSyntaxSupport.h>
#include <Widgets/SLeafWidget.h>


Expand Down
1 change: 1 addition & 0 deletions Source/ImGui/Private/Widgets/SImGuiLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "ImGuiModuleManager.h"
#include "ImGuiModuleSettings.h"

#include <SlateOptMacros.h>
#include <Widgets/Layout/SConstraintCanvas.h>
#include <Widgets/Layout/SDPIScaler.h>
#include <Widgets/Layout/SScaleBox.h>
Expand Down
1 change: 1 addition & 0 deletions Source/ImGui/Private/Widgets/SImGuiLayout.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#pragma once

#include <Widgets/DeclarativeSyntaxSupport.h>
#include <Widgets/SCompoundWidget.h>


Expand Down
5 changes: 5 additions & 0 deletions Source/ImGui/Private/Widgets/SImGuiWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
#include "Utilities/ScopeGuards.h"

#include <Engine/Console.h>
#include <Engine/GameViewportClient.h>
#include <Engine/LocalPlayer.h>
#include <GameFramework/GameUserSettings.h>
#include <SlateOptMacros.h>
#include <Widgets/SViewport.h>

#include <utility>

Expand Down
1 change: 1 addition & 0 deletions Source/ImGui/Private/Widgets/SImGuiWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "ImGuiModuleDebug.h"
#include "ImGuiModuleSettings.h"

#include <Widgets/DeclarativeSyntaxSupport.h>
#include <Widgets/SCompoundWidget.h>


Expand Down
4 changes: 3 additions & 1 deletion Source/ImGui/Public/ImGuiDelegates.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

#pragma once

#include <Core.h>
#include <Delegates/Delegate.h>


class UWorld;

/**
* Delegates to ImGui debug events. World delegates are called once per frame during world updates and have invocation
* lists cleared after their worlds become invalid. Multi-context delegates are called once for every updated world.
Expand Down

0 comments on commit bbd2c01

Please sign in to comment.