1407 Commits (b9874a24233bdc8b7a25c6107a6ae9bffea3477e)

Author SHA1 Message Date
omar b9874a2423 Comments about obsoleted features version. Todo. Clarify tab bar initial offset (useful if we decide to remove the half-windowpadding clip margin). ago%!(EXTRA string=6 years)
omar f1f4b42d91 ImDrawListSplitter: extracted out of ImDrawList. Down the line we may obsolete the ImDrawList functions and encourage users to store the splitter aside, in the meanwhile ImDrawList holds a splitter. ago%!(EXTRA string=6 years)
omar 7755cbbef2 Renamed ImGuiBackendFlags_HasVtxOffset to ImGuiBackendFlags_RendererHasVtxOffset to match naming convention already used in viewport/docking branch. (#2591) + Fix OpenGL3 code missing flag. ago%!(EXTRA string=6 years)
omar d1e8b698d0 ImDrawList: Added ImDrawCmd::VtxOffset value to support large meshes (64k+ vertices) using 16-bits indices. To enable the feature, the renderer back-end needs to set 'io.BackendFlags |= ImGuiBackendFlags_HasVtxOffset' and honor the ImDrawCmd::VtxOffset field. Otherwise the value will always be zero. This has the advantage of preserving smaller index buffers and allowing to execute on hardware that do not support 32-bits indices. ago%!(EXTRA string=6 years)
omar 40b9e5e0b4 ImDrawList: Store initial flags for the frame in ImDrawListSharedData, reducing code duplication in setting up the flags. ago%!(EXTRA string=6 years)
omar c487bc52a2 Fonts: Added some details about using custom colorful icons. ago%!(EXTRA string=6 years)
omar 9c35344175 Comments, todo entries, moved ImGuiSelectableFlagsPrivate in higher ranges to match others. ago%!(EXTRA string=6 years)
omar 958d75c00a Style: Added style.WindowMenuButtonPosition (left/right, defaults to ImGuiDir_Left) to move the collapsing/docking button to the other side of the title bar. ago%!(EXTRA string=6 years)
omar b85e97137d Version tag is 1.71 WIP oops ago%!(EXTRA string=6 years)
omar 34b881eb12 ImFontGlyphRangesBuilder: Fixed unnecessarily over-sized buffer, which incidentally was also not fully cleared. Fixed edge case overflow when adding character 0xFFFF. (#2568) ago%!(EXTRA string=6 years)
omar d3a387cc18 Fixed InputFloatX, SliderFloatX, DragFloatX functions erroneously reporting IsItemEdited() multiple times when the text input doesn't match the formatted output value (e.g. input "1" shows "1.000"). It wasn't much of a problem because we typically use the return value instead of IsItemEdited() here. (#1875, #2034) ago%!(EXTRA string=6 years)
omar 632469d2e5 Renamed SetNextTreeNodeOpen() to SetNextItemOpen(). Refactored SetNextItemXXX stuff to match SetNextWindowXXX code closely. ago%!(EXTRA string=6 years)
omar ef13d95466 IO: changed AddInputCharacter(unsigned short c) signature to AddInputCharacter(unsigned int c). ago%!(EXTRA string=6 years)
omar e29176df53 Internals: Columns: Renamed fields. Comments and tweak. Moved a demo block. ago%!(EXTRA string=6 years)
omar 42fc563fed Version 1.71 WIP + fixed minor typo ago%!(EXTRA string=6 years)
omar d1d5075b66 Version 1.70 ago%!(EXTRA string=6 years)
omar 526e2303bc Window: Fixed SetNextWindowSizeConstraints() with non-rounded positions making windows drift. (#2067, #2530) ago%!(EXTRA string=6 years)
omar 9c1f02a42c Misc: Made IMGUI_CHECKVERSION() macro also check for matching size of ImDrawIdx. ago%!(EXTRA string=6 years)
omar 2dc81057ec Selectable: With ImGuiSelectableFlags_AllowDoubleClick doesn't return true on the mouse button releas efollowing the double-click. Only first mouse release + second mouse down (double-click) returns true. Likewise for internal ButtonBehavior() with both _PressedOnClickRelease | _PressedOnDoubleClick. (#2503) ago%!(EXTRA string=6 years)
omar 5c1cd5c8c7 ImDrawCallback_ResetRenderState, Examples: Added support for reset render state callback. (#2037, #1639, #2452) ago%!(EXTRA string=6 years)
omar 3fbc0b7a9e Obsoleted GetContentRegionAvailWidth(), use GetContentRegionAvail().x instead. Kept inline redirection function. ago%!(EXTRA string=6 years)
omar 6db0766564 Misc comments, internal renaming, added disable indentation option to Columns demo section. ago%!(EXTRA string=6 years)
omar 16e9b8191b Increased IMGUI_VERSION_NUM arbitrarily, help narrowing down reports that don't include a commit hash. Add comments. ago%!(EXTRA string=6 years)
omar 5078fa208b Added SetNextItemWidth() helper to avoid using PushItemWidth/PopItemWidth() for single items. ago%!(EXTRA string=6 years)
omar f355a40367 Added commentary about ContentRegion functions. Added internal GetContentRegionMaxScreen() to facilitate internal code at the moment. ago%!(EXTRA string=6 years)
omar 1aeee9d40f Internals: Columns: Tweaks, renaming. Metrics: Show rectangles for child windows. ago%!(EXTRA string=6 years)
omar c8fd4afd75 Misc: Added IM_MALLOC/IM_FREE macros mimicking IM_NEW/IM_DELETE so user doesn't need to revert to using the ImGui::MemAlloc()/MemFree() calls directly. ago%!(EXTRA string=6 years)
omar bd351e9ac5 Misc: Added IM_MALLOC/IM_FREE macros mimicking IM_NEW/IM_DELETE so user doesn't need to revert to using the ImGui::MemAlloc()/MemFree() calls directly. ago%!(EXTRA string=6 years)
omar 512d39d031 Examples: OpenGL3: Minor tweaks, clarifications + not calling glBindBuffer more than necessary in the render loop. ago%!(EXTRA string=6 years)
omar 20188b19d6 Comments (#2441) + Freeglut fixes (#2430) ago%!(EXTRA string=6 years)
omar 221bf93a55 Comments, todo list, remove trailing spaces. ago%!(EXTRA string=6 years)
omar 857381b9ca GetMouseDragDelta(): also returns the delta on the mouse button released frame. Verify that mouse positions are valid otherwise returns zero. Removed obsolete comment. Tweaked demo. (#2419) ago%!(EXTRA string=6 years)
omar cf2c52282d Version 1.70 WIP ago%!(EXTRA string=6 years)
omar 55c02099c5 Version 1.69, comments, typos ago%!(EXTRA string=6 years)
omar a92c587c75 Added GetGlyphRangesVietnamese() helper. (#2403) ago%!(EXTRA string=6 years)
Bruce Mitchener 17c567c3a9 Don't use const qualified parameters in declarations. ago%!(EXTRA string=6 years)
Haldean Brown 79bb4ce128 Added ImGuiColorEditFlagsFlags_InputHSV. (#2383, #2384) ago%!(EXTRA string=6 years)
omar 66936880ba Moved placeholder sections to match Docking branch. Comments. ago%!(EXTRA string=6 years)
Bruce Mitchener 3b11505481 Fix typos. (#2411) ago%!(EXTRA string=6 years)
omar 1c23981782 Made ImS8 and ImS16 explicitly signed in case some crazy SDK decide to flip the signedness over. (#2408) ago%!(EXTRA string=6 years)
Lucas Lazare ab80ee6453 Added InputTextWithHint() (#2400) ago%!(EXTRA string=6 years)
omar ce4e62649a Internal: Tabbing: Tweaks to FocusableItemRegister and using the standard mechanism to allow/block Tab being interpreting by tabbing instead of InputText() widget. ago%!(EXTRA string=6 years)
omar 622a27506a Text: Fixed large Text/TextUnformatted call not declaring its size when starting below the lower point of the current clipping rectangle. Somehow this bug has been there since v1.0! It was hardly noticeable but would affect the scrolling range, which in turn would affect some scrolling request functions when called during the opening frame of a window. ago%!(EXTRA string=6 years)
omar f4dd990e38 Comments and Issue Template ago%!(EXTRA string=6 years)
omar 94e794f81b Renamed GetOverlayDrawList() to GetForegroundDrawList() for consistency. Kept redirection function (will obsolete). (#2391) ago%!(EXTRA string=6 years)
omar 96b13760d4 Added GetBackgroundDrawList() helper to quickly get access to a ImDrawList that will be rendered behind every other windows. (#2391) ago%!(EXTRA string=6 years)
omar 736d3e2654 DragScalar, InputScalar, SliderScalar: Added support for u8/s8/u16/s16 data types. We are reusing function instances for larger types to reduce code size. (#643, #320, #708, #1011) ago%!(EXTRA string=6 years)
omar 525a53a86b Comments ago%!(EXTRA string=6 years)
omar 6de09a5e48 Renamed ColorEdit/ColorPicker's ImGuiColorEditFlags_RGB/_HSV/_HEX flags to respectively ImGuiColorEditFlags_DisplayRGB/_DisplayHSV/_DisplayHex. This is anticipation of adding new flags to ColorEdit/ColorPicker functions which would make those ambiguous. (#2384) [@haldean] ago%!(EXTRA string=6 years)
haldean 8a2f6866a6 add _Show prefix to color flags that control inputs, rename __InputsMask to __ShowMask ago%!(EXTRA string=6 years)