2018-08-23 |
Added IsItemEdited() to query if the last item modified its value (or was pressed). This is equivalent to the bool returned by most widgets. It is useful in some situation e.g. using InputText() with ImGuiInputTextFlags_EnterReturnsTrue. (#2034)
omar
committed
on 23 Aug 2018
|
---|---|
2018-08-22 |
Internals: Wired a ImGuiItemStatusFlags_ValueChanged into ItemStatusFlags, for an hypothetical IsItemValueChanged() function. (#2034)
omar
committed
on 22 Aug 2018
|
Rearrange header comments to find enums easily + fixed inconsistent sorting.
omar
committed
on 22 Aug 2018
|
|
InputText: Improved sturdiness if the ResizeCallback purposefully modify data->BufTextLen or data->BufSize. (#2006, #1443, #1008)
omar
committed
on 22 Aug 2018
|
|
InputText: Fix ResizeCallback callback on restoring initial value with Escape key. Avoid over-allocating for InitialText storage. (#2006, #1443, #1008)
omar
committed
on 22 Aug 2018
|
|
Added optional misc/stl/imgui_stl.h wrapper to use with STL types (e.g. InputText with std::string). (#2035, #2006, #1443, #1008)
omar
committed
on 22 Aug 2018
|
|
InputText: callback InsertChars() support resize callbacks correctly (followup to 24ff259) + fixed demo to use those functions. (#2006, #1443, #1008).
omar
committed
on 22 Aug 2018
|
|
InputText: Fixed a few pathological crash cases on single-line InputText widget with multiple millions characters worth of contents. Because the current text drawing function reserve for a worst-case amount of vertices and how we handle horizontal clipping, we currently just avoid displaying those single-line widgets when they are over a threshold of 2 millions characters, until a better solution is found.
omar
committed
on 22 Aug 2018
|
|
InputText: Fixed not tracking the cursor horizontally When modifying the text buffer through a callback.
omar
committed
on 22 Aug 2018
|
|
ImDrawList: Large text passed to AddText() are being scanned for their end in order to avoid pre-reserving too many vertices.
omar
committed
on 22 Aug 2018
|
|
Internals: InputText: Renaming. Comments.
omar
committed
on 22 Aug 2018
|
|
InputText: Renamed ImGuiTextEditCallback to ImGuiInputTextCallback, ImGuiTextEditCallbackData to ImGuiInputTextCallbackData for consistency. Kept redirection types (will obsolete).
omar
committed
on 22 Aug 2018
|
|
2018-08-21 |
InputText: Added support for buffer size/capacity changes via the ImGuiInputTextFlags_CallbackResize flag. (#2006, #1443, #1008).
omar
committed
on 21 Aug 2018
|
InputText: Internal renaming of some fields + final copy uses edit_state.CurLenA+1 instead of buf_size.
omar
committed
on 21 Aug 2018
|
|
InputText: Fixed minor off-by-one issue when submitting a buffer size smaller than the initial zero-terminated buffer contents.
omar
committed
on 21 Aug 2018
|
|
InputText: (Breaking change) removed ImGuiTextEditCallbackData::ReadOnly since it is a duplication of (ImGuiTextEditCallbackData::Flags & ImGuiInputTextFlags_ReadOnly) (#211)
omar
committed
on 21 Aug 2018
|
|
Added IMGUI_VERSION_NUM for easy compile-time testing. (#2025)
omar
committed
on 21 Aug 2018
|
|
2018-08-20 |
Added links to Discourse forums.
omar
committed
on 20 Aug 2018
|
Internals: Moved code out of SliderBehaviorT to reduce code bloat and also because caller may have use for the grab_bb for styling purposes.
omar
committed
on 20 Aug 2018
|
|
2018-08-17 |
Internals: Added ImTextCountUtf8BytesFromChar() helper.
omar
committed
on 17 Aug 2018
|
SplitterBehavior: Fix for when the sizes are already under the minimum desired size.
omar
committed
on 17 Aug 2018
|
|
2018-08-16 |
Fixed assertion when transitioning from an active ID to another within a group, affecting ColorPicker (broken in 1.62). Made ActiveIdIsAlive track the actual ID to avoid incorrect polling in BeginGroup/EndGroup when the ID changes within the group. (#2023, #820, #956, #1875).
omar
committed
on 16 Aug 2018
|
2018-08-15 |
Metrics: Added io.MetricsActiveAllocations, moving away from the cross-context global counters than we previously used. (#1565, #1599, #586)
omar
committed
on 15 Aug 2018
|
2018-08-13 |
Nav: NavWindowingList doesn't save to .ini file. TODO entries.
omar
committed
on 13 Aug 2018
|
2018-08-09 |
Internals: Extracted RenderMouseCursor() out of EndFrame(). Moved to imgui_draw.cpp along with RenderArrowPointingAt(). Comments. (#2013)
omar
committed
on 9 Aug 2018
|
Examples: Cast to ImTextureID instead of void* when assigning to TexId. Applied to all examples. (#2015)
omar
committed
on 9 Aug 2018
|
|
imgui_impl_opengl3: Advertised as a ES2/ES3 renderer. Defaults to ES3 on Android. Default on "#version 300 es" on ES 3. (#2002, #1873)
omar
committed
on 9 Aug 2018
|
|
2018-08-08 |
Nav: Made CTRL+TAB skip menus + skip the current navigation window if is has the ImGuiWindow_NoNavFocus set. (#787)
...
omar
committed
on 8 Aug 2018
|
2018-08-06 |
Use literals in place of LLONG_MIN, LLONG_MAX ULLONG_MAX if they are not available. Amend
498c0dc . We prefer using the defines if available in limits.h because they somehow tend to work without warnings when enabling strict C++03 compilation. The 3 literals are fallbacks.. (#1926).
omar
committed
on 6 Aug 2018
|
2018-08-05 |
Internals: Minor renaming for consistency.
omar
committed
on 5 Aug 2018
|