History for imgui / imgui.cpp
2019-05-29
@omar
Switched to using a variant of fnv1a hash function instead of CRC32. Hashing is roughly 50% faster (assuming the CRC32 table was already in cache), and mostly the main benefit of this change is we don't waste 1KB of cache for the CRC32 table, ultimately improving performances everywhere by a small margin.
omar committed on 29 May 2019
@omar
Renamed ImGuiBackendFlags_HasVtxOffset to ImGuiBackendFlags_RendererHasVtxOffset to match naming convention already used in viewport/docking branch. (#2591) + Fix OpenGL3 code missing flag.
omar committed on 29 May 2019
@omar
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. ...
omar committed on 29 May 2019
@omar
ImDrawList: Store initial flags for the frame in ImDrawListSharedData, reducing code duplication in setting up the flags.
omar committed on 29 May 2019
2019-05-28
@omar
Internal: Renamed InnerMainRect to InnerVisibleRect. Printing coordinates in Metrics window.
omar committed on 28 May 2019
2019-05-27
@omar
Added full "Dear ImGui" prefix to the title of "Dear ImGui Demo" and "Dear ImGui Metrics" windows. Shortened amount of nodes in columns>tree demo.
omar committed on 27 May 2019
2019-05-24
@omar
Style: Added style.WindowMenuButtonPosition (left/right, defaults to ImGuiDir_Left) to move the collapsing/docking button to the other side of the title bar.
omar committed on 24 May 2019
@omar
Internal: CloseButton takes an upper-left corner + a size to be consistent with similar widgets.
omar committed on 24 May 2019
2019-05-22
@omar
Internals: Added InnerWorkRect equal to old InnerClipRect, added InnerWorkRectClipped actually clipped.
omar committed on 22 May 2019
@omar
Fix OuterRectClipped not being clipped correctly, which resulted in child window outside visible bound to not be marked with SkipItems. Broken in b50c61c. ...
omar committed on 22 May 2019
2019-05-21
@omar
Fixed crash when appending with BeginMainMenuBar() more than once and no other window are showing. (#2567) + comments
omar committed on 21 May 2019
2019-05-20
@omar
BeginPopupContextItem(): Skip processing when SkipItems is set as LastItemId is unreliable and we assert when it is zero. + Minor comments on columns.
omar committed on 20 May 2019
2019-05-19
@omar
Fixed GCC mem-access warnings (#2565) ...
omar committed on 19 May 2019
2019-05-18
@omar
Update changelog, comments, made empty/no-text clipboard return NULL as with other implementation. Minor style tweaks. (#2546) ...
omar committed on 18 May 2019
@Andrew Willmott
Add native mac copy/paste support to match win32 (#2546)
Andrew Willmott authored on 18 May 2019 omar committed on 18 May 2019
2019-05-13
@omar
Fixed uses of IsItemDeactivated(), IsItemDeactivatedAfterEdit() on multi-components widgets and after EndGroup(). (#2550, #1875)
omar committed on 13 May 2019
@omar
Internal: Renamed fields + minor tweaks (probably shallow break stack-layout pr, sorry!)
omar committed on 13 May 2019
@omar
Internal: Removed GetNextItemWidth(), relying on ItemAdd or NextItemData.ClearFlags() to clear the width data. Amend 5078fa20 and undo some of its effects of imgui_widgets.cpp
omar committed on 13 May 2019
@omar
Renamed SetNextTreeNodeOpen() to SetNextItemOpen(). Refactored SetNextItemXXX stuff to match SetNextWindowXXX code closely.
omar committed on 13 May 2019
@omar
Internal: Storing flags for NextWindowData so that we can clear everything with a single write and remove dummy condition fields.
omar committed on 13 May 2019
@omar
Internal: Minor tidying/reordering of sections within ImGuiContext / window DC.
omar committed on 13 May 2019
2019-05-12
@omar
Tweak EndGroup() to facilitate fixing #2550 later (currently should have no side-effect0. Demo: Add extra widget to status query test.
omar committed on 12 May 2019
2019-05-11
@omar
Cast ImTextureId to void* before printing in Metrics window. (#2548)
omar committed on 11 May 2019
@omar
IO: changed AddInputCharacter(unsigned short c) signature to AddInputCharacter(unsigned int c). ...
omar committed on 11 May 2019
2019-05-10
@omar
Internal: Extracted some of the Begin code into RenderWindowDecorations().
omar committed on 10 May 2019
@omar
Internal: Extracted some of the Begin code into RenderWindowTitleBarContents().
omar committed on 10 May 2019
@omar
Internal: Begin: Update rectangles before Scrollbar() which now uses them. Fixes 39eeda0.
omar committed on 10 May 2019
2019-05-09
@omar
Internals: Columns: Renamed fields. Comments and tweak. Moved a demo block.
omar committed on 9 May 2019
@omar
Internal: Refactored Separator into SeparatorEx(), exposed ImGuiSeparatorFlags_SpanAllColumns in imgui_internal.h and support without. (#759) + misc comments
omar committed on 9 May 2019
@omar
Columns: Fixed Separator from creating an extraneous draw command. Fixed Selectable with SpanAllColumns flag from creating an extraneous draw command. (#125)
omar committed on 9 May 2019