Commit Graph

  • 60bea052a9 Backends: OpenGL3: Fix state corruption on OpenGL ES 2.0 due to not preserving GL_ELEMENT_ARRAY_BUFFER_BINDING and vertex attribute states. (amends) ocornut 2022-05-13 18:04:06 +02:00
  • b7686a88e9 Backends: OpenGL3: Fix state corruption on OpenGL ES 2.0 due to not preserving GL_ELEMENT_ARRAY_BUFFER_BINDING and vertex attribute states. Rokas Kupstys 2021-08-30 13:59:43 +03:00
  • 507a87354b DrawList: Circles disappear when using a radius < 0.5f (#3491) thedmd 2022-05-13 17:20:37 +02:00
  • 9e0517a134 DrawList: Fixed divide-by-zero or glitches with Radius/Rounding values close to zero. (#5249, #5293, #3491) ocornut 2022-05-13 17:18:06 +02:00
  • 2fa60bec27 Examples: Apple+OpenGL: Fix build. omar 2022-05-09 11:30:52 +02:00
  • 693b4c57fe Backends: OSX: Implement ImGui_ImplOSX_ShowWindow(). (#5299) omar 2022-05-09 10:45:56 +02:00
  • 9779cc2fe2 Internals: shallow changes to simplify diff of upcoming commits. Should have no side-effect. ocornut 2022-05-05 17:08:20 +02:00
  • 4db55f88e8 Changed FONT.md edit to blob (#5290) BttrDrgn 2022-05-06 02:47:18 -05:00
  • d768b8c812 Backends: Metal: Align code more closely with other backends. OSX: Add missing return for mouse pos events. rokups 2022-05-04 16:29:07 +03:00
  • 55f8989392 Docs update, binaries link + Backend: Allegro: fix warning (#5281) ocornut 2022-05-04 15:00:41 +02:00
  • 6d27fecce1 Debug: added DebugTextEncoding() to help diagnose between text encoding issues and font loading issues. Simplified code + extracted DebugNodeFontGlyph(). ocornut 2022-05-03 14:46:19 +02:00
  • e668890837 Debug: added encoding viewer in Metrics. Adrien LPN 2021-06-17 19:58:50 +02:00
  • d666a1d473 Backends: OSX, Metal: Amend d111133, tidying up, remove unused, misc tweaks. . (#4821, #2778) ocornut 2022-05-03 17:53:47 +02:00
  • 6868d11669 Backends: OSX, Metal: Added multi-viewports support. (#4821, #2778) stuartcarnie 2022-05-03 16:38:16 +03:00
  • 414165d23f Merge branch 'master' into docking ocornut 2022-05-03 14:40:17 +02:00
  • e66fc22057 Backends: OSX: Removed ImGui_ImplOSX_HandleEvent() from backend API. Move event tracking (desktop only) to OSX backend. (#4821) stuartcarnie 2022-04-27 16:51:01 +03:00
  • 26f817807c Backends: Vulkan: Don't use VK_PRESENT_MODE_MAX_ENUM_KHR as specs state it isn't part of the API. (#5254) ocornut 2022-05-03 12:51:51 +02:00
  • d58b8414b9 Backends: OSX, Metal: Tweaks. Use preferred method of obtaining a timestamp. (#4821) stuartcarnie 2022-04-27 16:33:14 +03:00
  • 3e5dde9a26 Tables: Fixed incorrect auto-fit of parent windows when using non-resizable weighted columns. (#5276) ocornut 2022-05-02 16:32:17 +02:00
  • 709bc03d6f Backends: GLFW: fixed ImGui_ImplGlfw_TranslateUntranslatedKey() for lower case letters on OSX (#5260, #5261) cpichard 2022-04-30 08:21:04 +01:00
  • 314c7bd12f Internals: renamed ImGuiInputReadMode to ImGuiNavReadMode (internals) to avoid ambiguity with upcoming flags. + minor tweak ocornut 2022-04-12 15:46:27 +02:00
  • e54db4ee70 Backends: OSX, Metal: Store backend data in a per-context struct, allowing to use these backends with multiple contexts. (#5203, #5221, #4141) noisewuwei 2022-04-20 21:31:44 +08:00
  • 04689979b4 Examples: Emscripten+WebGPU: Fix for latest spec rename of WGPURenderPassColorAttachment::clearColor to ::clearValue (#3632) ocornut 2022-04-22 20:38:59 +02:00
  • ec48681455 Windows: Fixed first-time windows appearing in negative coordinates. (#5215, #3414) Dima Koltun 2022-04-22 20:20:40 +02:00
  • b5b704d376 Windows: Fixed first-time windows appearing in negative coordinates. (#5215, #3414) Dima Koltun 2022-04-22 20:20:40 +02:00
  • 8dd5425182 Merge branch 'master' into docking ocornut 2022-04-22 19:15:37 +02:00
  • 5b29d14783 Layout: Fixed mixing up SameLine() and SetCursorPos() together. SameLine() is a stateful. ocornut 2022-04-22 17:15:09 +02:00
  • eda7792b15 Internals: swapped blocks in TextEx() to make it easier to step through common cases. Tweak demo. ocornut 2022-04-14 15:09:56 +02:00
  • 28b2089ee4 Internals: moved ItemSize() variant to inline + comment. + Tidying up todo list (#5191) ocornut 2022-04-13 21:26:05 +02:00
  • 14ca75d4e7 Backends: SDL, OpenGL3: Small fixes for AmigaOS4. (#5190) + Allow redefining IM_COL32_XXX layout macros. (#5190, #767, #844) Andrea Palmatè 2022-04-13 20:38:45 +02:00
  • 088487a3d4 Nav: Fixed nav movement in a scope with only one disabled item from focusing the disabled item. (#5189) ocornut 2022-04-13 12:34:13 +02:00
  • fc203c7d76 Minor fix to sastisfy PVS-Studio warning. (amend, 3nd attempt: this is a false positive from PVS studio) ocornut 2022-04-12 15:19:16 +02:00
  • 6d15a506fa Internals: removed GetIDNoKeepAlive() now that it is the same as GetID(). (#5181) ocornut 2022-04-12 14:49:21 +02:00
  • 90386780e3 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). ocornut 2022-04-12 14:44:57 +02:00
  • 937d073328 Updated comment about Edit.NavigateTo to Edit.GoToAll. (#5179) David Maas 2022-04-08 11:48:59 -05:00
  • f7f30476d5 Added comments about requirement for bilinear filtering. (#5156, #3245) + Backends: SDL_Renderer: Explicitely call SDL_SetTextureScaleMode(). (#4927) ocornut 2022-04-07 14:28:08 +02:00
  • 505f19e3b0 Merge branch 'master' into docking ocornut 2022-04-05 17:55:53 +02:00
  • 2c03aac6d3 Renamed ImGuiKeyModFlags to ImGuiModFlags (Breaking but technically never advertised type) ocornut 2022-04-05 15:42:19 +02:00
  • a472e8834b InputScalar: Automatically allow hexadecimal/scientific input when format is adequate. ocornut 2022-04-05 15:13:37 +02:00
  • c521883be4 Sliders, Drags: Fixed manual input when using hexadecimal display format string. (#5165, #3133) ocornut 2022-04-04 18:20:04 +02:00
  • 508c9aaf60 Sliders, Drags: Fixed using hexadecimal display format strings (pretty much never worked). (#5165, #3133) ocornut 2022-04-04 14:20:26 +02:00
  • f5c5926fb9 Internals: remove obsolete variants of RenderArrow(), RenderBullet(), ImHash() + misc comments. ocornut 2022-03-29 14:49:18 +02:00
  • 88fbc31ee0 stb_truetype: fix a division by zero (unused chain of result, but triggering debuggers). (#5139, #5075) ocornut 2022-03-29 14:23:30 +02:00
  • 2747a8ca40 Turned ImVec2 to const ref to RenderChar(), RenderText(), ColorButton(), PushClipRect(). for consistency. Comments about polygon filling winding order. ocornut 2022-03-29 11:46:30 +02:00
  • 0dec430707 Menus: Adjusted BeginMenu() closing logic so hovering void or non-MenuItem() in parent window always lead to menu closure. ocornut 2022-03-28 11:14:07 +02:00
  • 2d76b09d2e Backends: Metal: Conditional check, amend 7602277 (#5122, #5123) whale02 2022-03-28 09:58:27 +01:00
  • 1ba2905017 Update README, quote, mission statement ocornut 2022-03-25 15:40:29 +01:00
  • 3587ee492b Viewports: store Viewport field in ImGuiWindow to facilitate using code accross branches + fix PVS warnings. ocornut 2022-03-25 12:36:52 +01:00
  • dfbe938e54 InputText: Fixed pressing Tab emitting two tabs characters. (#2467, #1336) ocornut 2022-03-24 12:04:49 +01:00
  • 16ddc1698d Fixed creating multiple-context (regression in 28ba54a). (#5135) ocornut 2022-03-24 10:57:28 +01:00
  • 377b864bb4 Merge branch 'master' into docking ocornut 2022-03-23 17:21:34 +01:00
  • 1ad8ad623e Backends: GLFW: Fixed keyboard modifiers events being reported incorrectly on Linux/X11. Rokas Kupstys 2022-03-23 15:01:57 +02:00
  • 7d7bf993bb ImDrawList: Fix texture-based anti-aliasing with RGBA textures (#5132, #3245) cfillion 2022-03-22 20:24:38 -04:00
  • 3c07879504 Backends: OSX: Inputs: Monitor NSKeyUp events to catch missing keyUp for key when user press Cmd + key (#5128) thedmd 2022-03-22 18:45:27 +01:00
  • 9b0c26b0b2 Backends: SDL: Fix more dragging issues. SDL_CaptureMouse() is essentially broken. (#5012, #5082) ocornut 2022-03-22 18:06:48 +01:00
  • c5f67218bf Backends: SDL: Fix multi-viewport dragging issue with SDL on some systems. (v2 for master, using bd->MouseButtonsDown == 0) (#5012, #5082) Rokas Kupstys 2022-02-25 17:18:40 +01:00
  • 7602277c86 Backends: Metal: Remove weak ref (#5122, #5123) Wvader 2022-03-19 16:33:56 +00:00
  • 31e77eacdb Backends: SDL: Add extra mouse buttons handling (#5125) Sergiu Giurgiu 2022-03-19 19:13:31 -04:00
  • 6fae29679a Examples: Emscripten: Fix build. (#3632) ocornut 2022-03-15 18:32:49 +07:00
  • 28ba54a32a Internals: add AddSettingsHandler(), RemoveSettingsHandler(). ocornut 2022-03-14 10:23:30 +07:00
  • fd06ed833b Misc: tweaks + fix warnings on backends withtout -wno-memaccess (#4995, #5104) ocornut 2022-03-13 13:15:32 +07:00
  • 0cff5ac5a1 Updated stb_textedit.h from 1.20 to 1.26 (many fixes). (#5075) ocornut 2022-03-13 17:49:37 +07:00
  • de451d4474 Updated stb_textedit.h from 1.13 to 1.14. (#5075) ocornut 2022-03-13 13:02:56 +07:00
  • 279db55840 Updated stb_rect_pack.h from 1.00 to 1.01. (#5075) ocornut 2022-03-13 12:58:40 +07:00
  • 3deb92c2c5 Add IMGUI_STB_SPRINTF_FILENAME to support custom stb_printf.h include path (#5068, #2954) jakubtomsu 2022-03-13 12:47:14 +07:00
  • 0f14933577 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) ocornut 2022-03-01 18:45:41 +01:00
  • 6315716f23 Backends: Glut: Fix comparison operator precedence. Rokas Kupstys 2022-02-19 10:22:24 +02:00
  • 1e18da5c38 Backends, Examples: Add comments about using WndProc handler and WantCaptureXXX flags. (#5061) ocornut 2022-02-28 20:50:58 +01:00
  • 54fb051e52 ColorEdit: Fixed text baseline alignment after a SameLine() after a ColorEdit() with visible label. ocornut 2022-02-28 16:12:43 +01:00
  • f337378066 Backends: SDL: Fix multi-viewport dragging issue with SDL on some systems. (#5012) Rokas Kupstys 2022-02-25 17:18:40 +01:00
  • 8639a2f9f8 Viewports: Fixed translating a host viewport from briefly altering the size of AlwaysAutoResize windows. (#5057) ocornut 2022-02-25 16:41:40 +01:00
  • 64519c6875 Docking: Fixed floating docked nodes not being clamped into viewport workrect to stay reachable when g.ConfigWindowsMoveFromTitleBarOnly is set and multi-viewports are disabled. (#5044) ocornut 2022-02-22 16:21:10 +01:00
  • 7b0d58c5e5 Merge branch 'master' into docking ocornut 2022-02-22 14:57:17 +01:00
  • fa2b318dd6 IO: Fixed input queue trickling of interleaved keys/chars events when InputText() is not active. (#4921, #4858) ocornut 2022-02-22 14:36:27 +01:00
  • 5659db5529 IO: Fixed backward-compatibility accesses to io.KeysDown[]. (#4921, #4858) ocornut 2022-02-21 21:27:28 +01:00
  • a61ca097a7 Backends: OSX: Fix typo in scrolling event handler. (#5036) Jan Sikorski 2022-02-19 18:57:41 +01:00
  • dca527be1b Clipper: Assert on extraneous calls to Step(). (#4822) + Demo tweak. ocornut 2022-02-18 18:39:29 +01:00
  • 9948535118 Merge branch 'master' into docking ocornut 2022-02-17 18:47:43 +01:00
  • 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. ocornut 2022-02-17 18:39:03 +01:00
  • 421e73e6db Fix an assert in metrics. ocornut 2022-02-17 15:36:00 +01:00
  • d9e60d29e1 Clipper: Fixed a regresssion when not calling End() + calling End() twice as well. (#4822) ocornut 2022-02-17 11:09:06 +01:00
  • 5c8f8d0311 ImVector: Fixed erase() with empty range. (#5009) amend/fix b6b8f66 thedmd 2022-02-16 19:50:36 +01:00
  • 2dfa71fad5 Inputs: Fixed IsMouseClicked() repeat mode rate being half of keyboard repeat rate. Using KeyModAlt. Removed KeyModsPrev. ocornut 2022-02-16 19:32:46 +01:00
  • 7ff41a78f9 Fonts: binary_to_compressed_c.cpp gained -nostatic option (#5021) Konstantin Podsvirov 2022-02-15 22:16:55 +03:00
  • 8d3906365d CI: Fixes for OSX + explicitely request C++11. ocornut 2022-02-15 17:06:50 +01:00
  • b6b8f6634e ImVector: Fixed erase() with empty range. (#5009) thedmd 2022-02-15 11:14:43 +01:00
  • 5854da10e6 Declare other structures as constexpr (#4995) + rename ImGuiInputEventType_Char to ImGuiInputEventType_Text for consistency with event structure. ocornut 2022-02-11 12:24:32 +01:00
  • 71f98dd056 Declare ImVec2 and ImVec4 constructors as constexpr (#4995) Jeff Mears 2022-02-07 17:09:43 -08:00
  • 1e14cc5cae Viewports: Fixed main viewport size not matching ImDrawData::DisplaySize for one frame during resize when multi-viewports are disabled. (#4900) ocornut 2022-02-10 18:50:28 +01:00
  • 955aacfbc5 GCC: Disable deprecated-enum-enum-conversion for gcc as well (#4997) Borislav Stanimirov 2022-02-09 10:47:11 +02:00
  • 4691fa0ed5 ImDrawList: PthArcTo: Add small tolerance when comparing angles (#4993) thedmd 2022-02-08 13:33:26 +01:00
  • aa79d0cd2f Stack Tool: Added option to copy item path to clipboard. (#4631) ocornut 2022-02-08 14:45:57 +01:00
  • 88de982071 Version 1.88 WIP ocornut 2022-02-08 14:44:06 +01:00
  • aa86800092 Internals: rework RenderMouseCursor() signature so we can use it in docking branch more naturally. (Merged from master+ rework for docking) ocornut 2022-02-08 12:22:46 +01:00
  • 97b1abd6dd Internals: rework RenderMouseCursor() signature so we can use it in docking branch more naturally. ocornut 2022-02-08 12:22:46 +01:00
  • 1ee252772a Merge branch 'master' into docking ocornut 2022-02-07 18:20:10 +01:00
  • c71a50deb5 Version 1.87 v1.87 ocornut 2022-02-07 17:41:24 +01:00
  • 033538731c Merge branch 'master' into docking ocornut 2022-02-07 16:18:19 +01:00
  • e52bb147a7 Backends: GLFW: Added ImGui_ImplGlfw_InstallCallbacks()/ImGui_ImplGlfw_RestoreCallbacks(). (#4981) ocornut 2022-02-07 16:00:13 +01:00
  • 732bc2058e Backends: GLFW: Handle spurious leave/enter sequences apparently submitted by X11/GLFW combo. (#4984) ocornut 2022-02-07 15:59:28 +01:00