Commit Graph

17 Commits

Author SHA1 Message Date
03f5d09ab4 Change display name of docking enable in settings menu 2024-11-24 00:08:45 -05:00
c8e465ce2d Add configurable docking flag 2024-11-23 18:27:50 -05:00
Steve Streeting
097719426a UE5.1 Warning fix: C++ class refs must include module 2023-02-20 17:36:08 +00:00
benui
14749e50bb Fixed warnings from Unreal 5.0 Preview 1 2022-03-01 10:46:21 -08:00
Sebastian
a18e2e8dfb Removed old code moving data from depreciated SwitchInputModeKey to ToggleInput. 2020-06-28 19:18:35 +01:00
Sebastian
d4ffe9443f Enforced IWYU-style PCH model:
- Removed explicit PCH.
- Fixed includes to compile for all supported engine versions, including non-unity builds.
- Configured build.cs to treat ImGui as an engine module and added stricter compilation rules.
2020-06-25 10:52:46 +01:00
Sebastian
04e6f9d844 Removed dependency on headers included in the PCH and fixed any non-unity issues. 2020-06-14 21:50:26 +01:00
Sebastian
bbd2c01071 Replaced includes of monolithic headers. 2020-06-14 20:21:49 +01:00
Sebastian
48be56de64 Added support for curve-based DPI scaling. 2020-06-07 23:18:14 +01:00
Sebastian
9d4eb74bf0 Added support for DPI scaling in ImGui, with scaling in Slate remaining as an alternative:
- The old DPI Scale setting was replaced by DPI Scaling Info, which contains information about scale and method of scaling.
- ImGui Context Manager handles scaling in ImGui by scaling all styles, rebuilding fonts using a different size, and raising OnFontAtlasBuilt event.
- ImGui Module Manager uses OnFontAtlasBuilt event to rebuild font textures.
- The update policy in Texture Manager was loosened to update existing resources rather than throwing an exception. This is less strict but it is now more useful since our main texture can now change. The throwing behavior used in the public interface is now handled before calling to the Texture Manager.
2020-06-07 21:58:48 +01:00
Sebastian
8de65f3d34 Added option for DPI scaling. Current implementation scales the widget in Slate and invert-scales the ImGui canvas size to maintain consistent size on the screen. 2020-05-11 11:24:59 +01:00
Sebastian
253eff0525 Added functionality allowing to apply changes in canvas size settings while playing. 2020-05-10 21:20:51 +01:00
Sebastian
4c3905b348 Added more options to control the canvas size:
- Canvas size can be set to custom width and height, desktop size or viewport size.
- The old Adaptive Canvas Size is replaced by the viewport size type.
- Custom and desktop size types can be also extended to the viewport size but they will never be smaller than their base sizes.
2020-05-10 21:05:27 +01:00
kkawachi
174e38cfc6
Acquire size of ImGUI canvas from game viewport (#27)
- WIP: Does not support multi-PIE. All instances get the same size.
- Setting to enable/disable adaptive size.
2020-04-16 13:08:32 +01:00
kkawachi
5e4b7084de Fixed build errors when the plugin is placed in the engine directory. (#19)
Merged 4 commits fixing build errors when compiling this as an engine plugin:
- Changed include directives to use full paths (ex. <ICursor.h> -> <GenericPlatform/ICursor.h>).
- Added categories to FImGuiKeyInfo properties (required for all blueprint exposed types in engine plugins).
- Added explicit configuration of PCHUsage (without that it is assumed to be UseExplicitOrSharedPCHs in engine plugins and UseSharedPCHs in game ones) - amended to work also in the older engine versions.
2019-07-27 18:45:25 +01:00
Sebastian
10ce6386d4 Added support for shared mouse input:
- With the mouse sharing enabled, SImGuiWidget can update mouse position without enabling hit-tests. Actual input mode depends whether mouse cursor is hovering any ImGui window or not.
- Added to context proxy interface to read whether that context has mouse hovering any window.
- Added boilerplate code to support mouse sharing settings, properties and commands.
2019-07-08 20:46:28 +01:00
Sebastian
6eb66bf021 Renamed ImGuiSettings.h/cpp to ImGuiModuleSettings.h/cpp to keep it more consistent with conventions used in module. 2018-12-08 21:15:20 +00:00