omar
23c1ff4907
Removed redirecting functions/enums names that were marked obsolete in 1.52 (October 2017).
...
- Begin() [old 5 args version] -> use Begin() [3 args], use SetNextWindowSize() SetNextWindowBgAlpha() if needed
- IsRootWindowOrAnyChildHovered() -> use IsWindowHovered(ImGuiHoveredFlags_RootAndChildWindows)
- AlignFirstTextHeightToWidgets() -> use AlignTextToFramePadding();
- SetNextWindowPosCenter() -> use SetNextWindowPos() with a pivot of (0.5f, 0.5f)
- ImFont::Glyph -> use ImFontGlyph
If you were still using the old names, read "API Breaking Changes" section of imgui.cpp to find out the new names or equivalent features, or see how they were implemented until 1.73.
ago%!(EXTRA string=6 years)
omar
048b73dfaa
Various comments + Doc: Examples readme. Moved main menu bar code below menu bar code.
ago%!(EXTRA string=6 years)
omar
7dbae8a198
Doc: Simplified Readme, removed FAQ index
ago%!(EXTRA string=6 years)
omar
6ffee0e75e
Backends: DX12: Added extra ID3D12DescriptorHeap parameter to ImGui_ImplDX12_Init() function. The value is unused in master branch but will be used by the multi-viewport features (docking branch). ( #2851 )
...
+ Using SafeRelease() in master.
ago%!(EXTRA string=6 years)
omar
eedc8f993f
Examples: DX12: Using IDXGIDebug1::ReportLiveObjects() when DX12_ENABLE_DEBUG_LAYER is enabled.
ago%!(EXTRA string=6 years)
malte-v
4de32cc87e
Backends: GLFW: Restore previously installed user callbacks in ImplGlfw when ImGui shuts down ( #2836 )
ago%!(EXTRA string=6 years)
Rokas Kupstys
714fe29d1a
Replace manual flooring with IM_FLOOR() macro. ( #2850 )
...
Macro is used to ensure that flooring operation is always inlined even in debug builds. __forceinline does not force inlining in /Od builds with MSVC.
(cherry picked from commit bc165df6fd7969605bbc07b8a6d3d28f9109e8f3)
ago%!(EXTRA string=6 years)
omar
53278be61f
FAQ, Readme. Use = {} instead of = { 0 }, wasn't problematic because they were all static variables or one stack array not read. But hey.
ago%!(EXTRA string=6 years)
omar
9994f5bcbe
Fixed more FAQ links, oops.. ( #2848 )
ago%!(EXTRA string=6 years)
omar
3bbc27ebd9
Fixed more FAQ links. ( #2848 )
ago%!(EXTRA string=6 years)
omar
5fc427a49e
Improved and moved FAQ to docs/FAQ.md so it can be readable on the web. ( #2848 )
ago%!(EXTRA string=6 years)
Rokas Kupstys
9d6b2b096b
Ignore directories created by JetBrains IDEs.
...
(cherry picked from commit c470de572c2f63e7ba5eeb7d97bc1f4bc114b375)
ago%!(EXTRA string=6 years)
Rokas Kupstys
6892b81578
Remove trailing spaces from bunch of files.
...
(cherry picked from commit 50e0f8d4ddf4c426f62f346c8260a927f6b7c779)
ago%!(EXTRA string=6 years)
omar
c21fdabb43
Doc: Readme: moving contents to FAQ.
ago%!(EXTRA string=6 years)
omar
a41f0b2df4
Inputs: Fixed a miscalculation in the keyboard/mouse "typematic" repeat delay/rate calculation, used by keys and e.g. repeating mouse buttons as well as the GetKeyPressedAmount() function.
...
IMPORTANT: Renamed internal CalcTypematicPressedRepeatAmount to CalcTypematicRepeatAmount and reordered the t1, t0 arguments to t0, t1 !!
If you were using a non-default value for io.KeyRepeatRate (previous default was 0.250), you can add +io.KeyRepeatDelay to it to compensate for the fix. The function was triggering on: 0.0 and (delay+rate*N) where (N>=1). Fixed formula responds to (N>=0).
Effectively it made io.KeyRepeatRate behave like it was set to (io.KeyRepeatRate + io.KeyRepeatDelay).
Fixed the code and altered default io.KeyRepeatRate,Delay from 0.250,0.050 to 0.300,0.050 to compensate.
If you never altered io.KeyRepeatRate nor used GetKeyPressedAmount() this won't affect you.
ago%!(EXTRA string=6 years)
omar
c7bdec7e18
InputText, Nav: Fixed Left!Right keys broken when activating Keyboard Navigation. ( #787 ) Amend 892dfb1
ago%!(EXTRA string=6 years)
omar
67e4cd5cc6
Comments, some logging for NavInitRequest debugging Moved OpenPopupOnItemClick() next to BeginPopupContextItem()
ago%!(EXTRA string=6 years)
omar
8c4dcbfa45
Diligent Engine
ago%!(EXTRA string=6 years)
omar
23eabd5991
Emscripten
ago%!(EXTRA string=6 years)
omar
58411033e2
Bindings
ago%!(EXTRA string=6 years)
omar
1c73a0c17e
Bindings
ago%!(EXTRA string=6 years)
omar
cba84df7b5
Update README.md
ago%!(EXTRA string=6 years)
omar
aeb6481499
InputText: Filter out Ascii 127 (DEL) emitted by low-level OSX layer, as we are using the Key value. ( #2578 )
ago%!(EXTRA string=6 years)
omar
fc10ba8d24
Amend f0238ece9cba67ecabef438008fea53682bd6bc7 ( #2817 , #2818 )
ago%!(EXTRA string=6 years)
Egor Yusov
378035c6ff
Fixed backspace handling on MacOS (fixed https://github.com/ocornut/imgui/issues/2817 ).
...
Allow null view passing as parameter to ImGui_ImplOSX_NewFrame
ago%!(EXTRA string=6 years)
omar
bf746c4215
DragScalar, SliderScalar, InputScalar: Added p_ prefix to parameter that are pointers to the datato clarify how they are used, and more comments redirecting to the demo code. ( #2844 )
ago%!(EXTRA string=6 years)
omar
927472f5ff
Combo: Added _NoMove flag to prevent window from docking, which has an effect in Docking branch (in Master was not noticeable as the Combo code kept repositioning the window). ( #2835 )
ago%!(EXTRA string=6 years)
omar
3b271b1847
Demo: Added simple item reordering demo in Widgets -> Drag and Drop section. ( #2823 , #143 ) [ @rokups ]
ago%!(EXTRA string=6 years)
omar
8aad3482a4
ImVector: Fixed index_from_ptr() not asserting when passed end() element.
ago%!(EXTRA string=6 years)
Harris Brakmic
323412dd23
Examples: Allegro5: updated build instructions for macOS
ago%!(EXTRA string=6 years)
omar
73fa6509a5
Internal: InputTextEx: tweaked a bit of code (should be a no-op)
ago%!(EXTRA string=6 years)
omar
f1f321d3f6
Update README.md
ago%!(EXTRA string=6 years)
omar
ee3373d067
TreeNode: Fixed combination of ImGuiTreeNodeFlags_SpanFullWidth and ImGuiTreeNodeFlags_OpenOnArrow incorrectly locating the arrow hit position to the left of the frame. ( #2451 , #2438 , #1897 )
ago%!(EXTRA string=6 years)
domgho
ccb2a947a2
Internal: SliderBehaviorT: Condition '!is_decimal' is always true ( #2828 )
ago%!(EXTRA string=6 years)
omar
1425bec7a4
Demo: Text baseline demo tweaks.
ago%!(EXTRA string=6 years)
omar
a6c3be4bda
Internals: Tweaks to ItemSize() should be harmless. Added DebugDrawItemRect() helper.
ago%!(EXTRA string=6 years)
omar
892dfb1dea
InputText, Nav: Fixed Home/End key broken when activating Keyboard Navigation. ( #787 )
...
Small refactor of ActiveIdUsingXXX inputs flags toward a little more consistent system. (#2637 )
ago%!(EXTRA string=6 years)
omar
a2f3dcfc97
Added comment about SDL and SDL_INIT_GAMECONTROLLER. ( #2809 )
ago%!(EXTRA string=6 years)
Denys Nahurnyi
893056a209
Fix syntax typos in README ( #2819 )
ago%!(EXTRA string=6 years)
omar
eb5223276c
Update README.md
ago%!(EXTRA string=6 years)
omar
0dad3f436b
Fix harmless float calculation overflow. ( #2813 )
ago%!(EXTRA string=6 years)
omar
c262276988
Version 1.74 WIP
ago%!(EXTRA string=6 years)
Konstantin Podsvirov
f0f5301612
Backends: OpenGL3: Commented out extra tokens at end of #else directive ( #2804 )
ago%!(EXTRA string=6 years)
omar
688cf868ea
Merge branch 'master' of https://github.com/ocornut/imgui
ago%!(EXTRA string=6 years)
omar
d5efe16157
Version 1.73
ago%!(EXTRA string=6 years)
omar
293f74e996
Update README.md
ago%!(EXTRA string=6 years)
omar
664f9e76b9
Documentation: Various tweaks and improvements to the README page. [ @ker0chan ]
ago%!(EXTRA string=6 years)
goran-w
e100523917
CollapsingHeader: Added support for ImGuiTreeNodeFlags_Bullet and ImGuiTreeNodeFlags_Leaf on framed nodes. ( #2159 , #2160 )
...
The Bullet and Leaf ImGuiTreeNodeFlags are now taken into account for Framed/CollapsingHeader tree nodes as well. TreeNodeEx() can be used to specify these flags. A choice was made to left-adjust the Framed text when no Bullet/Arrow is rendered, since this was deemed to look better in the Framed context (especially when considering that CollapsingHeader is drawn using NoTreePushOnOpen, so child/sibling Text items etc will often be non-indented).
ago%!(EXTRA string=6 years)
omar
ca858c084b
Demo tweaks. Comments. Compacting the rarely used AutoFitXXX fields in ImGuiWindowTempData.
ago%!(EXTRA string=6 years)
omar
52deb415e0
Internal: Refactored internal RenderMouseCursor so colors can be specified. ( #2614 )
ago%!(EXTRA string=6 years)