Commit Graph

6693 Commits (b38af0f52279e7066c9cd653ea89e22925b5a609)
 

Author SHA1 Message Date
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
omar 30bb15672d Remove trailing spaces
omar 70975fe44d Demo: Added a black and white gradient to Demo>Examples>Custom Rendering.
omar d8948b5343 ColorButton: Added ImGuiColorEditFlags_NoBorder flag to remove the border normally enforced by default.
Rokas Kupstys 21b9e42964 Minor fixes to example_sdl_metal and a changelog entry.
Add example_sdl_metal to CI builds.

Closes .
coding_jackalope f346b4b302 Examples: SDL+Metal example.
omar d16c87a5b1 Internals: Minor renaming
omar 58b3e02b95 Version 1.75
Comments
omar d37d25470a Added IMGUI_DISABLE compile-time definition to make all headers and sources empty.
omar f694244dec InputText: Fix using a combination of _CallbackResize + _EnterReturnsTrue + lack of persisting user storage. ()
Amend 24ff25981 (, , )
omar bdbb2b21f5 Fix 83efdcec from overflowing buffer + make it a single undo records + comments ()
Rokas Kupstys 83efdcec8d Canceling text input with [esc] key uses stb_textedit facilities to restore original value. This makes restoration undoable using hotkeys.
Fixes .
omar 5a437f198c Internals: GetItemStatusFlags(). Added Comments.
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.
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.
omar fb257eef3e Internals: Update ->RootWindow and other links before applying the SetNextWindowXXX stuff. This is so FocusWindow() can always assume that ->RootWindow != NULL.
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. ()
omar d19297e2fa InputTextMultiline: Provide label to BeginChildEx so internal window name hold a little more context.
omar 47fab0e166 Misc renaming, comments. Docs: add missing spacing to Changelog.
Rokas Kupstys 9cff4d6e5e Columns: ImDrawList::Channels* functions now work inside columns.
Use a private splitter in columns, paving way for removal of obsolete ImDrawList::Channels* functions.
omar 05a49f0413 Examples: Emscripten: Demonstrating embedding fonts in Makefile and code. () [@Oipo]
Konstantin Podsvirov 8cbb693f47 Emscripten: Allow filesystem support. ()
Filesystem functions perfectly work for Emscripten platform. This changes remove extra changes added by .
You can still disable filesystem functions by defining IMGUI_DISABLE_FILE_FUNCTIONS.
omar 6e1f8be07b Window: Fix SetNextWindowBgAlpha(1.0f) failing to override alpha component. ()