omar
8495c931c0
mgui.h: Moved ImGuiInputTextCallbackData,, ImGuiSizeCallbackData, ImGuiPayload structures so they are not in the "Helpers" section.
ago%!(EXTRA string=7 years)
omar
d27ffefbd4
Version 1.67 WIP
ago%!(EXTRA string=7 years)
omar
da3c4330c1
Version 1.66
ago%!(EXTRA string=7 years)
omar
19b4fcdacb
Made IsWindowFocused() work outside of NewFrame()-EndFrame() and added comments about how ImGuiFocusedFlags_AnyWindow should NOT be used in place of io.WantCaptureMouse. ( #2185 )
ago%!(EXTRA string=7 years)
Konstantin Podsvirov
faecf90383
SliderAngle: Added optional `format` argument to allow users customize precision and make localization. ( #2150 )
ago%!(EXTRA string=7 years)
omar
a72d5ada61
Misc comments improvements
ago%!(EXTRA string=7 years)
omar
000c1fc221
Demo: Added comments / tweaks related to the popups.
ago%!(EXTRA string=7 years)
omar
5be915d6ab
Added ImGuiWindowFlags_NoMouseInputs which is basically the old ImGuiWindowFlags_NoInputs (essentially we have renamed ImGuiWindowFlags_NoInputs to ImGuiWindowFlags_NoMouseInputs). Made the new ImGuiWindowFlags_NoInputs encompass both NoMouseInputs+NoNav, which is consistent with its description. ( #1660 , #787 )
ago%!(EXTRA string=7 years)
omar
90b50bd4c3
Window: Added ImGuiWindowFlags_NoBackground flag for consistency and to ease creating new flag combinations. Added ImGuiWindowFlags_NoDecoration helper flag which is essentially NoTitleBar+NoResize+NoScrollbar+NoCollapse. ( #1660 )
ago%!(EXTRA string=7 years)
Elias Daler
8606d9fa11
Fix Clang/GCC's null-conversion warning: ( #2081 )
...
The warning is "implicit conversion of NULL constant to 'unsigned int' [-Wnull-conversion]". Happens when ImTextureID is not a void*, but unsigned int, for example.
ago%!(EXTRA string=7 years)
omar
0fe48cbb61
Renamed misc/stl/imgui_stl.h,.cpp to misc/cpp/imgui_stdlib.h in prevision for other files.( #2035 , #2096 )
...
Added misc/README file.
ago%!(EXTRA string=7 years)
omar
74c0309126
InputText: Clarified comments around ImGuiInputTextFlags_CallbackResize and other callbacks. ( #2006 , #1443 , #1008 )
ago%!(EXTRA string=7 years)
omar
d02b11dfbd
ImGuiTextBuffer: Avoid heap allocation when empty.
ago%!(EXTRA string=7 years)
omar
1efafa1d29
Comments + internal using Tab Stop terminology (ImGuiItemFlags_NoTabStop instead of !ImGuiItemFlags_AllowKeyboardFocus)
ago%!(EXTRA string=7 years)
omar
e623be998d
Drag and Drop: Added GetDragDropPayload() to peek directly into the payload (if any) from anywhere. ( #143 )
ago%!(EXTRA string=7 years)
Loïc HAMOT
9aae21483a
Fix missing IMGUI_API and mismatching namespace internal's CreateNewWindowSettings ( #2105 )
ago%!(EXTRA string=7 years)
omar
61d94ff88e
Renamed SetScrollHere() to SetScrollHereY(). Kept redirection function (will obsolete).
ago%!(EXTRA string=7 years)
omar
a7d3ae8937
BeginChild(): Fixed BeginChild(const char*, ...) variation erroneously not applying the ID stack to the provided string to uniquely identify the child window. This was undoing an intentional change introduced in 1.50 and broken in 1.60. ( #1698 , #894 , #713 ) + reworked the Begin/BeginChild comments in imgui.h.
ago%!(EXTRA string=7 years)
omar
781a7950d7
ImVector: Fixed a oddly unqualified return type in the assignment operator (I assume C++ handles it nicely as this never warned anywhere, but it is completely unintentional).
ago%!(EXTRA string=7 years)
ice1000
201fcfd2e5
Internals: Replace unsigned short with ImWchar when dealing with character storage. ( #2078 )
ago%!(EXTRA string=7 years)
omar
eb7033e75b
Version 1.66 WIP
ago%!(EXTRA string=7 years)
omar
e0cab5664a
Version 1.65
ago%!(EXTRA string=7 years)
omar
65876f348a
Nav: Removed the [Beta] tag from various descriptions of the gamepad/keyboard navigation system. Although it is not perfect and will keep being improved, it is fairly functional and used by many. ( #787 )
ago%!(EXTRA string=7 years)
omar
77ba883f23
Renamed io.OptCursorBlink/io.ConfigCursorBlink to io.ConfigInputTextCursorBlink. ( #1427 ) + changed ImGuiIO layout.
ago%!(EXTRA string=7 years)
omar
bbcc976739
Demo: Added a "Configuration" block to make io.ConfigFlags/io.BackendFlags more prominent.
ago%!(EXTRA string=7 years)
omar
b944aa623c
Minor mostly inconsequential merges from Viewport + LoadIniSettingsFromMemory() entirely skip lines starting with ';'
ago%!(EXTRA string=7 years)
omar
bcb1441ce7
Version 1.65 WIP
ago%!(EXTRA string=7 years)
omar
48db5713d6
Version 1.64
ago%!(EXTRA string=7 years)
omar
f2aa124eb8
Version 1.64 WIP
ago%!(EXTRA string=7 years)
omar
9e0f24dcb6
Version 1.63
ago%!(EXTRA string=7 years)
omar
ec148988f0
Reordered some declarations in imgui.h (in prevision of 1.64 refactor)
ago%!(EXTRA string=7 years)
omar
a082692b0a
ImFontAtlas Comments ( #2042 ) + added ImGuiFontAtlas_None for consistency.
ago%!(EXTRA string=7 years)
omar
042f88e5f0
Removed obsolete redirection functions: CollapsingHeader() variation with 2 bools - marked obsolete in v1.49, May 2016.
ago%!(EXTRA string=7 years)
omar
3612885dea
Comments, demo
ago%!(EXTRA string=7 years)
omar
0810d57819
Renamed IsItemDeactivatedAfterChange() to IsItemDeactivatedAfterEdit() for consistency with new IsItemEdited() API. Kept redirection function (will obsolete fast as IsItemDeactivatedAfterChange() is very recent). ( #820 , #956 , #1875 , #2034 )
ago%!(EXTRA string=7 years)
omar
e28b1078f5
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 )
ago%!(EXTRA string=7 years)
omar
102d5e6de6
Rearrange header comments to find enums easily + fixed inconsistent sorting.
ago%!(EXTRA string=7 years)
omar
ea9f5d7600
Added optional misc/stl/imgui_stl.h wrapper to use with STL types (e.g. InputText with std::string). ( #2035 , #2006 , #1443 , #1008 )
ago%!(EXTRA string=7 years)
omar
8d639ec60d
InputText: callback InsertChars() support resize callbacks correctly (followup to 24ff259
) + fixed demo to use those functions. ( #2006 , #1443 , #1008 ).
ago%!(EXTRA string=7 years)
omar
2dc5ec95d7
Internals: InputText: Renaming. Comments.
ago%!(EXTRA string=7 years)
omar
9f393c38e9
InputText: Renamed ImGuiTextEditCallback to ImGuiInputTextCallback, ImGuiTextEditCallbackData to ImGuiInputTextCallbackData for consistency. Kept redirection types (will obsolete).
ago%!(EXTRA string=7 years)
omar
24ff259816
InputText: Added support for buffer size/capacity changes via the ImGuiInputTextFlags_CallbackResize flag. ( #2006 , #1443 , #1008 ).
ago%!(EXTRA string=7 years)
omar
4de6e1f7e4
InputText: Internal renaming of some fields + final copy uses edit_state.CurLenA+1 instead of buf_size.
ago%!(EXTRA string=7 years)
omar
e6c78f9470
InputText: (Breaking change) removed ImGuiTextEditCallbackData::ReadOnly since it is a duplication of (ImGuiTextEditCallbackData::Flags & ImGuiInputTextFlags_ReadOnly) ( #211 )
ago%!(EXTRA string=7 years)
omar
5942c08143
Added IMGUI_VERSION_NUM for easy compile-time testing. ( #2025 )
ago%!(EXTRA string=7 years)
omar
8972ebae73
Metrics: Added io.MetricsActiveAllocations, moving away from the cross-context global counters than we previously used. ( #1565 , #1599 , #586 )
ago%!(EXTRA string=7 years)
omar
4e33aeed82
Selectable: Added ImGuiSelectableFlags_Disabled flag in the public API. ( #211 )
ago%!(EXTRA string=7 years)
omar
bc6ac8b2ae
Metrics: Changed io.MetricsActiveWindows to reflect the number of active windows (!= from visible windows), which is useful for lazy/idle render mechanisms as new windows are typically not visible for one frame.
...
Metrics: Added io.MetricsRenderWindow to reflect the number of visible windows.
ago%!(EXTRA string=7 years)
omar
cc64bd9e3c
Comments
ago%!(EXTRA string=7 years)
omar
87e2fea09d
Renamed io.OptResizeWindowsFromEdges to ConfigResizeWindowsFromEdges, io.OptCursorBlink to io.ConfigCursorBlink, io.OptMacOSXBehaviors to ConfigMacOSXBehaviors for consistency. ( #1427 , #1495 , #822 , #473 , #650 )
...
Demo: Exposed flags in Demo.
ago%!(EXTRA string=7 years)