Commit Graph

6665 Commits (2c29e391dd2e640f4c5ddca18e2e7df7ccf57b23)
 

Author SHA1 Message Date
omar d8824f9a9a CI: Clarify purpose of example_null, Changelog
Rokas Kupstys ac5ffffc23 CI: Test builds with freetype on linux.
omar bdd31ec4db Internal: Refactor: Moved RenderColorRectWithAlphaCheckerboard() to imgui_draw.cpp, tweaked signature.
omar 0bbbbe0f68 Internal: Refactor: Moved RenderArrow, RenderBullet, RenderCheckMark to imgui_draw.cpp, changed RenderCheckMark to avoid using ImGui context
David Kalnischkies 2fd411a83e Support custom stb_rect_pack filename in Freetype ()
Copies the #define magic from imgui_draw.cpp to the imgui_freetype implementation to allow the use of a custom stb rect_pack here as well.
References: fe5347ef94
Rokas Kupstys 75a65f6fb0 CI: Test build with large indices, obsolete functions disabled and demo/metrics windows disabled.
+ amend notes
ocornut 339ffd25a9 Internals: Renamed ImBoolVector to ImBitVector, added low-level loose function to replicate the behavior include a help SetBitRange() function.
ocornut 1d5612a05e Internal: Added two missing ImVec2 operators for consistency. Split up DragDropWithinSourceOrTarget
ImVec2 *= ImVec2 to match  ImVec2 * ImVec2, likewise with /
ocornut b016f1ad70 Examples: SDL+DX11: Fixed resizing main window. Amend ()
joeslay a0f01d2290 Improve resizing in dx11 example ()
Make the dx11 example implementation resize the window in a sane way, i.e. not the stretching/scaling the initial render to fit the new window size (current behaviour).
ocornut a5041c8820 Focus: Child inherit focus scope from parent (amend 2ebe08be).
ocornut 9a46a19e99 Internals: Rename ImGuiSelectableFlags_PressedOnXXX to ImGuiSelectableFlags_SelectOnXXX, ImGuiButtonFlags_NoHoveredOnNav to ImGuiButtonFlags_NoHoveredOnFocus.
ocornut 4a10af2bda Unicode, Windows: Remove stringapiset.h include (breaks vs2010 and seems unnecessary?). (, )
ocornut e137db2df7 CI: Enable error on warnings for the extra warnings builds as an experiment. FAQ tweaks
ocornut aef057e975 Internals: Added GetInputTextState() + comments.
ocornut 2dcf8df9f4 Internals: Shuffled some of the windows-specific includes to avoid duplication. Might have undesirable side-effects on some compilers, please report!
ocornut de37a0bfab Internals: fix potential warning. Comments around include sections. Moved a few bits.
ocornut 1b5b87a40e Internals: Added #define NOMINMAX before windows.h include for single-compile-unit builds.
ocornut 0850b46c88 ImDrawList: Internals: Added IM_DRAWLIST_ARCFAST_TESSELLATION_MULTIPLIER setting.
ocornut b029182a73 Merge branch 'features/unicode'
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).
ocornut a41332453e Unicode: Changelog, comments, minimum CI integration. (, , )
omar 0283a6e566 ImFont: Demo, Store Used4kPagesMap[] map in ImFont to facilitate iteration on all codepoints with a large value of IM_UNICODE_CODEPOINT_MAX. ()
Demo uses IsGlyphRangeUnused()
Sam Hocevar c8ea0a017d Unicode: UTF32 support improvements (, , )
- 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
Cloud Wu 6d59653e82 Unicode: full Unicode Support (6 squashed commits) (, )
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
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.
ocornut 602df11f19 Internals: Refactor: Moved item width/size functions to Layout section.
ocornut 6c1810e503 Internals: Refactor: Moved cursor position functions to Layout section.
ocornut 3ce26f65d4 Internals: Refactor: Moved ItemAdd(), ItemSize(), BeginGroup(), EndGroup(), SameLine(), Indent(), Unindent() to Layout section.
ocornut caca55c642 Internals: Refactor: Moved code into a Styling section and some code into the Error Handling section.
ocornut 2679bee28d Internals: Refactor: Moved code out of NewFrame() into UpdateTabFocus() and UpdateSettings()
omar 095dc996b0 Disable deprecated-enum-enum-conversion (, )
omar 628614c6ea Demo: Remove unnecessary code added by 24bd33ac.
ocornut 24bd33ace8 Menus: Some renaming, comments, add to demo. Amend 0342a3c. ()
Rokas Kupstys 0342a3c548 Menus: Implement BeginMenu() appending to existing menu when executed with same ID multiple times. ()
ocornut 898e91f20d Internals: Added TempInputText() to facilitate creation of custom widgets, renamed TempInputTextScalar() to TempInputScalar() etc. ()
+ Minor imgui.h/todo comments
ocornut e547f898a9 Demo: Added color gradient in demo to identify srgb/linear issues better. Tweaks.
ocornut 0345324646 Backends: SDL: Fixed mapping for ImGuiKey_KeyPadEnter. () [@Davido71]
ocornut 02a6c06080 Window: Fixed a bug with child window inheriting ItemFlags from their parent when the child window also manipulate the ItemFlags stack. () [@Stanbroek]
Amend f843facba4 and 8828889d5e
Omar ea3fc76038 BeginMenu: Fixed a bug where SetNextWindowXXX data before a BeginMenu() would not be cleared when the menu is not open. ()
Omar 8836975dcf Drag and Drop, Nav: Disabling navigation arrow keys when drag and drop is active. ()
Omar b62f1ea8e9 Fix zealous PVS studio warnings. Minor tweaks.
Omar 09329ea4e6 Fix Clang 9.0 zealous warnings
Omar ceec3cd3fd Backends: Win32: Added ImGui_ImplWin32_EnableDpiAwareness(), ImGui_ImplWin32_GetDpiScaleForHwnd(), ImGui_ImplWin32_GetDpiScaleForMonitor() helpers functions.
(backported from the docking branch)
Omar 8601187fee Backends: Win32: Clarify how the WndProc handler requires a forward declaration.
omar f339b24b3a
Links, alphabetical order
omar 2bc3a92f96
Update README.md
omar b4ac420fc5 Demo: Amend d284a6c (, )
omar d284a6cffc InputText: Fixed password fields displaying ASCII spaces as blanks. Fixed non-ASCII space occasionally creating unnecessary empty polygons. (, )
omar ccaec1a270 Version 1.76 WIP