stfx
6bf5aed325
Declaration and assignment can be joined, Member function may be 'const'. ( #2875 )
ago%!(EXTRA string=6 years)
Rokas Kupstys
c863c1f6a1
Clean up number rounding. Now it is more obvious what code is doing. ( #2862 )
...
Add IM_ROUND() macro
Replace IM_FLOOR(n + 0.5f) and ImFloor(n + 0.5f) with IM_ROUND(n)
ago%!(EXTRA string=6 years)
Sam Hocevar
0b2d35f63f
Fix snprintf and vsnprintf definition inconsistencies.
ago%!(EXTRA string=6 years)
omar
4e56de757c
Doc: Promote Discord over Discourse. Obsoleting Discourse server.
ago%!(EXTRA string=6 years)
omar
f002a11898
Backends: OpenGL3: Fix building with pre-3.2 GL bindings which do not expose glDrawElementsBaseVertex(), using runtime GL version to decide if we set ImGuiBackendFlags_RendererHasVtxOffset. ( #2866 , #2852 ) [ @dpilawa ]
ago%!(EXTRA string=6 years)
dawid
4d0c88e9e6
Backends: GL3: Fix compile for < 3.2 bindings where glDrawElementsBaseVertex is not available. ( #2866 , #2852 )
ago%!(EXTRA string=6 years)
omar
9b323a7ebf
SplitterBehavior: not using FrameRounding in render (was in first commit of the function, not sure why). ( #319 )
ago%!(EXTRA string=6 years)
omar
3c238ecae3
Move issue_template and pull_request_template to .github folder.
ago%!(EXTRA string=6 years)
Rokas Kupstys
d5b5a81946
GitHub Actions CI script for Windows/Linux/MacOS/iOS/Emscripten builds.
ago%!(EXTRA string=6 years)
Rokas Kupstys
24e9a6e92c
Remove .travis.yml due to switching to github actions.
ago%!(EXTRA string=6 years)
omar
ec0e953cca
Fixed a couple of subtle bounding box vertical positioning issues relating to text baseline alignment.
...
The issue would generally manifest when laying out multiple items on a same line, with varying heights and text baseline offsets. (#2833 )
Some specific examples, e.g. a button with regular frame padding followed by another item with a multi-line label and no frame padding, such as: multi-line text, small button, tree node item, etc. The second item was correctly offset to match text baseline, and would interact/display correctly,but it wouldn't push the contents area boundary low enough.
Note: previously the second parameter to ItemSize() was 0.0f was default, now -1.0f to signify "no text baseline offset request". If you have code using ItemSize() with an hardcoded zero you may need to change it. (+1 squashed commits)
ago%!(EXTRA string=6 years)
Funto
75d540d336
Example: Emscripten: Fix for compilation (filesystem module is required) ( #2734 )
ago%!(EXTRA string=6 years)
Alexey
be9f1e8f00
ColorPicker: Fixed SV triangle gradient to block (broken in 1.73). ( #2864 , #2711 ). [ @lewa-j ]
ago%!(EXTRA string=6 years)
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)