Commit Graph

703 Commits (d29157ce584e731114ff09d448120e094307304f)

Author SHA1 Message Date
omar 673d6df85f Demo: Clamping font scale. Added helpers in demo. Comments. Update sponsors. ()
omar f152fac4f1 Demo: Wrapped many (not all) code and comments lines to 120 characters to fit below GitHub viewer limit. ()
omar 419f905f91 Demo: Extracted some code out of ShowStyleEditor() into NodeFont().
Ryan Pavlik 8cbff5ccb2 Fix various typos. ()
(found by Debian's lintian on a package that uses imgui.)
(found by codespell.)
omar 54b38d88f7 TreeNode: Fixed bug where BeginDragDropSource() failed when the _OpenOnDoubleClick flag is set. Added basic demo code. (Amend 05420ea)
omar e8c986b34e Version 1.77 WIP
omar 5503c0a12e Version 1.76
+ fixed PVS warning, update demo binaries, update readme image
omar ec2a24a5f1 Selectable: Allow using ImGuiSelectableFlags_SpanAllColumns in other columns than first. Comments. ()
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()
omar 628614c6ea Demo: Remove unnecessary code added by 24bd33ac.
ocornut 24bd33ace8 Menus: Some renaming, comments, add to demo. Amend 0342a3c. ()
ocornut e547f898a9 Demo: Added color gradient in demo to identify srgb/linear issues better. Tweaks.
Omar b62f1ea8e9 Fix zealous PVS studio warnings. Minor tweaks.
Omar 09329ea4e6 Fix Clang 9.0 zealous warnings
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 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.
omar 58b3e02b95 Version 1.75
Comments
omar d37d25470a Added IMGUI_DISABLE compile-time definition to make all headers and sources empty.
omar 47fab0e166 Misc renaming, comments. Docs: add missing spacing to Changelog.
omar 5f4dfad5b7 Merge misc/shallow changes from Docking to reduce drift.
Most are comments. Fix menu bar clipping: 07ff47bf1b
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
Ben Carter 051ce0765e AddCircle, AddCircleFilled: Add auto-calculation of circle segment counts
omar e499497ec5 Backends: Win32: Added support for io.KeySuper (Windows key) for consistency with other backends. ()
Even if realistically it is difficult to make good use of under Windows.
+ Style editor: Use a more explicit form of RadioButton() to avoid being depending on underlying flags type. ()
omar 9ad4c5da7e Fix zealous warnings + Internals: Renamed members from XxxxID to XxxxxId to be more consistent with rest of the codebase (still some inconsistency left that are harder to fix)
omar ff5299e0e0 Docs: FAQ, Comments.
omar 4b3c5ff5f1 Comments + minor moving
omar d581939387 Removed trailing spaces.
omar dc66f83db8 Additional duplicated comments about usage of std::string and input text resize callback (, , )
omar 3a800f2dc9 DragFloat: Mention usage of FLT_MAX, INT_MAX etc. explicitly. ()
Ben Carter 0e74103659 ImDrawList: Add AddNgon(), AddNgonFilled() API.
omar f9c26d23de Removed redirecting functions/enums that were marked obsolete in 1.53 (December 2017).
Comments
omar e4a59d0025 TabItem: honor ImGuiTabItemFlags_NoCloseButton passed as parameter (although undocumented and part of private api) ()
omar b521cd357d Removed implicit default parameter to IsMouseDragging(int button = 0) to be consistent with other mouse functions.
(none of the other functions have it).
omar 8342e5b91a Amend previous commits (added ImGuiMouseCursor_NotAllowed enum + new cursors in GLFW 3.4)
Amend b5cad20d79, 945a509773
+ unrelated minor typos
omar abaf0256b8 Version 1.75 WIP
Added message to font file loading assert.
omar bdce833636 Version 1.74
omar 26d177bc03 Docs: Moved misc/fonts/README.txt to docs/FONTS.txt. + tweaks
omar bbe0409942 Metrics: Show wire-frame mesh and approximate surface area when hovering ImDrawCmd. Amend aeb5795.
Internals: Added ImTriangleArea()
omar 0cb1c633ff Demo: tweaked demo help section, reference to "Examples" and "Tools". Reference to Keyboard navigation. Removed some of the more "obvious/standard" controls.
omar 51a02b319c Added IM_UNICODE_CODEPOINT_MAX. Changed specs of ImFontAtlas::AddCustomRectRegular() (breaking change).
omar ecbedc8c26 Tweaks, ammend 93efa54, rename to IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS ()
omar 4e90906b04 Added IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS / IMGUI_DISABLE_FILE_FUNCTIONS )
Using in Emscripten example.
omar 93efa5415f Renamed IMGUI_DISABLE_FORMAT_STRING_FUNCTIONS to IMGUI_DISABLE_DEFAULT_FORMAT_STRING_FUNCTIONS. ()
Renamed IMGUI_DISABLE_MATH_FUNCTIONS to IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS.
omar 6e8e2c0fa9 Scrollbar: Fixed an issue where scrollbars wouldn't display on the frame following a frame where all child window contents would be culled.
Demo: Fixed a small bug with scrolling demo.
Metrics: Tweaks.
omar 57dc34f4e8 TreeNode: Added IsItemToggledOpen() to explicitly query if item was just open/closed, facilitating interactions with custom multi-selections patterns. (, )
Sam Hocevar 0b2d35f63f Fix snprintf and vsnprintf definition inconsistencies.
omar 048b73dfaa Various comments + Doc: Examples readme. Moved main menu bar code below menu bar code.