Refactor the log entry retrieval in Renderer.cs to use the
LogManager's LogEntries collection directly instead of
converting it to a list. This change improves performance
by reducing overhead, especially for larger collections.
Refactor `InputManager.cs` to use the built-in `Point` struct for improved readability. Introduced a new `ClickMouse` method to manage mouse click events based on the current position and trigger bot functionality. Updated `Renderer.cs` to add a checkbox for enabling/disabling the trigger bot in the user interface.
- Introduced `MenuKey` property in `Config.cs` for user-defined menu toggling.
- Updated key state checks in `Program.cs` to utilize `MenuKey`.
- Refactored keybind handling in `Renderer.cs` to use dictionaries for "Aiming" and "Menu Key".
- Enhanced UI to allow dynamic keybind setting and listening.
- Changed tab item name from "Misc." to "Settings".
Updated the `ImGui.BeginChild` call to include the
`ImGuiChildFlags.AlwaysUseWindowPadding` flag for better
layout behavior. Removed unnecessary indentation
operations for log entries, streamlining the rendering
process.
- Updated `AutoLabeling.cs` to use `LogManager` for error logging and a new `mainConfig` object for configuration settings.
- Transformed `Config.cs` into a generic `ConfigManager<T>` class, encapsulating settings in a new `ConfigData` class for better organization.
- Enhanced `InputManager.cs` to utilize the new configuration structure and added smoothing functionality for mouse movement.
- Modified `Program.cs` to initialize `mainConfig` and `colorConfig`, improving key event handling.
- Updated `Spectrum.csproj` to target `net8.0-windows` and added new package references.
- Created `FodyWeavers.xml` to include the `Costura` weaver for dependency embedding.
- Introduced `LogManager.cs` for centralized logging functionality.
- Added `Renderer.cs` for rendering overlays with ImGui, integrating with the new configuration system.