From 9e1d7f5ca26a9cfb1e6969ec945b5eee12797226 Mon Sep 17 00:00:00 2001 From: Zaafar Ahmed Date: Sun, 2 Jun 2019 02:55:00 -0400 Subject: [PATCH] using latest style-cop --- .../ClickableTransparentOverlay.csproj | 5 +-- ClickableTransparentOverlay/HookController.cs | 6 ++-- ClickableTransparentOverlay/NativeMethods.cs | 2 +- ClickableTransparentOverlay/Overlay.cs | 34 +++++++++---------- ClickableTransparentOverlay/app.config | 31 +++++++++++++++++ ClickableTransparentOverlay/packages.config | 2 +- 6 files changed, 56 insertions(+), 24 deletions(-) create mode 100644 ClickableTransparentOverlay/app.config diff --git a/ClickableTransparentOverlay/ClickableTransparentOverlay.csproj b/ClickableTransparentOverlay/ClickableTransparentOverlay.csproj index 232276e..757cae3 100644 --- a/ClickableTransparentOverlay/ClickableTransparentOverlay.csproj +++ b/ClickableTransparentOverlay/ClickableTransparentOverlay.csproj @@ -111,6 +111,7 @@ + @@ -122,8 +123,8 @@ - - + + diff --git a/ClickableTransparentOverlay/HookController.cs b/ClickableTransparentOverlay/HookController.cs index b015c0b..60c7a00 100644 --- a/ClickableTransparentOverlay/HookController.cs +++ b/ClickableTransparentOverlay/HookController.cs @@ -57,10 +57,10 @@ namespace ClickableTransparentOverlay /// Update transparent SDL2Window top left position. /// /// - /// X axis of the SDL2Window top left corner + /// X axis of the SDL2Window top left corner. /// /// - /// Y axis of the SDL2Window top left corner + /// Y axis of the SDL2Window top left corner. /// public void UpdateWindowPosition(int x, int y) { @@ -85,7 +85,7 @@ namespace ClickableTransparentOverlay } /// - /// Dispose the resources acquired by this class + /// Dispose the resources acquired by this class. /// public void Dispose() { diff --git a/ClickableTransparentOverlay/NativeMethods.cs b/ClickableTransparentOverlay/NativeMethods.cs index 1b68415..22d1a4a 100644 --- a/ClickableTransparentOverlay/NativeMethods.cs +++ b/ClickableTransparentOverlay/NativeMethods.cs @@ -86,7 +86,7 @@ namespace ClickableTransparentOverlay left = rectangle.Left, right = rectangle.Right, top = rectangle.Top, - bottom = rectangle.Bottom + bottom = rectangle.Bottom, }; return margins; } diff --git a/ClickableTransparentOverlay/Overlay.cs b/ClickableTransparentOverlay/Overlay.cs index c27bcbc..bd0f652 100644 --- a/ClickableTransparentOverlay/Overlay.cs +++ b/ClickableTransparentOverlay/Overlay.cs @@ -13,7 +13,7 @@ namespace ClickableTransparentOverlay using Veldrid.StartupUtilities; /// - /// A class to create clickable transparent overlay + /// A class to create clickable transparent overlay. /// public class Overlay { @@ -39,22 +39,22 @@ namespace ClickableTransparentOverlay /// Initializes a new instance of the class. /// /// - /// x position of the overlay + /// x position of the overlay. /// /// - /// y position of the overlay + /// y position of the overlay. /// /// - /// width of the overlay + /// width of the overlay. /// /// - /// height of the Overlay + /// height of the Overlay. /// /// - /// fps of the overlay + /// fps of the overlay. /// /// - /// In this mode, overlay will not hide the Console + /// In this mode, overlay will not hide the Console. /// public Overlay(int x, int y, int width, int height, int fps, bool debug) { @@ -98,7 +98,7 @@ namespace ClickableTransparentOverlay public event EventHandler SubmitUI; /// - /// Starts the overlay + /// Starts the overlay. /// public void Run() { @@ -116,7 +116,7 @@ namespace ClickableTransparentOverlay /// Set the overlay FPS. /// /// - /// FPS to set + /// FPS to set. /// public void SetFps(int fps) { @@ -124,19 +124,19 @@ namespace ClickableTransparentOverlay } /// - /// Resizes the overlay + /// Resizes the overlay. /// /// - /// x axis of the overlay + /// x axis of the overlay. /// /// - /// y axis of the overlay + /// y axis of the overlay. /// /// - /// width of the overlay + /// width of the overlay. /// /// - /// height of the overlay + /// height of the overlay. /// public void Resize(int x, int y, int width, int height) { @@ -152,7 +152,7 @@ namespace ClickableTransparentOverlay } /// - /// Shows the overlay + /// Shows the overlay. /// public void Show() { @@ -161,7 +161,7 @@ namespace ClickableTransparentOverlay } /// - /// hides the overlay + /// hides the overlay. /// public void Hide() { @@ -170,7 +170,7 @@ namespace ClickableTransparentOverlay } /// - /// Free all resources acquired by the overlay + /// Free all resources acquired by the overlay. /// public void Dispose() { diff --git a/ClickableTransparentOverlay/app.config b/ClickableTransparentOverlay/app.config new file mode 100644 index 0000000..8e7f435 --- /dev/null +++ b/ClickableTransparentOverlay/app.config @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ClickableTransparentOverlay/packages.config b/ClickableTransparentOverlay/packages.config index 9335366..7a178f6 100644 --- a/ClickableTransparentOverlay/packages.config +++ b/ClickableTransparentOverlay/packages.config @@ -6,7 +6,7 @@ - +