Commit Graph

6785 Commits (3d85433748adbd1a542c1b2db03ee92a28e2c10b)
 

Author SHA1 Message Date
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. ()
omar 0a23582718 Examples: VS projects: Removed inconsistent/extraneous explicit linkage to imm32.
omar 0e89041997 Internals: ButtonEx, ButtonBehavior can support multiple mouse buttons.
omar 5f4dfad5b7 Merge misc/shallow changes from Docking to reduce drift.
Most are comments. Fix menu bar clipping: 07ff47bf1b
omar 6c1a73774d Tooltip: Testing DragDropWithinSourceOrTarget in BeginTooltipEx() instead of just BeginTooltip() - feel this was an overlook. Added tooltip flags instead of using bool.
omar 4d4e3b97f4 TODO, Readme
(dropped TreeNode_NoIndent flag from todo, as it feels unnecessary)
Konstantin Podsvirov b887259974 Bindings: Improved FreeGLUT support for MinGW ()
omar f6da5000bf Backends: OpenGL2: Explicitly backup, setup and restore GL_TEXTURE_ENV to increase compatibility with legacy OpenGL applications. ()
omar 5363af7f47 AddCircle, AddCircleFilled: Add auto-calculation of circle segment counts (amends)
Tweak default max error value, Changelog, comments, path-fast for 12 segments circles, made LUT store ImU8