omar
9efaf2828b
Doc comments. Removed .ini parsing code from 1.53 that parsed entries without the [Window] tag (which enabled importing an old .ini file)
ago%!(EXTRA string=6 years)
omar
7e232092a6
Internals: Added GetWindowResizeID(), renamed GetScrollbarID() to GetWindowScrollbarID(). Using integer for resize ID so they matches regardless of the pointer size.
...
Internals: Renamed IMGUI_USER_ERROR to IM_ASSERT_USER_ERROR().
ago%!(EXTRA string=6 years)
Tracy Ma
8f40020ca6
Disable Win32 clipboard and IME functions when build target UWP ( #2892 , #2895 )
ago%!(EXTRA string=6 years)
omar
b23dcab6e1
Fix 25eee91
incorrect assert when ending a child-popup (rarely used but used by sub-nenus)
ago%!(EXTRA string=6 years)
omar
be436e2b0b
Fix HelpMarker() symbol collision for unity builds ( #2893 )
ago%!(EXTRA string=6 years)
omar
03852470de
Internals: Routing recoverable user errors via IMGUI_USER_ERROR() macro. ( #1651 )
ago%!(EXTRA string=6 years)
omar
25eee91542
Error handling: Assert if user mistakenly calls End() instead of EndChild() on a child window. ( #1651 )
...
Internals: Moved some error handling code.
ago%!(EXTRA string=6 years)
omar
b138f8cbcd
Internal: Nav rename preparing for nav inputs ownership changes. IsNavInputPressed() -> IsNavInputTest()
ago%!(EXTRA string=6 years)
omar
7c441e37fa
CI: Update jobs to MacOS latest (Catalina)
...
Metrics: Added description to Item Picker.
ago%!(EXTRA string=6 years)
omar
c3fd4ae473
Docking: comments
ago%!(EXTRA string=6 years)
omar
6e8e2c0fa9
Scrollbar: Fixed an issue where scrollbars wouldn't display on the frame following a frame where all child window contents would be culled.
...
Demo: Fixed a small bug with scrolling demo.
Metrics: Tweaks.
ago%!(EXTRA string=6 years)
omar
57dc34f4e8
TreeNode: Added IsItemToggledOpen() to explicitly query if item was just open/closed, facilitating interactions with custom multi-selections patterns. ( #1896 , #1861 )
ago%!(EXTRA string=6 years)
omar
d003674f2c
Internals: Added ImChunkStream, used by window settings. (more generic followup to 4c13807
, the class will be used more extensively by Tables)
ago%!(EXTRA string=6 years)
omar
a337e219b6
Internals: ImPool: Renaming.
ago%!(EXTRA string=6 years)
omar
28f1d60de1
Internals: Renaming + added ImStrSkipBlank() from docking branch.
...
(cherry picked from commit a573943fa0ce323ffb4080e57f5e8fe1bc777c36)
ago%!(EXTRA string=6 years)
omar
4c13807b7d
Misc: Optimized storage of window settings data (reducing allocation count).
ago%!(EXTRA string=6 years)
omar
792a8631aa
Metrics: Expose basic details of each window key/value state storage.
ago%!(EXTRA string=6 years)
omar
8fee5a4349
Internals: Renaming for consistency.
ago%!(EXTRA string=6 years)
omar
d62a413476
Misc: Windows: Do not use _wfopen() if IMGUI_DISABLE_WIN32_FUNCTIONS is defined. ( #2815 )
ago%!(EXTRA string=6 years)
omar
6024051a2f
Viewport: Fixed 32380a0
( #2876 )
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)
omar
32380a0112
Viewport: Store current dpi scale in context.
ago%!(EXTRA string=6 years)
omar
4e56de757c
Doc: Promote Discord over Discourse. Obsoleting Discourse server.
ago%!(EXTRA string=6 years)
omar
664fb38e39
Docking: child windows don't use style.ChildRounding.
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)
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)
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
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
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
67e4cd5cc6
Comments, some logging for NavInitRequest debugging Moved OpenPopupOnItemClick() next to BeginPopupContextItem()
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
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
0dad3f436b
Fix harmless float calculation overflow. ( #2813 )
ago%!(EXTRA string=6 years)
omar
c262276988
Version 1.74 WIP
ago%!(EXTRA string=6 years)
omar
d5efe16157
Version 1.73
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)
omar
25849234f6
Internal: Tree: tweaks (initially tried to implement auto-scrolling, stashed)
ago%!(EXTRA string=6 years)
omar
13f00331da
Docking: Added ImGuiDockNodeFlags_NoDocking flag. ( #2109 )
ago%!(EXTRA string=6 years)
omar
a45e3b5bb3
Readme, Wiki: Image loading examples.
ago%!(EXTRA string=6 years)
omar
74e01e62ce
Fixed unused static function warning for some compilers. ( #2793 )
ago%!(EXTRA string=6 years)
omar
1ca6ff974c
Viewport: fix to allow multiple shutdown / calls to DestroyPlatformWindows(). ( #2769 )
ago%!(EXTRA string=6 years)
omar
b48dc067ae
Style: Allow style.WindowMenuButtonPosition to be set to ImGuiDir_None to hide the collapse button. ( #2634 , #2639 )
...
+ Fix #2775
ago%!(EXTRA string=6 years)
omar
7d5a17e5e4
Remove trailing spaces (grep for ' \r?$' in visual studio)
ago%!(EXTRA string=6 years)
omar
1c951dca97
Font: Narrow ellipsis: once we know an ellipsis is going to be drawn, we can claim the space between pos_max.x and ellipsis_max.x which gives us enough extra space to not requires the further (and otherwise valid) optimizations. Gets us vastly simplified code, yay. ( #2775 )
ago%!(EXTRA string=6 years)
omar
57623c15dd
Font: Narrow ellipsis: various minor stylistic tweaks ( #2775 )
ago%!(EXTRA string=6 years)