1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-02-17 11:08:42 +01:00

Commit Graph

  • 914fbcf2e5 Fonts: removed unnecessary const qualifier from ImFont::FindGlyph() ocornut 2025-02-07 16:23:00 +01:00
  • ecf85a5d27 New SDL2 WGPU example BrutPitt 2025-02-07 06:08:45 +01:00
  • 714f33e428 Adjustment in struct WGPUVertexAttribute for changes of the last release of Google Dawn BrutPitt 2025-02-07 06:07:09 +01:00
  • 7454770f5b ImGui WebGPU examples: removed swap-chain in favor of surfaceConfigure - https://github.com/ocornut/imgui/issues/8191 BrutPitt 2025-02-07 06:00:17 +01:00
  • 4f1d3809c3 Fixed tabs and spaces (#8377) fdsa 2025-02-05 18:41:03 -08:00
  • 0625b37760 Scrollbar: Rework logic that fades-out scrollbar when it becomes too small. ocornut 2025-02-06 18:37:32 +01:00
  • cfed18afc7 Add ImFontConfig::GlyphExtraAdvanceX as a replacement for GlyphExtraSpacing.x (#242) ocornut 2025-02-06 12:34:37 +01:00
  • 6cb7b051b7 Code Style: Fix tabs and spaces fdsa 2025-02-05 18:41:03 -08:00
  • f3ac6884b5
    Merge remote-tracking branch 'upstream/docking' into docking Mihaly Sisak 2025-02-05 21:58:31 +01:00
  • 2d20e13746 Backends: GLFW: Added comment about io.AddMouseSourceEvent() not being properly called. (#8374) ocornut 2025-02-04 20:19:57 +01:00
  • d80347613a Merge branch 'master' into docking ocornut 2025-02-03 18:42:24 +01:00
  • 1a31e31ae9 (Breaking) Fonts: removed ImFontConfig::GlyphExtraSpacing option which seems largely obsolete and unused. (#242) ocornut 2025-02-03 17:55:35 +01:00
  • de962e83d0 ImFont: remove SetGlyphVisible() ocornut 2025-02-03 17:50:12 +01:00
  • da0ba9e2fe Backends: WebGPU: add type alias for dawn WGPUProgrammableStageDescriptor -> WGPUComputeState. (#8369) PhantomCloak 2025-02-02 19:25:09 +03:00
  • 5dd84082ab InputTextWithHint(): Fixed buffer overflow when user callback modifies the buffer contents in a way that alters hint visibility. (#8368) ocornut 2025-02-03 15:11:03 +01:00
  • 204cebc8fc Backends: Metal: Fixed a crash on application resources. (#8367, #7419) [@anszom] ocornut 2025-02-03 14:21:53 +01:00
  • 6265339995 Fixed IsItemDeactivatedAfterEdit() signal being broken for Checkbox(), RadioButton(), Selectable(). (#8370) ocornut 2025-02-03 14:01:48 +01:00
  • f820bf7cd4 Version 1.91.9 WIP ocornut 2025-02-03 12:33:40 +01:00
  • 284763ac43
    Merge remote-tracking branch 'upstream/docking' into docking Mihaly Sisak 2025-02-03 12:15:27 +01:00
  • 8d8908fcdc WebGPU: add type alias for dawn WGPUProgrammableStageDescriptor -> WGPUComputeState PhantomCloak 2025-02-02 19:25:09 +03:00
  • 6dd0d32a73
    Backends: Vulkan: load non-extension dynamic rendering functions for Vulkan 1.3 Ali Cheraghi 2025-02-01 14:32:06 +03:30
  • e4db4e423d Internals: renamed GetIOEx() to GetIO(). Added GetPlatformIO() explicit context variant. - OOPS ocornut 2025-01-31 19:50:18 +01:00
  • 1820fe5f83 Comments, minor alignments tweaks. ocornut 2025-01-31 19:02:14 +01:00
  • e2a99b5760 Internals: renamed GetIOEx() to GetIO(). Added GetPlatformIO() explicit context variant. ocornut 2025-01-31 18:26:52 +01:00
  • 29086d8b89 Add CMake project Konstantin Podsvirov 2019-04-09 18:47:06 +03:00
  • 11b3a7c8ca Merge branch 'master' into docking v1.91.8-docking ocornut 2025-01-31 16:10:20 +01:00
  • dbb5eeaadf Version 1.91.8 v1.91.8 ocornut 2025-01-31 15:57:48 +01:00
  • e6c5296f30
    Examples: SDL3: Fix for Emscripten platform (#8363) Konstantin Podsvirov 2025-01-31 16:11:33 +03:00
  • a1778e5d52 Examples: SDL3: Fix for Emscripten platform Konstantin Podsvirov 2025-01-31 02:59:28 +03:00
  • ae6cfd32a0 Tables, Menus: Fixed tables or child windows submitted inside BeginMainMenuBar() being unable to save their settings. (#8356) ocornut 2025-01-30 14:34:05 +01:00
  • fa178f4235 Error Handling: Recovery from missing EndMenuBar() call. (#1651) ocornut 2025-01-30 14:30:14 +01:00
  • c2dcc80660 Docking: fixed ImGuiWindowFlags_DockNodeHost/ImGuiWindowFlags_NavFlattened clash introduced by c38c18c1a just for 1.91.7 (#8357) ocornut 2025-01-30 11:39:52 +01:00
  • 1dc776208e Fixed zealous GCC warning. (#8355) ocornut 2025-01-29 20:13:22 +01:00
  • c0308da665 Fixed zealous GCC warning. (#8355) ocornut 2025-01-29 20:13:22 +01:00
  • 082595200d Merge branch 'master' into docking ocornut 2025-01-29 20:04:45 +01:00
  • dabc990189 Rename internal id for standardizing naming convention. "##menubar" -> "##MenuBar", "###NavWindowingList" -> "###NavWindowingOverlay" ocornut 2025-01-29 19:59:41 +01:00
  • a71191515a EndMainMenuBar doesn't attempt to restore focus when there's an active id. (#8355) ocornut 2025-01-29 19:07:28 +01:00
  • dfd1bc3c5b Tables, Menus: Fixed using BeginTable() in menu layer (any menu bar). (#8355) ocornut 2025-01-29 19:05:18 +01:00
  • 137f99ebab Update imgui_impl_win32.cpp sneakyevil 2025-01-28 22:37:03 +01:00
  • 1065aa6ae5
    Merge a1363038ae828acd1b2c722899a1cd60abdf7d6f into 4230e98720357c5e770e3a078a9e4d09f0923279 Zach 2025-01-28 22:24:48 +02:00
  • 4230e98720 Error Handling, Debug Log: IMGUI_DEBUG_LOG_ERROR() doesn't need the extra variable. ocornut 2025-01-28 14:39:00 +01:00
  • 5e236ee2ff
    merging upstream Mihaly Sisak 2025-01-27 21:40:57 +01:00
  • ea0da0bf47 Extracted PushPasswordFont() out of InputText code. ocornut 2025-01-27 18:04:44 +01:00
  • 75d99659c4 Docking: move DockTabItemStatusFlags stuff next to its peers in DC structure. ocornut 2025-01-27 15:48:20 +01:00
  • db4e541306 Merge branch 'master' into docking ocornut 2025-01-27 15:45:26 +01:00
  • 9c4948a4d1 TabBar: Internals: added TabItemSpacing(). (#8349, #3291) ocornut 2025-01-27 15:41:24 +01:00
  • a05d547ae8 Windows: separating WindowItemStatusFlags from ChildItemStatusFlag, because IsItemXXX _after_ BeginChild()>Begin() shouldn't return last status emitted by e.g. EndChild() ocornut 2025-01-27 14:39:26 +01:00
  • 134fbe1245 Windows: Fixed IsItemXXXX() functions not working on append-version of EndChild(). (#8350) ocornut 2025-01-27 12:39:44 +01:00
  • 5a28f188ff Fixed parameter names to SetLastItemData() to align with current names. ocornut 2025-01-27 12:27:10 +01:00
  • cd15f7e6f9
    add ImGuiWindowFlags_UserDrawnOverlappingDecorators Mihaly Sisak 2025-01-25 15:38:50 +01:00
  • 81dab646ee Merge branch 'master' into docking ocornut 2025-01-25 01:15:30 +01:00
  • 96e3b147f0 Fixed build with IMGUI_ENABLE_FREETYPE (#8346) ocornut 2025-01-25 01:14:46 +01:00
  • afb6e9a879 Fonts: OversampleH auto-selection uses 36 as heuristic for now. ocornut 2025-01-24 20:03:04 +01:00
  • 355cb589e3 Merge branch 'master' into docking, incl conflict merge in BeginMenuBar() for #8267 ocornut 2025-01-24 19:40:54 +01:00
  • 8a1613a382 Fonts: OversampleH/OversampleV value defaults to 0 for automatic selection. ocornut 2025-01-24 19:27:50 +01:00
  • 4211fdc70b ImFont: compact comments in header section. ocornut 2025-01-22 15:44:51 +01:00
  • 9eafb7bbfb ImFont: IndexLookup[] table hold 16-bit values even in ImWchar32 mode. ocornut 2025-01-24 16:54:59 +01:00
  • 53244aaac7 Amend 9bc5b04 with a shadowed variable warning fix. ocornut 2025-01-24 15:00:21 +01:00
  • ed7551c1d4 Selectable: Fixed horizontal label alignment when combined with using ImGuiSelectableFlags_SpanAllColumns. (#8338) ocornut 2025-01-24 14:59:37 +01:00
  • bbf957875b Amend 9bc5b04 to avoid using GImGui mid-function. ocornut 2025-01-24 14:43:16 +01:00
  • 9bc5b0406d Windows, Style: Fixed small rendering issues with menu bar, resize grip and scrollbar when using thick border sizes. (#8267, #7887) ocornut 2025-01-24 14:39:07 +01:00
  • 10199341b1 ImFontAtlas: made calling ClearFonts() call ClearInputData(). (#8174, #6556, #6336, #4723) ocornut 2025-01-23 11:31:32 +01:00
  • 71da34c48c Debug Tools: Tweaked font preview + indent "Glyphs" block. ocornut 2025-01-22 16:56:18 +01:00
  • 64e738cae7 Merge branch 'master' into docking ocornut 2025-01-22 12:19:09 +01:00
  • 6906ac979e ColorEdit, ColorPicker: (Breaking) redesigned how alpha is displayed in the preview square. (#8335, #1578, #346) ocornut 2025-01-22 12:12:07 +01:00
  • fdca6c08ad Inputs: added IsMouseReleasedWithDelay() helper. (#8337, #8320) ocornut 2025-01-22 11:28:47 +01:00
  • d17e9fc107 Backends: SDL_GPU: shallow tweaks + disable anisotropy in sampler. Examples: SDL+Vulkan: Fixed incorrect defines. ocornut 2025-01-22 10:32:09 +01:00
  • 3e6bdc2242 Examples: SDL3+SDL_GPU: use SDL_GPU_PRESENTMODE_MAILBOX swapchain parameters. ocornut 2025-01-22 10:22:31 +01:00
  • a3802c84fd Backends: SDL3: new viewport windows are created with the SDL_WINDOW_HIDDEN flag before calling SDL_ShowWindow(). (#8328 David Maas 2025-01-22 10:01:40 +01:00
  • bf13442c7c Moved ImGuiColorEditFlags_AlphaPreview/ImGuiColorEditFlags_AlphaPreviewHalf flags. Demo: reorganized some of color edit/picker demo section. ocornut 2025-01-21 14:59:29 +01:00
  • 2af26b75d1 ColorEdit, ColorPicker: Fixed alpha preview broken in 1.91.7. (#8336, #8241). [@PathogenDavid] David Maas 2025-01-21 14:25:39 +01:00
  • 7ae7c90790 Tabs, Style: reworked selected overline rendering to better accommodate for rounded tabs. (#8334) ocornut 2025-01-21 13:55:44 +01:00
  • 6e94f6cefb Merge branch 'master' into docking ocornut 2025-01-20 18:04:31 +01:00
  • e8779a67b1 Font: direct AddText()/RenderText() calls don't need to call strlen() if below clipping region. ocornut 2025-01-20 17:55:09 +01:00
  • 4c2e7bb035 Backends: SDL2,SDL3: removed assert preventing using ImGui_ImplSDL2_SetGamepadMode()/ImGui_ImplSDL3_SetGamepadMode() with ImGui_ImplSDL2_GamepadMode_Manual/ImGui_ImplSDL3_GamepadMode_Manual and an empty array. (#8329) ocornut 2025-01-20 15:24:46 +01:00
  • 8b0af7fddc Backends: SDL: update comments regarding API stability, regarding SDL_GPU and SDL_Renderer. ocornut 2025-01-20 14:30:40 +01:00
  • aa1b4ea861 Backends: OSX: Remove notification observer when shutting down. (#8331) Julian Rachele 2025-01-19 16:30:15 -05:00
  • 6189b28624 Backends: OSX: Remove notification observer when shutting down Julian Rachele 2025-01-19 16:30:15 -05:00
  • da14ae3d21 Updated SDL2 examples to open/close game controllers. Daniel K. O. (dkosmari) 2025-01-19 03:27:25 -03:00
  • 035799c5cc Backends/SDL2: do not access nor manage the SDL_GameController objects directly, use events instead; removed ImGui_ImplSDL2_SetGamepadMode(). Daniel K. O. (dkosmari) 2025-01-19 02:52:38 -03:00
  • c57545b441 Created backend-sdl2-gamecontroller-events branch. Daniel K. O. (dkosmari) 2025-01-19 03:38:58 -03:00
  • aa23f3801b Backends: SDL_Renderer2/3: Use endian-dependent RGBA32 texture format, to match SDL_Color. (#8327) Daniel K. O. (dkosmari) 2025-01-17 19:18:05 -03:00
  • 80c9cd1f6e Font: reduce unnecessary padding in ImFontConfig struct too. ocornut 2025-01-18 16:43:17 +01:00
  • 65c5cb9d24 sdlrenderer2: Use endian-dependent RGBA32 texture format, to match SDL_Color. Daniel K. O. (dkosmari) 2025-01-17 19:18:05 -03:00
  • d7454de80a Font: minor tweak to struct alignment. ocornut 2025-01-17 18:09:28 +01:00
  • dd89a3741b Backends: Vulkan: sharing duplicate code. (#5446, #8326) ocornut 2025-01-17 17:11:22 +01:00
  • 487d7f9a29 Font: Internals: make used page maps smaller. Since it's extremely rarely used and for iterations only. ~34->16 bytes with ImWchar32. ocornut 2025-01-16 22:30:43 +01:00
  • f2262eb81a Windows: latch FontRefSize at time of Begin(), consistent with e.g. TitleBarHeight, and to avoid calling CalcFontSize() on non-current window. ocornut 2025-01-16 19:46:54 +01:00
  • b7c27c5333 Windows: legacy SetWindowFontScale() is properly inherited by nested child windows. (#2701, #8138, #1018) ocornut 2025-01-16 19:07:09 +01:00
  • 4c64ba16c5 imgui_freetype: fixed issue where glyph advances would incorrectly be snapped to pixels. ocornut 2025-01-16 17:42:00 +01:00
  • 007735737a
    Ignore vscode artifacts (#8324) Diego Mateos 2025-01-16 17:10:26 +01:00
  • 1aafdf8df4
    gitignore vscode artifacts Diego Mateos 2025-01-16 16:20:40 +01:00
  • b4a5d1dc53 Backends: SDLGPU3: Rename GpuDevice->Device. Expose ImGui_ImplSDLGPU3_CreateDeviceObjects(), ImGui_ImplSDLGPU3_DestroyDeviceObjects(). Misc renaming. (#8163, #7998, #7988) ocornut 2025-01-16 12:42:54 +01:00
  • 109dd2be5d Backends: Vulkan: VK_SUBOPTIMAL_KHR doesn't skip frame. (#7831, #7825) ocornut 2025-01-15 17:50:57 +01:00
  • 507cdba44e Backends: Vulkan: vkQueuePresentKHR() returning VK_SUBOPTIMAL_KHR keeps moving forward. (#7825) ocornut 2025-01-15 17:38:37 +01:00
  • 015186aaf8 Merge branch 'master' into docking ocornut 2025-01-15 17:34:17 +01:00
  • 0f33d7185f Examples: Vulkan: vkAcquireNextImageKHR() and vkQueuePresentKHR() returning VK_SUBOPTIMAL_KHR keeps moving forward. (#7825, #7831) ocornut 2025-01-15 17:25:44 +01:00
  • b9badb597a Backends: Vulkan: removed misleading code incrementing frameindex. (#7834) ocornut 2025-01-15 17:08:04 +01:00
  • 8ebf22d3c1 Backends: Vulkan: use ImVector<> for simplicity. ocornut 2025-01-15 16:10:47 +01:00
  • 6684984c49 Examples: DirectX12: Reduced number of frame in flight from 3 to 2 in provided example, to reduce latency. ocornut 2025-01-15 15:13:05 +01:00