1886 Commits (fd06ed833be6a4ac9a99c0383ca014011535c246)

Author SHA1 Message Date
ocornut fd06ed833b Misc: tweaks + fix warnings on backends withtout -wno-memaccess (#4995, #5104) ago%!(EXTRA string=3 years)
ocornut fa2b318dd6 IO: Fixed input queue trickling of interleaved keys/chars events when InputText() is not active. (#4921, #4858) ago%!(EXTRA string=3 years)
ocornut 5659db5529 IO: Fixed backward-compatibility accesses to io.KeysDown[]. (#4921, #4858) ago%!(EXTRA string=3 years)
ocornut dca527be1b Clipper: Assert on extraneous calls to Step(). (#4822) + Demo tweak. ago%!(EXTRA string=3 years)
ocornut 29d462ebce 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. ago%!(EXTRA string=3 years)
ocornut d9e60d29e1 Clipper: Fixed a regresssion when not calling End() + calling End() twice as well. (#4822) ago%!(EXTRA string=3 years)
thedmd 5c8f8d0311 ImVector: Fixed erase() with empty range. (#5009) amend/fix b6b8f66 ago%!(EXTRA string=3 years)
ocornut 2dfa71fad5 Inputs: Fixed IsMouseClicked() repeat mode rate being half of keyboard repeat rate. Using KeyModAlt. Removed KeyModsPrev. ago%!(EXTRA string=3 years)
thedmd b6b8f6634e ImVector: Fixed erase() with empty range. (#5009) ago%!(EXTRA string=3 years)
Jeff Mears 71f98dd056 Declare ImVec2 and ImVec4 constructors as constexpr (#4995) ago%!(EXTRA string=3 years)
thedmd 4691fa0ed5 ImDrawList: PthArcTo: Add small tolerance when comparing angles (#4993) ago%!(EXTRA string=3 years)
ocornut 88de982071 Version 1.88 WIP ago%!(EXTRA string=3 years)
ocornut 97b1abd6dd Internals: rework RenderMouseCursor() signature so we can use it in docking branch more naturally. ago%!(EXTRA string=3 years)
ocornut c71a50deb5 Version 1.87 ago%!(EXTRA string=3 years)
ocornut 6f73dbea80 TestEngine: submit window data to item system. ago%!(EXTRA string=3 years)
Clownacy 422902dbda Correct typos (#4954, #4955), use IM_STATIC_ASSERT now that old pre-C++11 macro has been obsoleted. ago%!(EXTRA string=3 years)
ocornut 49e38a5b32 Revert moving ImGuiKeyModFlags to internal.h (amendc906c65) ago%!(EXTRA string=3 years)
ocornut c906c65cac (BREAKING) Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. Backends: update most. (#4921, #4858) ago%!(EXTRA string=3 years)
ocornut 8555335935 Shallow alignment of ImGuiKey stuff + moving some in internals. Internals: add offset to ImBitArray<>, simpify ActiveIdUsingKeyInputMask. ago%!(EXTRA string=3 years)
ocornut b17b2fb732 Popups: Fixed an issue when reopening a same popup multiple times would offset them by 1 pixel on the right. (#4936) ago%!(EXTRA string=3 years)
sergeyn dd6a44abb1
Fix compiler warning for Intel compiler (#4934) ago%!(EXTRA string=3 years)
ocornut 26e59c8742 Nav: Fixed gamepad navigation in wrapping popups not wrapping all the way. (#4365) ago%!(EXTRA string=3 years)
ocornut 62d6be3747 IO: Removed ImGuiInputSource from public api for now, unnecessary. (#4858, #787) ago%!(EXTRA string=3 years)
ocornut f33bb99821 IO: added AddKeyAnalogEvent() and support for ImGuiKey_GamepadXXXX. (#4858, #787) ago%!(EXTRA string=3 years)
Rokas Kupstys 19471da3fd Popups: Fix a crash when a new window is created after a modal on the same frame. (#4920) ago%!(EXTRA string=3 years)
ocornut 7ad42ff431 IO: renamed io.ConfigInputEventQueue to io.ConfigInputTrickleEventQueue. (#4858) ago%!(EXTRA string=3 years)
ocornut 97b1ffcb3b IO: Reorder enums, compact a little in header. Removed const from internal GetKeyData(). ago%!(EXTRA string=3 years)
ocornut 91ae56af45 Removed support for legacy arithmetic operators (+*/) when inputing text into a slider/drag. (#4917, #3184) ago%!(EXTRA string=3 years)
ocornut 673f5e588d IO: moved fields to put more focus on the new functions + update misc docs/references + update main.mm in Apple+Metal example (#4858) ago%!(EXTRA string=3 years)
ocornut 7374b96f5c IO: Added input queue. (#4858, #2787, #1992, #3383, #2525, #1320) ago%!(EXTRA string=3 years)
thedmd b8e56dce83 IO: Added AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() api + updated all Backends. (#4858) (input queue code will be next commit) ago%!(EXTRA string=3 years)
ocornut 92c4ff1c2f Rename ImGuiKey_LeftControl to ImGuiKey_LeftCtrl, ImGuiKey_RightControl to ImGuiKey_RightCtrl + made key order match mods order. (#4858) ago%!(EXTRA string=3 years)
ocornut eb823655af Removed support for pre-C++11 compilers. We'll stop supporting VS2010. (#4537) ago%!(EXTRA string=3 years)
ocornut 7f8a89c25c Backends: Win32, SDL: maintain MouseButtonsDown instead of using IsAnyMouseDown(). Internals: added GetInputSourceName(). ago%!(EXTRA string=3 years)
ocornut 956e03009a Backends: OSX: Build fIx. Made GetKeyName() input tolerant. Internals: added GetNavInputName(). ago%!(EXTRA string=3 years)
ocornut e8172fdfbc Rename io.AddKeyModEvent() -> io.AddKeyModsEvent() and updated backends accordingly. (#2625, #4858) ago%!(EXTRA string=3 years)
ocornut 790132a672 Added io.AddKeyModEvent() and updated backends accordingly. (#2625, #4858) ago%!(EXTRA string=3 years)
ocornut bf08c13e9b Inputs: Extra Keys / AddKeyEvent(): bidirectional mapping, basic CI, simplify backends, asserts on misuses, tested backward compat. (#2625, #4858, #2787) ago%!(EXTRA string=3 years)
thedmd 3b66929301 Inputs: Extra Keys / AddKeyEvent(): Added ImGuiKey values, io.AddKeyEvent(), GetKeyName(), IMGUI_DISABLE_OBSOLETE_KEYIO. Obsoleted GetKeyIndex(), io.KeyMap[], io.KeysDown[]. (#2625, #4858, #2787) ago%!(EXTRA string=3 years)
ocornut afffcd5810 Inputs: rename ImGuiKey_KeyPadEnter > ImGuiKey_KeypadEnter (#2625) ago%!(EXTRA string=3 years)
Liu Liu de36ff043e Platform IME: add ImGuiPlatformImeData::InputLineHeight (unused by win32). (#3113) ago%!(EXTRA string=3 years)
actboy168 29a8ee0826 Platform IME: add ImGuiPlatformImeData::WantVisible, hide IME when not used. (#2589) ago%!(EXTRA string=3 years)
ocornut 3a90dc3893 Platform IME: changed io.ImeSetInputScreenPosFn() to io.SetPlatformImeDataFn() API. ago%!(EXTRA string=3 years)
ocornut 04bc0b0bb8 Fix IdxBuffer related comments. (#4845, #4863) ago%!(EXTRA string=3 years)
ocornut 206b9ead8f IO: removed unused MouseDragMaxDistanceAbs(). Using a shortcut variable in UpdateMouseInputs(). ago%!(EXTRA string=3 years)
ocornut c5a3cae83a Reordered some IO fields. Misc comments. Removed beta marker from tables comments. ago%!(EXTRA string=3 years)
ocornut 2402958aec Commented out redirecting functions/enums names that were marked obsolete in 1.69, 1.70, 1.71, 1.72 ago%!(EXTRA string=3 years)
ocornut dbeea7220f Backends: Silence overzealous warnings. (#4834) Add comments about SetDragDropPayload() return value. (#4835) ago%!(EXTRA string=3 years)
ocornut 89a28209e8 Version 1.87 WIP + Backends: OpenGL3: Fixed a buffer overflow in imgui_impl_opengl3_loader.h init, added in 1.86 (#4468, #4830) ago%!(EXTRA string=3 years)
ocornut 980deb4c9e Add missing include guard to avoid declaring ImFontAtlasGetBuilderForStbTruetype() function. ago%!(EXTRA string=3 years)