From 9ec966f6ffd2e93cf3bbc67d6326c3bfe2779ef6 Mon Sep 17 00:00:00 2001 From: Jade Macho Date: Wed, 2 Jul 2025 01:45:00 +0200 Subject: [PATCH] chore: Clean up usings --- CustomResolution2782/ConfigurationEnums.cs | 5 +--- CustomResolution2782/ConfigurationV1.cs | 4 +-- CustomResolution2782/DebugConfiguration.cs | 3 +-- CustomResolution2782/DisplaySizeState.cs | 9 ------- CustomResolution2782/GameSizeState.cs | 26 +------------------- CustomResolution2782/Hooks/WndProcHook.cs | 1 - CustomResolution2782/Plugin.cs | 11 +-------- CustomResolution2782/RefPtr.cs | 7 +----- CustomResolution2782/Windows/ConfigWindow.cs | 2 -- 9 files changed, 6 insertions(+), 62 deletions(-) diff --git a/CustomResolution2782/ConfigurationEnums.cs b/CustomResolution2782/ConfigurationEnums.cs index e1d2b89..68b11b0 100644 --- a/CustomResolution2782/ConfigurationEnums.cs +++ b/CustomResolution2782/ConfigurationEnums.cs @@ -1,7 +1,4 @@ -using Dalamud.Configuration; -using Dalamud.Game.ClientState.Keys; -using Dalamud.Plugin; -using System; +using Dalamud.Game.ClientState.Keys; using System.Collections.Generic; using System.Reflection; diff --git a/CustomResolution2782/ConfigurationV1.cs b/CustomResolution2782/ConfigurationV1.cs index 69969d0..8c401ff 100644 --- a/CustomResolution2782/ConfigurationV1.cs +++ b/CustomResolution2782/ConfigurationV1.cs @@ -1,6 +1,4 @@ -using Dalamud.Configuration; -using Dalamud.Game.ClientState.Keys; -using Dalamud.Plugin; +using Dalamud.Game.ClientState.Keys; using System; namespace CustomResolution; diff --git a/CustomResolution2782/DebugConfiguration.cs b/CustomResolution2782/DebugConfiguration.cs index 729c51e..1c09998 100644 --- a/CustomResolution2782/DebugConfiguration.cs +++ b/CustomResolution2782/DebugConfiguration.cs @@ -1,5 +1,4 @@ -using System; -namespace CustomResolution; +namespace CustomResolution; /// /// Flags for internal testing. diff --git a/CustomResolution2782/DisplaySizeState.cs b/CustomResolution2782/DisplaySizeState.cs index 8c59423..24d25c1 100644 --- a/CustomResolution2782/DisplaySizeState.cs +++ b/CustomResolution2782/DisplaySizeState.cs @@ -1,18 +1,9 @@ using CustomResolution.Hooks; -using Dalamud.Game.ClientState.Keys; -using Dalamud.Game.Config; -using Dalamud.Plugin; -using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Graphics.Kernel; -using FFXIVClientStructs.FFXIV.Client.Graphics.Render; using FFXIVClientStructs.FFXIV.Client.System.Framework; using FFXIVClientStructs.Interop; using FloppyUtils; -using ImGuiNET; using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; using TerraFX.Interop.Windows; diff --git a/CustomResolution2782/GameSizeState.cs b/CustomResolution2782/GameSizeState.cs index f341097..6c0c52e 100644 --- a/CustomResolution2782/GameSizeState.cs +++ b/CustomResolution2782/GameSizeState.cs @@ -1,35 +1,11 @@ -using CustomResolution.Hooks; -using Dalamud.Game.ClientState.Keys; -using Dalamud.Game.Config; +using Dalamud.Game.Config; using Dalamud.Hooking; -using Dalamud.Plugin; -using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Graphics.Kernel; using FFXIVClientStructs.FFXIV.Client.Graphics.Render; -using FFXIVClientStructs.FFXIV.Client.System.Framework; -using FFXIVClientStructs.FFXIV.Client.System.Input; -using FFXIVClientStructs.FFXIV.Client.System.String; -using FFXIVClientStructs.FFXIV.Client.UI; -using FFXIVClientStructs.FFXIV.Client.UI.Misc; -using FFXIVClientStructs.FFXIV.Common.Math; -using FFXIVClientStructs.FFXIV.Component.GUI; -using FFXIVClientStructs.FFXIV.Component.Text; -using FFXIVClientStructs.Interop; -using FFXIVClientStructs.STD; using FloppyUtils; -using ImGuiNET; using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using System.Runtime.Intrinsics.Arm; using System.Text; -using System.Threading; -using System.Xml.Linq; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.Windows.Windows; namespace CustomResolution; diff --git a/CustomResolution2782/Hooks/WndProcHook.cs b/CustomResolution2782/Hooks/WndProcHook.cs index f4ddc9e..e328d84 100644 --- a/CustomResolution2782/Hooks/WndProcHook.cs +++ b/CustomResolution2782/Hooks/WndProcHook.cs @@ -1,6 +1,5 @@ using CustomResolution.WndProcHookManagerProxyApi; using System; -using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using TerraFX.Interop.Windows; diff --git a/CustomResolution2782/Plugin.cs b/CustomResolution2782/Plugin.cs index 3c0327c..c4785c9 100644 --- a/CustomResolution2782/Plugin.cs +++ b/CustomResolution2782/Plugin.cs @@ -1,20 +1,11 @@ -using CustomResolution.Hooks; -using Dalamud.Game.ClientState.Keys; +using Dalamud.Game.ClientState.Keys; using Dalamud.Game.Config; using Dalamud.Plugin; using Dalamud.Plugin.Services; -using FFXIVClientStructs.FFXIV.Client.Graphics.Kernel; -using FFXIVClientStructs.FFXIV.Client.Graphics.Render; -using FFXIVClientStructs.FFXIV.Client.System.Framework; -using FFXIVClientStructs.Interop; using ImGuiNET; using System; using System.Collections.Generic; using System.Linq; -using System.Runtime.InteropServices; -using System.Xml.Linq; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.Windows.Windows; namespace CustomResolution; diff --git a/CustomResolution2782/RefPtr.cs b/CustomResolution2782/RefPtr.cs index d6902fe..f8c20c9 100644 --- a/CustomResolution2782/RefPtr.cs +++ b/CustomResolution2782/RefPtr.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.CompilerServices; -using System.Text; -using System.Threading.Tasks; +using System.Runtime.CompilerServices; namespace FloppyUtils; diff --git a/CustomResolution2782/Windows/ConfigWindow.cs b/CustomResolution2782/Windows/ConfigWindow.cs index 7e8bdc3..04b0ead 100644 --- a/CustomResolution2782/Windows/ConfigWindow.cs +++ b/CustomResolution2782/Windows/ConfigWindow.cs @@ -5,8 +5,6 @@ using ImGuiNET; using System; using System.Linq; using System.Numerics; -using System.Xml.Linq; -using TerraFX.Interop.Windows; namespace CustomResolution.Windows;