ocornut
aef057e975
Internals: Added GetInputTextState() + comments.
ago%!(EXTRA string=5 years)
ocornut
2dcf8df9f4
Internals: Shuffled some of the windows-specific includes to avoid duplication. Might have undesirable side-effects on some compilers, please report!
ago%!(EXTRA string=5 years)
ocornut
de37a0bfab
Internals: fix potential warning. Comments around include sections. Moved a few bits.
ago%!(EXTRA string=5 years)
ocornut
1b5b87a40e
Internals: Added #define NOMINMAX before windows.h include for single-compile-unit builds.
ago%!(EXTRA string=5 years)
ocornut
fbaf65b8f6
Revert "Viewports: Renamed UpdatePlatformWindows > PlatformWindowsUpdate, RenderPlatformWindowsDefault -> PlatformWindowsRender, DestroyPlatformWindows > PlatformWindowsDestroy ( #1542 )"
...
This reverts commit f2c7f3b200
.
ago%!(EXTRA string=5 years)
ocornut
f2c7f3b200
Viewports: Renamed UpdatePlatformWindows > PlatformWindowsUpdate, RenderPlatformWindowsDefault -> PlatformWindowsRender, DestroyPlatformWindows > PlatformWindowsDestroy ( #1542 )
ago%!(EXTRA string=5 years)
Rokas Kupstys
7e00cde8a9
Disable false-positive warning that papeared in pvs-studio v7.06.37052.34.
ago%!(EXTRA string=5 years)
ocornut
1ecc1db226
Fix GCC warning
ago%!(EXTRA string=5 years)
omar
897704cb49
Menus: Tweak for first-level menu windows to be positioned regardless of MenuBarHeight() which is not stored in window, allowing undocumented modification of the menu bar height).
ago%!(EXTRA string=5 years)
ocornut
a41332453e
Unicode: Changelog, comments, minimum CI integration. ( #2541 , #2538 , #2815 )
ago%!(EXTRA string=5 years)
Sam Hocevar
c8ea0a017d
Unicode: UTF32 support improvements ( #2541 , #2538 , #2815 )
...
- Make ImWchar32 unsigned.
- Fix Win32 version of ImFileOpen by including windows.h sooner.
- Make ImGuiIO::AddInputCharacterUTF16() more robust by disallowing illegal
surrogate pairs.
- Allow pushing higher plane codepoints through ImGuiIO::AddInputCharacter().
- Minor cleaning up in the high-plane Unicode support.
- Fix Clang -Wunreachable-code warning
ago%!(EXTRA string=5 years)
Cloud Wu
6d59653e82
Unicode: full Unicode Support (6 squashed commits) ( #2541 , #2538 )
...
fix build for WideCharToMultiByte
[3181ff1e] Full Unicode Support
[6c9e73ac] Fix ImTextCountUtf8BytesFromChar and ImTextCharToUtf8, these APIs assume the input is an unicode code point, not UTF-16
[ba85665b] Add AddInputCharacterUTF16 for windows backend to handle WM_CHAR
[fafdcaf0] Use Windows API to convert UTF-16 for ImFileOpen
[dc7d5925] Use windows API to convert UTF-16 for clipboard
ago%!(EXTRA string=5 years)
ocornut
8c683de33f
Internals: Refactor: Moved get height and contents regions functions, to Layout section. IF YOU GREAT CONFLICTS WHILE MERGING (NOT REBASING) THOSE 6 PREV COMMITS, TRY MERGING THEM INDIVIDUALLY 1 by 1 or 2 by 2 etc.
ago%!(EXTRA string=5 years)
ocornut
602df11f19
Internals: Refactor: Moved item width/size functions to Layout section.
ago%!(EXTRA string=5 years)
ocornut
6c1810e503
Internals: Refactor: Moved cursor position functions to Layout section.
ago%!(EXTRA string=5 years)
ocornut
3ce26f65d4
Internals: Refactor: Moved ItemAdd(), ItemSize(), BeginGroup(), EndGroup(), SameLine(), Indent(), Unindent() to Layout section.
ago%!(EXTRA string=5 years)
ocornut
caca55c642
Internals: Refactor: Moved code into a Styling section and some code into the Error Handling section.
ago%!(EXTRA string=5 years)
ocornut
2679bee28d
Internals: Refactor: Moved code out of NewFrame() into UpdateTabFocus() and UpdateSettings()
ago%!(EXTRA string=5 years)
ocornut
24bd33ace8
Menus: Some renaming, comments, add to demo. Amend 0342a3c
. ( #1207 )
ago%!(EXTRA string=5 years)
Rokas Kupstys
0342a3c548
Menus: Implement BeginMenu() appending to existing menu when executed with same ID multiple times. ( #1207 )
ago%!(EXTRA string=5 years)
omar
103c5edaaa
Internals: debug log macros.
ago%!(EXTRA string=5 years)
ocornut
75de34e281
Viewports, Docking: Added per-viewport work area system for e.g. menu-bars. Fixed DocksapceOverViewport() and demo code (overlay etc) ( #3035 , #2889 , #2474 , #1542 , #2109 )
...
Clarified that BeginMenuMainBar() had an incorrect knowledge of its height (which was previously harmless).
Designed to easily allow for status bars although we don't have/use them yet, but custom code could use them.
ago%!(EXTRA string=5 years)
ocornut
f032ad6b1f
Viewports: Renamed GetRect() to GetMainRect() in prevision for work rect. Comments
ago%!(EXTRA string=5 years)
ocornut
898e91f20d
Internals: Added TempInputText() to facilitate creation of custom widgets, renamed TempInputTextScalar() to TempInputScalar() etc. ( #2718 )
...
+ Minor imgui.h/todo comments
ago%!(EXTRA string=5 years)
ocornut
871727dd2f
Viewports: Software mouse cursor is also scaled by current DpiScale. (amend #939 )
ago%!(EXTRA string=5 years)
Rokas Kupstys
3ff13edad9
Viewports: Improve menu positioning in multi-monitor setups.
...
This change uses mouse position for initial positioning of popup menus. It ensures that menu appears in expected location on monitor mouse is currently hovering. This change fixes incorrect menu positioning (permanent or on the first frame) when menu item spans multiple monitors.
ago%!(EXTRA string=5 years)
ocornut
e547f898a9
Demo: Added color gradient in demo to identify srgb/linear issues better. Tweaks.
ago%!(EXTRA string=5 years)
ocornut
3c80d57dc7
Viewports, Window: Avoid manually clipping resize grips and borders, which messes up with automation ability to locate the items. Also simpler and more standard.
...
Amend d8f9f6ba2a
and 377f730054
.
ago%!(EXTRA string=5 years)
ocornut
02a6c06080
Window: Fixed a bug with child window inheriting ItemFlags from their parent when the child window also manipulate the ItemFlags stack. ( #3024 ) [ @Stanbroek ]
...
Amend f843facba4
and 8828889d5e
ago%!(EXTRA string=5 years)
Omar
8836975dcf
Drag and Drop, Nav: Disabling navigation arrow keys when drag and drop is active. ( #3025 )
ago%!(EXTRA string=5 years)
omar
ccaec1a270
Version 1.76 WIP
ago%!(EXTRA string=5 years)
omar
30bb15672d
Remove trailing spaces
ago%!(EXTRA string=5 years)
omar
58b3e02b95
Version 1.75
...
Comments
ago%!(EXTRA string=5 years)
omar
7e2d172ae5
Backends: GLFW, SDL: Platform monitors declared properly even if multi-viewport is not enabled.
ago%!(EXTRA string=5 years)
omar
d37d25470a
Added IMGUI_DISABLE compile-time definition to make all headers and sources empty.
ago%!(EXTRA string=5 years)
omar
3bde375078
Nav, Docking: Fixed failing to restore NavId when refocusing due to missing nav window.
ago%!(EXTRA string=5 years)
omar
365b639981
Nav, Docking: Fixed failing to restore NavId when refocusing a child within a docked window.
ago%!(EXTRA string=5 years)
omar
d4fc525614
Nav, Focus: Fixed messed up Ctrl+Tab order with Docked windows.
...
Amend d9bca0d853
, fc41839cab
, fc42528f13
for docking.
ago%!(EXTRA string=5 years)
omar
fc42528f13
When testing for the presence of the ImGuiWindowFlags_NoBringToFrontOnFocus flag we test both the focused/clicked window (which could be a child window) and the root window.
ago%!(EXTRA string=5 years)
omar
fc41839cab
Focus: Reworking FocusWindow() so in Docking branch we can fix CTRL+Tab being out of order on Docked windows because WindowsFocusOreder is poorly maintained.
...
When merging this and d9bca0d8
in Docking we'll replace two ocurrences of RootWindow with RootWindowDockStop.
ago%!(EXTRA string=5 years)
omar
fb257eef3e
Internals: Update ->RootWindow and other links before applying the SetNextWindowXXX stuff. This is so FocusWindow() can always assume that ->RootWindow != NULL.
ago%!(EXTRA string=5 years)
omar
4b4be11fd2
Docking: Clarifying that DockNode!=NULL when DockIsActive. Comments. Cleanup.
ago%!(EXTRA string=5 years)
omar
d9bca0d853
Nav: Fixed a bug where the initial CTRL-Tab press while in a child window sometimes selected the current root window instead of always selecting the previous root window. ( #787 )
ago%!(EXTRA string=5 years)
omar
47fab0e166
Misc renaming, comments. Docs: add missing spacing to Changelog.
ago%!(EXTRA string=5 years)
omar
6e1f8be07b
Window: Fix SetNextWindowBgAlpha(1.0f) failing to override alpha component. ( #3007 )
ago%!(EXTRA string=5 years)
omar
3b828e6f96
Fix following bbe946f
(ImRect <> ImVec4)
ago%!(EXTRA string=5 years)
omar
bbe946fb6c
Minor fixes/tweaks (some to reduce drift wiih master branch)
ago%!(EXTRA string=5 years)
omar
5f4dfad5b7
Merge misc/shallow changes from Docking to reduce drift.
...
Most are comments. Fix menu bar clipping: 07ff47bf1b
ago%!(EXTRA string=5 years)
omar
6c1a73774d
Tooltip: Testing DragDropWithinSourceOrTarget in BeginTooltipEx() instead of just BeginTooltip() - feel this was an overlook. Added tooltip flags instead of using bool.
ago%!(EXTRA string=5 years)
omar
377f730054
Fix resizing viewport-owning windows when mouse pos is outside the InnerClipRect (can happen with OS decoration on). ( #1542 )
ago%!(EXTRA string=5 years)