Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

added RadioButtonInt() #143

Merged
merged 3 commits into from
Feb 27, 2021
Merged

added RadioButtonInt() #143

merged 3 commits into from
Feb 27, 2021

Conversation

JetSetIlly
Copy link
Contributor

The existing RadioButton() function expects value of type bool. This function exposes the overloaded RadioButton() in the parent project.

Widgets.go Show resolved Hide resolved
Copy link
Member

@dertseha dertseha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the extension; Please consider my proposal for a smaller footprint.

@dertseha dertseha merged commit ebf5e2d into inkyblackness:master Feb 27, 2021
folays pushed a commit to folays/imgui-go that referenced this pull request Sep 28, 2022
9aae45eb4 Version 1.88
d51e5d289 TabItem: revert support for SetNextItemOpen(true) at it creates too much ambiguity with p_open/close button vs Selected state. (#5262)
c4b910175 TabBar: Tweak shrinking policy so that while resizing tabs that don't need shrinking keep their initial width more precisely.
4b9729614 TabBar: TabItem() now reacts to SetNextItemWidth() and SetNextItemOpen(true). (#5262)
d3fd2630b Sliders: An initial click within the knob/grab doesn't shift its position. (#1946, #5328) + Adjust default GrabMinSize.
f27af1b20 Internals: SliderBehaviorT: Minor refactor, clearer 0.0/1.0 early out. Should be no-op from user's point of view.
90e8404a7 Update README.md
37a07858a Nav: Fixed inability to cancel nav in modal popups. (#5400)
07efd7cc2 Renamed IMGUI_DISABLE_METRICS_WINDOW to IMGUI_DISABLE_DEBUG_TOOLS.
08572189f MovingWindow auto-cancelled if active id is stolen (instead of ill-defined bahavior + assert in docking).
27343efb0 Nav, Focus: Changed SetKeyboardFocusHere() to not behave if a drag or window moving is in progress + move KeepAliveID() call from Scrollbar() to ScrollbarEx()
ddcff1034 Settings: Fixed some SetNextWindowPos/SetNextWindowSize API calls not marking settings as dirty.
6cac48df3 Drag, Slider: rework slightly or CTRL+Click or SetKeyboardFocusHere() will show 1 change of active id in the log (rather than a set,clear,set sequence)
dd2850083 Debug: Add more log. Reworked IMGUI_DEBUG_PRINT IMGUI_DEBUG_PRINTF. Added internal IsDragDropActive() helper.
2ed9e21eb Nav, Internals: wrap changes to g.NavWindow into a helper function to help track/log changes.
1d6e34f3f Debug: Added ShowDebugLogWindow().
ec2c805e4 Backends: support for unity builds for dx10/dx11/dx12 backends (#5387)
076d8fc86 Nav: Fixed issues with nav request being transferred to another window when calling SetKeyboardFocusHere() and simultaneous changing window focus. (#4449)
0b1bcfcc2 Menus: Separate menu sets by nav layer. (#3496, #4797) + Demo: Remove incorrect and useless suggestion to use PushID().
a35e87697 InputText: Amends and tidying up: Fixed undo/redo state corruption when editing buffer in user callback. (#4947, #4949)
530332dfb InputText: Fixed undo/redo state corruption when editing buffer in user callback. (#4947, #4949)
23a785aeb Internals: wrapped used of g.TempBuffer into ImFormatStringToTempBuffer/ImFormatStringToTempBufferV helpers.
64d6c3056 InputText: Fixed an undo-state corruption issue when editing buffer before reactivating item. (#4947) + Metrics: Added "InputText" section.
74f02703e Misc comments + Demo: use IsItemVisible() when using direct ImDrawList calls.
65c4c0a49 IO: Added SetAppAcceptingEvents() function (#4921, #4858)
17b8c3b6e Demo: Removed redundant window flag (#5367)
7354009a7 Backends: Metal: Fixed null dereference inside command buffer completion handler. (#5363, #5365)
74f7ac04a Misc: Fix font compressor utility warnings. (#5359)
f58bd817e Tables: Fix drawcall merging of last column. (#4843, #4844)
e23c5edd5 Settings: Fixed out-of-bounds read when .ini file on disk is empty. (#5351)
697ce2d67 InputText: Fixed a one-frame display glitch where pressing Escape to revert after a deletion would lead to small garbage being displayed for one frame. (#3008)
5139fb7e1 Docs: Add index
ae2fb557f Docs: Update templates with link to Contributing guidelines. Add numerical version number in demo. Moved. (#5337)
814ecedd1 Docs: creates CONTRIBUTING.md (#5337)
e5b2286ca Backends: OpenGL3: Fix apple TARGET_OS_* not defined warning. (#5321)
ca222d30c Backends: OpenGL: Partially revert 1.86 change of using glBufferSubData(): now only done on Intel GPUs. (#4468, #3381, #2981, #4825, #4832, #5127)
7bf07d252 Renamed CaptureMouseFromApp() and CaptureKeyboardFromApp() to SetNextFrameWantCaptureMouse() and SetNextFrameWantCaptureKeyboard(). Added demo. (#5304, #4831, #4480, #533)
cb56b0b23 Removed leftover KeepAliveID() call in GetIDWithSeed() variant. (#5181) + doc tweaks.
e346059ee IO:  Fixed input queue trickling of mouse wheel events. (#4921, #4821)
60bea052a Backends: OpenGL3: Fix state corruption on OpenGL ES 2.0 due to not preserving GL_ELEMENT_ARRAY_BUFFER_BINDING and vertex attribute states. (amends)
b7686a88e Backends: OpenGL3: Fix state corruption on OpenGL ES 2.0 due to not preserving GL_ELEMENT_ARRAY_BUFFER_BINDING and vertex attribute states.
507a87354 DrawList: Circles disappear when using a radius < 0.5f (#3491)
9e0517a13 DrawList: Fixed divide-by-zero or glitches with Radius/Rounding values close to zero. (#5249, #5293, #3491)
9779cc2fe Internals: shallow changes to simplify diff of upcoming commits. Should have no side-effect.
4db55f88e Changed FONT.md edit to blob (#5290)
d768b8c81 Backends: Metal: Align code more closely with other backends. OSX: Add missing return for mouse pos events.
55f898939 Docs update, binaries link + Backend: Allegro: fix warning (#5281)
6d27fecce Debug: added DebugTextEncoding() to help diagnose between text encoding issues and font loading issues. Simplified code + extracted DebugNodeFontGlyph().
e66889083 Debug: added encoding viewer in Metrics.
e66fc2205 Backends: OSX: Removed ImGui_ImplOSX_HandleEvent() from backend API. Move event tracking (desktop only) to OSX backend. (#4821)
26f817807 Backends: Vulkan: Don't use VK_PRESENT_MODE_MAX_ENUM_KHR as specs state it isn't part of the API. (#5254)
d58b8414b Backends: OSX, Metal: Tweaks. Use preferred method of obtaining a timestamp. (#4821)
3e5dde9a2 Tables: Fixed incorrect auto-fit of parent windows when using non-resizable weighted columns. (#5276)
709bc03d6 Backends: GLFW: fixed ImGui_ImplGlfw_TranslateUntranslatedKey() for lower case letters on OSX (#5260, #5261)
314c7bd12 Internals: renamed ImGuiInputReadMode to ImGuiNavReadMode (internals) to avoid ambiguity with upcoming flags. + minor tweak
e54db4ee7 Backends: OSX, Metal: Store backend data in a per-context struct, allowing to use these backends with multiple contexts. (#5203, #5221, #4141)
04689979b Examples: Emscripten+WebGPU: Fix for latest spec rename of WGPURenderPassColorAttachment::clearColor to ::clearValue (#3632)
b5b704d37 Windows: Fixed first-time windows appearing in negative coordinates. (#5215, #3414)
5b29d1478 Layout: Fixed mixing up SameLine() and SetCursorPos() together. SameLine() is a stateful.
eda7792b1 Internals: swapped blocks in TextEx() to make it easier to step through common cases. Tweak demo.
28b2089ee Internals: moved ItemSize() variant to inline + comment. + Tidying up todo list (#5191)
14ca75d4e Backends: SDL, OpenGL3: Small fixes for AmigaOS4. (#5190) + Allow redefining IM_COL32_XXX layout macros. (#5190, #767, #844)
088487a3d Nav: Fixed nav movement in a scope with only one disabled item from focusing the disabled item. (#5189)
fc203c7d7 Minor fix to sastisfy PVS-Studio warning. (amend, 3nd attempt: this is a false positive from PVS studio)
6d15a506f Internals: removed GetIDNoKeepAlive() now that it is the same as GetID(). (#5181)
90386780e Misc: Fixed calling GetID("label") _before_ a widget emitting this item inside a group (such as InputInt()) from causing an assertion when closing the group. (#5181).
937d07332 Updated comment about Edit.NavigateTo to Edit.GoToAll. (#5179)
f7f30476d Added comments about requirement for bilinear filtering. (#5156, #3245) + Backends: SDL_Renderer: Explicitely call SDL_SetTextureScaleMode(). (#4927)
2c03aac6d Renamed ImGuiKeyModFlags to ImGuiModFlags (Breaking but technically never advertised type)
a472e8834 InputScalar: Automatically allow hexadecimal/scientific input when format is adequate.
c521883be Sliders, Drags: Fixed manual input when using hexadecimal display format string. (#5165, #3133)
508c9aaf6 Sliders, Drags: Fixed using hexadecimal display format strings (pretty much never worked). (#5165, #3133)
f5c5926fb Internals: remove obsolete variants of RenderArrow(), RenderBullet(), ImHash() + misc comments.
88fbc31ee stb_truetype: fix a division by zero (unused chain of result, but triggering debuggers). (#5139, #5075)
2747a8ca4 Turned ImVec2 to const ref to RenderChar(), RenderText(), ColorButton(), PushClipRect(). for consistency. Comments about polygon filling winding order.
0dec43070 Menus: Adjusted BeginMenu() closing logic so hovering void or non-MenuItem() in parent window always lead to menu closure.
2d76b09d2 Backends: Metal: Conditional check, amend 7602277 (#5122, #5123)
1ba290501 Update README, quote, mission statement
3587ee492 Viewports: store Viewport field in ImGuiWindow to facilitate using code accross branches + fix PVS warnings.
dfbe938e5 InputText: Fixed pressing Tab emitting two tabs characters. (#2467, #1336)
16ddc1698 Fixed creating multiple-context (regression in 28ba54a). (#5135)
1ad8ad623 Backends: GLFW: Fixed keyboard modifiers events being reported incorrectly on Linux/X11.
7d7bf993b ImDrawList: Fix texture-based anti-aliasing with RGBA textures (#5132, #3245)
3c0787950 Backends: OSX: Inputs: Monitor NSKeyUp events to catch missing keyUp for key when user press Cmd + key (#5128)
c5f67218b Backends: SDL: Fix multi-viewport dragging issue with SDL on some systems. (v2 for master, using bd->MouseButtonsDown == 0) (#5012, #5082)
7602277c8 Backends: Metal: Remove weak ref (#5122, #5123)
31e77eacd Backends: SDL: Add extra mouse buttons handling (#5125)
6fae29679 Examples: Emscripten: Fix build. (#3632)
28ba54a32 Internals: add AddSettingsHandler(), RemoveSettingsHandler().
fd06ed833 Misc: tweaks + fix warnings on backends withtout -wno-memaccess (#4995, #5104)
0cff5ac5a Updated stb_textedit.h from 1.20 to 1.26 (many fixes). (#5075)
de451d447 Updated stb_textedit.h from 1.13 to 1.14. (#5075)
279db5584 Updated stb_rect_pack.h from 1.00 to 1.01. (#5075)
3deb92c2c Add IMGUI_STB_SPRINTF_FILENAME to support custom stb_printf.h include path (#5068, #2954)
0f1493357 Tables: Fixed incorrect border height used for logic when resizing one of several synchronized instance of a same table ID, when instances have a different height. (#3955, #3565)
6315716f2 Backends: Glut: Fix comparison operator precedence.
1e18da5c3 Backends, Examples: Add comments about using WndProc handler and WantCaptureXXX flags. (#5061)
54fb051e5 ColorEdit: Fixed text baseline alignment after a SameLine() after a ColorEdit() with visible label.
fa2b318dd IO: Fixed input queue trickling of interleaved keys/chars events when InputText() is not active. (#4921, #4858)
5659db552 IO: Fixed backward-compatibility accesses to io.KeysDown[]. (#4921, #4858)
a61ca097a Backends: OSX: Fix typo in scrolling event handler. (#5036)
dca527be1 Clipper: Assert on extraneous calls to Step(). (#4822) + Demo tweak.
29d462ebc Set HoveredID even when g.NavDisableMouseHover is set by gamepad/keyboard navigation. This will facilitate the use of future InputOwner API based on HoveredID/ActiveID.
421e73e6d Fix an assert in metrics.
d9e60d29e Clipper: Fixed a regresssion when not calling End() + calling End() twice as well. (#4822)
5c8f8d031 ImVector: Fixed erase() with empty range. (#5009) amend/fix b6b8f66
2dfa71fad Inputs: Fixed IsMouseClicked() repeat mode rate being half of keyboard repeat rate. Using KeyModAlt. Removed KeyModsPrev.
7ff41a78f Fonts: binary_to_compressed_c.cpp gained -nostatic option (#5021)
8d3906365 CI: Fixes for OSX + explicitely request C++11.
b6b8f6634 ImVector: Fixed erase() with empty range. (#5009)
5854da10e Declare other structures as constexpr (#4995) + rename ImGuiInputEventType_Char to ImGuiInputEventType_Text for consistency with event structure.
71f98dd05 Declare ImVec2 and ImVec4 constructors as constexpr (#4995)
955aacfbc GCC: Disable deprecated-enum-enum-conversion for gcc as well (#4997)
4691fa0ed ImDrawList: PthArcTo: Add small tolerance when comparing angles (#4993)
aa79d0cd2 Stack Tool: Added option to copy item path to clipboard. (#4631)
88de98207 Version 1.88 WIP
97b1abd6d Internals: rework RenderMouseCursor() signature so we can use it in docking branch more naturally.
c71a50deb Version 1.87
e52bb147a Backends: GLFW: Added ImGui_ImplGlfw_InstallCallbacks()/ImGui_ImplGlfw_RestoreCallbacks(). (#4981)
732bc2058 Backends: GLFW: Handle spurious leave/enter sequences apparently submitted by X11/GLFW combo. (#4984)
40fd163a3 Backends: OpenGL3: Fix OpenGL ES2 includes on Apple systems.
2554b512c Backends: OSX: Forward keyDown/keyUp events to OS when unused by Dear ImGui.
c6cab1f35 Backends: SDL: Added SDL_Renderer* parameter to ImGui_ImplSDL2_InitForSDLRenderer(). Use SDL_GetRendererOutputSize() instead of SDL_GL_GetDrawableSize() when bound to a SDL_Renderer. (#4927)
c39192ba6 Backends: SDL_Renderer: Fix texture atlas format on big-endian hardware (#4927)
43177324c Backends: GLFW: Fixed miss untranslation of keypad keys. (#4921, #452)
6f73dbea8 TestEngine: submit window data to item system.
35e197f41 TestEngine: fixed InvisibleButton() and ArrowButton() not calling the info macro.
551ab84c2 Backends: OSX: Fix building with old Xcode versions.
422902dbd Correct typos (#4954, #4955), use IM_STATIC_ASSERT now that old pre-C++11 macro has been obsoleted.
64d910ad3 Removed IMGUI_API from inline templated classes. (#4962)
49e38a5b3 Revert moving ImGuiKeyModFlags to internal.h (amendc906c65)
9def2b04d IO: Added simple (incomplete) filter for duplicates to reduce data spam. (#4921, #4858)
5429f0f6b Backends: OSX, Android: Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. (#4921, #4858)
c906c65ca (BREAKING) Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. Backends: update most. (#4921, #4858)
718daa153 Rendering: defer responsability of calling _PopUnusedDrawCmd() later so RenderDimmedBackgrounds()/RenderMouseCursor() don't need to deal with the side-effects (#4857, #4317)
075f4ac66 Don't merge ImDrawCmd which have had their IdxOffset changed to not be sequential. Fixed CTRL+Tab into an empty window causing artefacts on the highlight rectangle due to bad reordering on ImDrawCmd.
855533593 Shallow alignment of ImGuiKey stuff + moving some in internals. Internals: add offset to ImBitArray<>, simpify ActiveIdUsingKeyInputMask.
08f3aa897 Popups: Fix b17b2fb (#4936)
4caf1e9b5 Backends: GLFW: fix ImGui_ImplGlfw_TranslateUntranslatedKey() for grave accents. (#456, #2625) + fix preceeding commit.
b17b2fb73 Popups: Fixed an issue when reopening a same popup multiple times would offset them by 1 pixel on the right. (#4936)
cda3db144 Backends: SDL: Fixed key mapping for ImGuiKey_Menu (#4921) + misc typos (#4928)
dd6a44abb Fix compiler warning for Intel compiler (#4934)
4fb0c1f96 Correct some typos in FAQ.md (#4924)
cff034245 Internals: moved lines into a Inputs section.
c2db4c246 Demo: draw a section of keyboard in "Inputs > Keyboard, Gamepad & Navigation state" to visualize keys.
69b697378 Comments, tweaks.
26e59c874 Nav: Fixed gamepad navigation in wrapping popups not wrapping all the way. (#4365)
62d6be374 IO: Removed ImGuiInputSource from public api for now, unnecessary. (#4858, #787)
5ea47d956 Backends: OSX: Add full gamepad support using io.AddKeyEvent(), io.AddKeyAnalogEvent(), stopped writing to io.NavInputs[]. (#4858, #787)
39c3412f9 Backends: SDL: Add full gamepad support using io.AddKeyEvent(), io.AddKeyAnalogEvent(), stopped writing to io.NavInputs[]. (#4858, #787)
3d8543374 Backends: GLFW: Add full gamepad support using io.AddKeyEvent(), io.AddKeyAnalogEvent(), stopped writing to io.NavInputs[]. (#4858, #787)
9f8c599ca Backends: Win32: Add full gamepad support using io.AddKeyEvent(), io.AddKeyAnalogEvent(), stopped writing to io.NavInputs[]. (#4858, #787)
f33bb9982 IO: added AddKeyAnalogEvent() and support for ImGuiKey_GamepadXXXX. (#4858, #787)
6e63fcaca Backends: Vulkan: Amends, fix miscast on 32-bit systems with the right ImTextureID=ImU64. (#914)
ceb26bac4 Backends: Vulkan: Added support for ImTextureID as VkDescriptorSet, amends. (#914)
29f104319 Backends: Vulkan: Added support for ImTextureID as VkDescriptorSet, add ImGui_ImplVulkan_AddTexture(). (#914)
19471da3f Popups: Fix a crash when a new window is created after a modal on the same frame. (#4920)
7ad42ff43 IO: renamed io.ConfigInputEventQueue to io.ConfigInputTrickleEventQueue. (#4858)
26d04c948 Tables: Fixed positioning of Sort icon on right-most column with some settings (not resizable + no borders). (#4918).
97b1ffcb3 IO: Reorder enums, compact a little in header. Removed const from internal GetKeyData().
91ae56af4 Removed support for legacy arithmetic operators (+*/) when inputing text into a slider/drag. (#4917, #3184)
673f5e588 IO: moved fields to put more focus on the new functions + update misc docs/references + update main.mm in Apple+Metal example (#4858)
90a696163 IO: apply same flooring as UpdateMouseInputs() in dupe event processing. (#4858) + provision for test engine.
7374b96f5 IO: Added input queue. (#4858, #2787, #1992, #3383, #2525, #1320)
b8e56dce8 IO: Added AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() api + updated all Backends. (#4858) (input queue code will be next commit)
b6582a471 Backends: OSX: Fix Game Controller nav mapping to use shoulder for both focusing and tweak speed. (#4759)
92c4ff1c2 Rename ImGuiKey_LeftControl to ImGuiKey_LeftCtrl, ImGuiKey_RightControl to ImGuiKey_RightCtrl + made key order match mods order. (#4858)
075576744 Backends: move io.AddKeyModsEvent() next to io.AddKeyEvent() submission, rely on mods from platform/source. (#4858) + fix #2622 again broken by 746c9f7
eb823655a Removed support for pre-C++11 compilers. We'll stop supporting VS2010. (#4537)
f84c93d83 Update BACKENDS.md (#4909)
45c4365ec Backends: GLFW: glfwGetKeyName is not implemented in emscripten (#4907, #4858)
6188e9410 Examples: Vulkan: fill Subpass and MSAASamples to increase discoverability (#4886) + IO docs update (#4858)
553b04883 Backends: SDL: Fix for Emscriptem. Amend 98ce013.
955163568 IO: fix SetKeyEventNativeData() not handling ImGuiKey_None the same way as AddKeyEvent(). (#4905, #4858)
200a8f1ea Backends: GLFW: Update mouse inputs using glfwSetCursorPosCallback() (breaking) + fallback to provide it when focused but not hovered/captured + update MousePos before MouseButtons.
98ce01324 Backends: SDL: Update mouse inputs using SDL_MOUSEMOTION/SDL_WINDOWEVENT_LEAVE + fallback to provide it when focused but not hovered/captured + update MousePos before MouseButtons.
bf4de2a46 Backends: Win32: Update mouse inputs using WM_MOUSEMOVE/WM_MOUSELEAVE + fallback to provide it when focused but not hovered/captured + update MousePos before Key Modifiers.
7f8a89c25 Backends: Win32, SDL: maintain MouseButtonsDown instead of using IsAnyMouseDown(). Internals: added GetInputSourceName().
457d4b7b7 Backends: OSX: Adedd basic IME support for macOS. (#3108, #2598)
290c51735 Fixed warning in ImFloorSigned(). (#4889)
0818a4239 Backend: WebGPU: Fixed incorrect size parameters in WGPU backend (#4891)
96186a93b Typo correction in imgui_demo.cpp (#4892)
956e03009 Backends: OSX: Build fIx. Made GetKeyName() input tolerant. Internals: added GetNavInputName().
e8172fdfb Rename io.AddKeyModEvent() -> io.AddKeyModsEvent() and updated backends accordingly. (#2625, #4858)
b2e2cc44c Backends: OSX: Fixed typo.
790132a67 Added io.AddKeyModEvent() and updated backends accordingly. (#2625, #4858)
1797135db Backends: Android: Update to use io.AddEventKey() will full key map (#2625, #4858)
ee436aa80 Backends: OSX: Update to use io.AddEventKey() will full key map (#2625, #1873, #4858)
da1864d79 Backends: GLUT: Update to use io.AddEventKey() will full key map (#2625, #4858)
1bfe4a75b Backends: Allegro5: Update to use io.AddEventKey() will full key map (#2625, #4858)
fe646ea59 Backends: SDL2: Update to use io.AddEventKey() will full key map (#2625, #4858) + created localized key (using keycode instead of scancode) (#456)
ecd212c01 Backends: GLFW: Update to use io.AddEventKey() will full key map (#2625, #4858)
746c9f76e Backends: Win32: Update to use io.AddEventKey() will full key map (#2625, #4858)
bf08c13e9 Inputs: Extra Keys / AddKeyEvent(): bidirectional mapping, basic CI, simplify backends, asserts on misuses, tested backward compat. (#2625, #4858, #2787)
3b6692930 Inputs: Extra Keys / AddKeyEvent(): Added ImGuiKey values, io.AddKeyEvent(), GetKeyName(), IMGUI_DISABLE_OBSOLETE_KEYIO. Obsoleted GetKeyIndex(), io.KeyMap[], io.KeysDown[]. (#2625, #4858, #2787)
afffcd581 Inputs: rename ImGuiKey_KeyPadEnter > ImGuiKey_KeypadEnter (#2625)
100ede576 Backends: GLFW: Fix CTRL+A, CTRL+Y, CTRL+Z to match keyboard layout. Converting GLFW untranslated keycodes back to translated keycodes. (#456, #2625)
4d023bd7f Fix for using IMGUI_DISABLE_OBSOLETE_FUNCTIONS
de36ff043 Platform IME: add ImGuiPlatformImeData::InputLineHeight (unused by win32). (#3113)
29a8ee082 Platform IME: add ImGuiPlatformImeData::WantVisible, hide IME when not used. (#2589)
1cbfe9352 Platform IME: [windows] call ImmSetCandidateWindow() to position candidate window.
2706c9d66 Platform IME: reworked internals to simplify adding new features.
3a90dc389 Platform IME: changed io.ImeSetInputScreenPosFn() to io.SetPlatformImeDataFn() API.
04bc0b0bb Fix IdxBuffer related comments. (#4845, #4863)
28eabcb09 Internals: refactor: mouse input functions into their own section.
206b9ead8 IO: removed unused MouseDragMaxDistanceAbs(). Using a shortcut variable in UpdateMouseInputs().
c5a3cae83 Reordered some IO fields. Misc comments. Removed beta marker from tables comments.
efa50f72a Backends: Metal: Ignore ImDrawCmd where ElemCount == 0. (#4857)
b0a6cd630 Fixed a situation where CTRL+Tab or Modal can occasionally lead to the creation of ImDrawCmd with zero triangles, (#4857)
2402958ae Commented out redirecting functions/enums names that were marked obsolete in 1.69, 1.70, 1.71, 1.72
92d7869fc Happy new year!
83d22f4e4 Tables, ImDrawListSplitter: Fixed erroneously stripping trailing ImDrawList::AddCallback().(#4843, #4844)
41e39ea6e Backends: Metal: Add Metal C++ bindings support. (#4824, #4746)
dbeea7220 Backends: Silence overzealous warnings. (#4834) Add comments about SetDragDropPayload() return value. (#4835)
89a28209e Version 1.87 WIP + Backends: OpenGL3: Fixed a buffer overflow in imgui_impl_opengl3_loader.h init, added in 1.86 (#4468, #4830)
980deb4c9 Add missing include guard to avoid declaring ImFontAtlasGetBuilderForStbTruetype() function.
512c54bbc Version 1.86
612b787b0 Menus: fixed top-level menu from not consistently using style.PopupRounding. (#4788)
4bad852a7 Backends: SDL_Renderer: Handle change to SDL_RenderGeometryRaw() function signature in SDL 2.0.19 (#4819)
0636f9ada InputText: fixed Shift+Delete from not cutting into clipboard. (#4818, #1541)
d9bc1e44a Backends: Marmalade: Removed obsolete Marmalade backend (imgui_impl_marmalade.cpp) + example. (#368, #375)
0cdc4a956 Backends: Win32: Store left/right variants of Ctrl/Shift/Alt mods in KeysDown[] array. (#2625)
4a43dcb94 Internals: reduced side-effects of setting window->HiddenFramesForRenderOnly > 0
1c4066cd9 Internals: UpdateWindowInFocusOrderList: amend a528398 to fix docking. (#3496, #4797)
389982eb5 Backends: OpenGL3: Using buffer orphaning + glBufferSubData(), seems to fix leaks with multi-viewports with some Intel HD drivers.. (#4468, #4504, #2981, #3381)
48f263336 Menus: fixed closing a menu inside a popup/modal. Fixed menu inside a popup/modal not inhibiting hovering of items in the popup/modal. (#3496, #4797)
a528398c7 Internals: support for varying _ChildWindow flag for menu windows. (#3496, #4797)
11638fdf7 Menus: reuse more menu windows when stacked over popups.
0e8c199e8 CI: Use regex to fix vcxproj platform and toolset versions. (#3249) Remove Discord integration.
d7350668d Fix OSX warnings + Examples/Apple+GL2 calls super reshape. (#4759, #1873)
1b6b8602c Backends: OSX: Fix keyboard support. Handle scroll cancel. Don't set mouse cursor shape unconditionally. (#4759, #4253, #1873)
f71ee5203 Fix infinite loop in ImFontGlyphRangesBuilder::AddRanges if the user passes upper range = UINT16_MAX without IMGUI_USE_WCHAR32. (#4802)
b720f1f03 Backends: OSX: Add Game Controller support. (#4759)
8a9fe2686 Menus: fixed closing a menu by clicking on its menu-bar item when inside a popup. (#3496, #4797)
c80179921 Added an assertion for the common user mistake of using "" as an identifier at the root level of a window. (#1414, #2562, #2807, #4008, #4158, #4375, #4548, #4657, #4796)
a8e1dde35 Fix static analyser, update readme.
e03383d08 Fixes for tooltip over modals leading to incorrect modal dimming. (#4729)
bdd2a9431 InputTextMultiline: fixed vertical tracking with large values of FramePadding.y. (#3781, #4794)
072caa4a9 InputText: fixed incorrect padding when FrameBorder > 0. (#4794, #3781)
270d4d085 Nav, Docking: Fix crash on dimming docked window and DockSpaceOverViewport() with PassthruCentralNode.
a19815dc6 Backends: Allegro5: Fixed mishandling of the ImDrawCmd::IdxOffset field. (#4790)
c80e8b964 Backends: OpenGL2, Marmalade: Fixed mishandling of the ImDrawCmd::IdxOffset field. (#4790)
b38af0f52 Popups: Fix popups being closed by newly appearing windows. (#4317)
657073a65 Nav, Docking: fix dimming crash with accessing zero-cmd ImDrawList (amend 1dc3af3, 23ef6c1)
20e040c85 Clipper, Tables: remove table specific code path should now be ok (added assert).
926addbfe Clipper: fixed invalid state when number of frozen table row is smaller than ItemCount.
027a7ba3e Clipper: use line size instead of cursor comparaison when range are large. (#3609, #3962 + ocornut/imgui_club#20)
a76bc52da Window, Clipper: store initial precision loss and apply in clipper. (#3609, #3962 + ocornut/imgui_club#20)
6e141a9ca Internals: made ScrollbarEx() use ImS64 to facilitate use with larger ranges (not fully tested) + clipper tweaks (#3609, #3962 + ocornut/imgui_club#20)
eea836135 InputText: fix buffer modifications in callbacks while using resize callback (#4784)
aa41f1658 Separator: fixed cover all columns while called inside a table. (#4787, #205)
23ef6c149 Reworked modal/ctrl+tab dimming system to be entirely processed at end of the frame (backported 1dc3af3 from docking)
da3a36eef Backport from docking branch: minor stuff.
78c6435db Inputs: (breaking wip) removed IsMouseTripleClicked() added recently (during 1.86 WIP), replaced with GetMouseClickedCount(). (#3229)
5c388c39f Backends: SDL_Renderer: Added support for large meshes (64k+ vertices) with 16-bit indices, enable 'ImGuiBackendFlags_RendererHasVtxOffset' in this backend. (#3926)
5b1a70aa2 Fixed RenderRectFilledWithHole() (used by docking) + added dummy EndFrameDrawDimmedBackgrounds() stub in master.
440824d43 Backends: Fixed early out on empty clip rect. In particular, DX12 backend would warn about it (others not so much). (#4775, #4464)
f087a5b85 Metrics: Added a node showing windows in submission order and showing the Begin() stack.
c5db27652 InputText, Nav: fixed tabbing through InputTextMultiline(). (#4761, #3092)
9d704d99d Internals: wrapped ImQsort() in an inline function + added a define guard.
66f0fb986 Inputtext, Nav: fixed using SetKeyboardFocusHere() on InputTextMultiline(). (#4761)
5ccb66794 Backends: WebGPU: Passing explicit buffer sizes  as validation layers appears to not do what the in-flux specs says. (#4766
cb5c73f64 Fix: IM_DEBUG_BREAK macro on ARM GCC (#4767)
65f4be1a1 InputText: Internals: moved "apply_new_text" application code to reduce noise in a future commit (will be for #4714) + removed unused fields.
5ac25e7c7 InputText: fixed ReadOnly flag preventing callbacks from receiving the text buffer. (#4762)
4d9a3b19d Internals: Implement a continuable IM_DEBUG_BREAK on GCC for common archs. (#2673)
764f9e606 Fixed crash on right-click without modal, introduced by previous commit a3667f46,  (#4729)
a3667f462 Fixed tooltip in own viewport over modal from being incorrectly dimmed. (#4729)
3fde445b9 Misc: Added missing ImGuiMouseCursor_NotAllowed cursor for software rendering (when io.MouseDrawCursor is enabled). (#4713)
d80a9123b Internals: move chunks of IsItemHovered() so upcoming commit can be less noisy. This commit should be a no-op (check by comparing without white-space changes)
2c29e391d Drag and Drop: BeginDragDropSource() with ImGuiDragDropFlags_SourceAllowNullID doesn't lose tooltip when scrolling. (inkyblackness#143)
f8a806ad9 Tooltips, Internal: (Breaking) swapped parameter order to accomodate for future tooltip api rework.
7cd3cfa58 Demo: Add IMGUI_DEMO_MARKER (currently unused, but usage by altering GImGuiDemoMarkerCallback) (#3689)
cad790d43 Nav: fixed backwrap tabbing wrap on sibling child windows with _NavFlattened flag. (#4449)
e790fc0e7 Nav: prevent child from clipping items when using _NavFlattened and parent has a pending nav request. (#787)
a9ea1ae85 Nav: fixing assert using Tab in a window without any tabbable element (#4449)
eb02dcf87 Nav: enable move/resize window with keyboard in Ctrl+Tabbing windowing menu even without _NavEnableKeyboard. (#4023, #787).
8ce23b3cc Nav: Ctrl+tabbing to cycle through windows is now enabled regardless of _NavEnableKeyboard. (#4023, #767)
bce1ba400 Clipper: add ForceDisplayRangeByIndices (#3841, #3578)
ebac37579 Docs: added info about Freetype, editing sponsors.
1a7526dcd Nav, Tabbing: refactor tabbing system to support clipped items, scrolling, using nav queries. (#4449)
f01a6d3e8 InputText, Nav: fixed repeated calls to SetKeyboardFocusHere() preventing to use InputText(). (#4682)
32779c5b6 Clipper: hotfix (amend 93cccd2, was broken) (#3841, #1725)
64daeddf6 Removed CalcListClipping() function. (#3841)
6a7e2c74f Clipper: remove ForceDisplayRangeByIndices/ForceDisplayRangeByPositions functions until we find a need for them, since #3841 is now solved automatically.
93cccd27f Clipper: bunch of rework. (#3841, #1725)
cd1b5f788 Clipper: enhanced ImGuiListClipper (#3841)
b409df34d Clipper: Fixed content height declaration slightly mismatching the one of when not using a clipper.
14466a6d1 Nav: Page/Home/End doesn't immediately restore highlight (before results comes) + pressing Esc to exit a child window re-enable the Nav highlight if it was disabled by mouse.
978598b17 Nav: pressing PageUp/PageDown/Home/End when in Menu layer automatically moves back to Main layer. + fixed resizing window from borders setting navigation to Menu layer.
d1eb7b575 ScrollToItem: amend fully visible tests to take account of spacing used (fix nav in one axis scrolling back and forth between axises when space is tight by just < ItemSpacing*2) (#3692, #2812, #4242, #2900)
eb654f1ba Typo
b1a68d899 Fix misplaced backtick in FAQ.md (#4669)
a67f7dce3 Nav: relative rectangle positions are now stored relative to CursorStartPos to be independent of scrolling. Will facilitate rework of clipper (#3841)
8d361c47f Nav: rework NavEnableSetMousePos application so scrolling is applied more consistently in NavCalcPreferredRefPos() + moved at end of NavUpdate() after the last SetScroll have been done.
8361ed1f5 Nav: wrap abs<>rel rectangle conversions before we attempt to switch the reference point from window->Pos to window->DC.CursorStartPos. This commit should have no effect.
19c72cd52 Nav: fixed absolute mouse position (with NavEnableSetMousePos config flag) when using Home/End leads to scrolling.
c363b6df2 Modals: fixed issue hovering popups inside a child inside a modal. Fixed IsWindowFocused()/IsWindowHovered() issues with childs inside popups. (#4676)(#4676, #4527)
0f2898ea8 Demo: Tree selection demo use !IsItemToggledOpen() (#1896) + update FAQ (#4366)
99552420a InputText: triple-click avoid scroll + include end of line character. (#2244)
126a6f894 InputText: made double-click select word, triple-line select line. Word delimitation logic differs slightly from the one used by CTRL+arrows. (#2244)
9c78fc928 Inputs: Mouse: Amend c8e3a01 for tracking multiple clicks, renaming. (#3229)
2318c764c Inputs: Mouse: Add support for tracking multiple clicks more than just double (#3229)
39b99072f ImVector: fix Clang warning (implicit conversion changes signedness: 'const ptrdiff_t' (aka 'const long long') to  'unsigned long long')
ad3f54ff1 Examples: Emscripten comments (#4650, #4662), standardize readme
19c3773cc Backends: Vulkan: Call vkCmdSetScissor() with a full-viewport at end of render. (#4644)
bbd5119a2 Backends: Vulkan: comments about user using VK_DYNAMIC_STATE_VIEWPORT / VK_DYNAMIC_STATE_SCISSOR and not calling vkCmdSetViewport() / vkCmdSetScissor(). (#4644)
e3bd9434b 1.86 WIP + internals: tweaks table temp data code.
13cdf2ff0 CI: Add MinGW DLL builds,
be03b8ff9 Misc: Fix build with MinGW when using IMGUI_API.

git-subtree-dir: dear-imgui
git-subtree-split: 9aae45eb4a05a5a1f96be1ef37eb503a12ceb889
@JetSetIlly JetSetIlly deleted the RadioButtonInt branch January 14, 2024 14:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants