Commit Graph

  • 0b865136e3 Internals: Settings: Added FindWindowSettingsByName() (replacing old version by ID) FindWindowSettingsByWindow() + remove unnecessary FindOrCreateWindowSettings(). ocornut 2023-02-10 15:33:33 +0100
  • 0d7d877cb5 Backends: SDL3: Update for latest. ocornut 2023-02-10 14:45:42 +0100
  • 99c0bd65df Added SeparatorText() widget. (#1643) ocornut 2023-02-10 12:16:23 +0100
  • bea7716228 Backends: OpenGL3: Add compatibility of GL_VERSION for GL 2.x (#6154) Laurens Holst 2023-02-09 21:56:04 +0100
  • 85395b76b0 CI: Update versions. ocornut 2023-02-07 20:17:18 +0100
  • fac19e1883 Backends: SDL2:+SDL3 Implement SetPlatformImeDataFn (amends). (#6071, #1953) + fix SDL3 setting PlatformHandleRaw. (#6146) ocornut 2023-02-07 18:55:10 +0100
  • 734c6af187 Backends: SDL2: Implement SetPlatformImeDataFn. (#6071, #1953) imkzh 2023-01-12 18:42:38 +0800
  • 95412ad3a5 Backends: SDL3: Removed unnecessary #ifdef. ocornut 2023-02-07 17:09:51 +0100
  • a526ff8c30 Backends: SDL3: Added multi-viewports support. (#6146) ocornut 2023-02-07 16:30:58 +0100
  • e4233c6fb6 Merge branch 'master' into docking (doesn't include viewports-related changes for new SDL3 backend) ocornut 2023-02-07 16:23:49 +0100
  • 13fbd99491 Backends: SDL3: update to run with SDL3. Examples: Add SDL3+Gl example. Remove some version checks. (#6146) ocornut 2023-02-07 13:49:37 +0100
  • d9bf80f655 Backends: SDL3: copied imgui_impl_sdl2 into imgui_impl_sdl3 and ONLY replaced strings (1/2). (#6146) ocornut 2023-02-07 13:26:24 +0100
  • e816bc6723 Merge misc changes from docking branch to reduce small drift. ocornut 2023-02-07 12:24:42 +0100
  • c6de9d0733
    Merge fe66678e79 into 1b27ac982f Rodrigo Rivas Costa 2023-02-07 12:33:34 +0100
  • 1b27ac982f Backends+Examples: SDL2: renamed imgui_impl_sdl.cpp/.h to imgui_impl_sdl2.cpp/.h. (#6146) ocornut 2023-02-07 11:54:50 +0100
  • 7231cd02b6
    Changed date :P Dovydas Vaičiukynas 2023-02-04 18:38:02 +0200
  • 8dec115a42
    Merge 0c149afbc5 into d6ea56dfd9 Zhenghao Ke 2023-02-04 18:28:21 +0200
  • 0b58e96762 Translated from SDL2 to SDL3 Dovydas Vaičiukynas 2023-02-04 18:19:41 +0200
  • c807192abc Tables: amend f799a29 with a better solution + fix potential overflow (#6140) ocornut 2023-02-03 22:50:43 +0100
  • d6ea56dfd9 Tables: amend f799a29 with a better solution + fix potential overflow (#6140) ocornut 2023-02-03 22:50:43 +0100
  • ea39841fcd Examples: (Again, but better) made SDL+GL and GLFW+GL examples build with Emscripten. (#2492, #2494, #3699, #3705) ocornut 2023-02-03 22:23:23 +0100
  • b0a936e5d4 Merge branch 'master' into docking (incl revert of examples refactor) ocornut 2023-02-03 22:38:39 +0100
  • 97a1f761c6 Examples: (Again, but better) made SDL+GL and GLFW+GL examples build with Emscripten. (#2492, #2494, #3699, #3705) ocornut 2023-02-03 22:23:23 +0100
  • f43c6ea6a4 Revert most of "Examples: refactor all examples with a MainLoopStep() function..." (#2492, #3699)" ocornut 2023-02-03 20:54:44 +0100
  • fe66678e79 Use FNV1a as a 64-bit hash algorithm. Rodrigo Rivas Costa 2023-02-02 22:34:47 +0100
  • f799a293c8 Tables: Solved an ID conflict issue with multiple-instances of a same table. Storing instance id for convenience. (#6140) ocornut 2023-02-03 19:20:18 +0100
  • d490b29a0b Dpi: add EmVec2() and EmSize() / terse way to handle DPI independent layout Pascal Thomet 2023-02-03 17:55:43 +0100
  • c75410e72c
    Debug: fix display order of InputText's data CurLenA/CurLenW (#6143) Giuseppe Barbieri 2023-02-03 17:55:26 +0100
  • a085581057 Backends: GLFW: added ImGui_ImplGlfw_SetCallbacksChainForAllWindows(). (#6142) ocornut 2023-02-03 17:53:53 +0100
  • d2b343bc01
    Update imgui_widgets.cpp Giuseppe Barbieri 2023-02-03 17:13:05 +0100
  • 265b88273e Backends: Fixed pragma warning with old GCC. ocornut 2023-02-03 16:14:49 +0100
  • d0b1aaa076 Backends: GLFW: Registering custom low-level mouse wheel handler to get more accurate scrolling impulses on Emscripten. (#4019, #6096) ocornut 2023-02-03 15:00:41 +0100
  • 416f90c124 New function ImHashAdd() to create a new ID instead of (ID + int). Rodrigo Rivas Costa 2023-02-02 22:36:10 +0100
  • 6584de4a78 Backends: SDL: Avoid calling SDL_SetCursor() when cursor has not changed. (#6113) ocornut 2023-02-02 21:28:28 +0100
  • 5ebb6a2954 Merge branch 'master' into docking ocornut 2023-02-02 19:38:24 +0100
  • 46efed8b70 CI: Fix Emscripten build. ocornut 2023-02-02 19:33:03 +0100
  • 1f1861dae6 Backends: Added support for SDL 2.0.18+ preciseX/preciseY mouse wheel data for smooth scrolling + scaling for Emscripten. (#4019, #6096) ocornut 2023-02-02 18:33:04 +0100
  • 5386ddcd05 Merge branch 'master' into docking ocornut 2023-02-02 18:31:26 +0100
  • 624c057ae1 Backends: GLFW: revert flipping mouse-wheel axis for Emscripten. (#4019) ocornut 2023-02-02 18:09:20 +0100
  • ce6e6da510 Examples: Made example_sdl_opengl3 and example_glfw_opengl3 build with Emscripten. Removed dedicated examples. (#2492, #2494, #3699, #3705) ocornut 2023-02-02 18:08:17 +0100
  • 96ab68eee0 Examples: refactor all examples with a MainLoopStep() function, to facilitate use with Emscripten. (#2492, #3699) ocornut 2023-02-02 16:27:33 +0100
  • b51919dce1 Examples: Emscripten+GLFW: revert to use a shell_minimal.html closer to vanilla one, as our fullscreen + misc tweaks to Emscripten+SDL example to match other version. ocornut 2023-02-02 15:02:18 +0100
  • 0370856d78 Backends: GLFW: Removed mouse-wheel value scaling for Emscripten. (#4019, #6096, #6081) ocornut 2023-02-02 14:37:15 +0100
  • f822e07d76 Backends: SDL: Removed SDL_MOUSEWHEEL value clamping. (#4019, #6096, #6081) ocornut 2023-02-02 14:23:39 +0100
  • 887abe9578 Merge branch 'master' into docking ocornut 2023-02-01 22:18:57 +0100
  • 3617a96372 Backends, Inputs: Made horizontal scroll wheel and horizontal scroll direction consistent accross backends/os. (#4019, #6096, #1463) ocornut 2023-02-01 20:50:45 +0100
  • 8d29665ae1 Backends: OSX: Fixed scroll wheel scaling for devices emitting events with hasPreciseScrollingDeltas==false (e.g. non-Apple mices). ocornut 2023-02-01 19:42:22 +0100
  • c73346aedc
    Merge 7383e3be30 into 2efebe3315 K 2023-02-01 01:26:02 +0800
  • 2efebe3315 ShowFontAtlas, Demo: optionally use style text color for tint. (#6129) nahkhiir 2023-01-31 18:05:30 +0100
  • 5a3f82e2f4 Examples: SDL+SDL_Renderer: Added call to SDL_RenderSetScale() to display is correct on a Retina display (albeit lower-res as our other unmodified examples). (#6121, #6065, #5931). ocornut 2023-01-31 15:49:54 +0100
  • 867bdbecb3 Text: fixed issue in RenderText() leading to IM_ASSERT_PARANOID() triggering if enabled. (#6132, #5720, #5919) ocornut 2023-01-31 14:39:45 +0100
  • d719776460 Internals: added 'ImGuiButtonFlags flags' to ImageButtonEx(). (#6126) ocornut 2023-01-31 11:30:27 +0100
  • f142887088 Combo: Allow SetNextWindowSize() to alter combo popup size. (#6130) ocornut 2023-01-31 11:23:24 +0100
  • 836008d8d4 Demo window: Widgets/images - tint_col to use style text colour nahkhiir 2023-01-30 16:45:32 +0000
  • ea1b2a03e5 ShowFontAtlas: metrics/debug - change tint_col to use style text colour nahkhiir 2023-01-30 16:44:06 +0000
  • a0df116f72
    Merge branch 'master' into patch-1 AJ Weeks 2023-01-29 18:36:05 +0100
  • a39c0e0807 Fix input text cursor movement tests (Win + Mac) AJ Weeks 2023-01-29 18:29:41 +0100
  • 259560aa26 Demo: moved sections around in prevision for adding nicer separators. ocornut 2023-01-27 19:01:30 +0100
  • 27f2dd56d6 Internals: move "%s" skip-formatting logic to ImFormatStringToTempBuffer() function, meaning Text() and all the *V() functions can also benefit from it. (#3466) ocornut 2023-01-27 15:24:23 +0100
  • d73e3285de Backends: WebGU: Revert the implicit render pipeline layout generation as introduced in 83bdfef (#6117, #4116, #3632) Basil Fierz 2023-01-25 21:45:03 +0100
  • a2dd2ff05c Revert the implicit render pipeline layout generation as introduced in 83bdfef Basil Fierz 2023-01-25 21:45:03 +0100
  • fc50532213 InputText: On OSX, inhibit usage of Alt key to toggle menu when active (used for work skip). ocornut 2023-01-25 21:44:25 +0100
  • 5741cbae45 Internals: ImFileOpen: fixed misleading use of ImWchar (would allocate more when ImWchar=ImWchar32) + update version for previous changes namely tab bar ones. ocornut 2023-01-25 20:04:19 +0100
  • f4ef420c01 InputText: Added support for Ctrl+Delete to delete up to end of word. (#6067) AJ Weeks 2023-01-10 16:20:20 +0100
  • 07490618ae Misc: Tolerate zero delta-time under Emscripten. (#6114, #3644) ocornut 2023-01-25 14:13:12 +0100
  • fe0a24f38a Examples: Win32: Fixed examples using RegisterClassW() since 1.89 to also call DefWindowProcW(). (#5725, #5961, #5975) Mark Reid 2022-12-06 13:33:53 -0800
  • 3d8885cbbd TabBar: Internals: add GetCurrentTabBar(), TabBarFindTabByOrder(), TabBarGetCurrentTab(), TabBarGetTabOrder(), TabBarGetTabName(), TabBarQueueFocus() + clear LastTabItemIdx on EndTabBar(). (#5853, #5997) ocornut 2023-01-24 19:16:12 +0100
  • 739a79b1e9 ImDrawList: Added missing early-out in AddPolyline() and AddConvexPolyFilled() when color alpha is zero. Window: Avoid rendering shapes for hidden resize grips. ocornut 2023-01-24 17:30:22 +0100
  • 6eb4e95969 Workaround against SDL_GetPerformanceCounter that sometimes stalls Pascal Thomet 2023-01-23 16:53:55 +0100
  • f6db9e2f39 Menus: Fixed layout of MenuItem()/BeginMenu() when label contains a '\n'. (#6116) ocornut 2023-01-24 16:11:38 +0100
  • e8421de23c imgui_single_file: include imgui_freetype.cpp if the define is set. ocornut 2023-01-24 16:04:55 +0100
  • 8f907bc9a2 imgui_freetype: fix warnings (#6104), fix typos. (#6079) ocornut 2023-01-24 15:59:01 +0100
  • 88dfd85e92 Merge branch 'master' into docking ocornut 2023-01-21 00:49:06 +0100
  • 91667430a8 Tables: increase table columns limit from 64 to 512 using bit array allocated in contiguous memory +. (#6094, #5305, #4876, #3572) ocornut 2023-01-20 22:25:45 +0100
  • 14908cba8f Internals: ImBitArray, ImBitVector: using macro helper for common op + disable stack checks on MSVC agressive debug builds. ocornut 2023-01-20 22:23:32 +0100
  • db55422870 Tables: removed hot RequestOutputMaskByIndex bit-array as majority of code-paths are already touching the cold parts. ocornut 2023-01-20 17:55:50 +0100
  • 6342275bbb Backends: GLFW: Handle unsupported glfwGetVideoMode() for Emscripten. (#6096) Cody Tapscott 2023-01-18 15:50:55 -0700
  • 3482d4eccf Text: Fixed layouting of wrapped-text block skipping successive empty lines. (#5720, #5919) ocornut 2023-01-19 15:59:39 +0100
  • 440ecc6fcf Backends: GLFW (Emscripten): Handle unsupported glfwGetVideoMode(). Cody Tapscott 2023-01-18 15:50:55 -0700
  • 5f43b7780c Backends: GLFW (Emscripten): Scale horizontal scroll events to be reasonable Cody Tapscott 2023-01-18 15:35:09 -0700
  • 0359f6e94f Internals: ImDrawList: shallow tweaks to RenderText(). ocornut 2023-01-17 16:04:52 +0100
  • 51c97a41aa PlotHistogram, PlotLines: Passing negative sizes honor alignment like other widgets. ocornut 2023-01-17 18:32:50 +0100
  • 2eae176fc6 Increase maximum table columns from 64 to 320 Roland Hill 2023-01-18 17:38:01 +1100
  • f50c14c984 Simplify distance adjustment hot data Soreepeong 2023-01-18 12:07:43 +0900
  • 135e3736b3 Generalize kern table for use with FreeType Soreepeong 2023-01-18 11:40:55 +0900
  • adab683726 Combo: Flip arrow icon when active zeozeozeo 2023-01-16 23:25:44 +0500
  • 423b3bb13f
    Allow optional disable of OpenGL state restore slowriot 2023-01-15 14:28:28 +0000
  • 227083d977
    Fixed typo in freetype Readme Matthew 2023-01-14 17:25:37 +0000
  • 7482598cc1 add CMakeLists Helgy 2023-01-14 16:23:55 +0200
  • 82fdd7018d
    Update FAQ.md omar 2023-01-13 17:27:44 +0100
  • e1ff5dd42d Kerning: add pair viewer in metrics / font viewer ocornut 2023-01-13 11:51:48 +0100
  • db248c0ef1 TEMP/TEST: test wip codes (remove this commit when done) Soreepeong 2022-03-02 11:31:42 +0900
  • 8573a86bba Account for chars with narrow advX but wide boundingX being at 2nd from last Soreepeong 2022-03-14 15:04:26 +0900
  • 59f7982b6f Minor optimizations Soreepeong 2022-03-02 10:37:13 +0900
  • 03769dabb5 Fix password_font by adding FallbackHotData Soreepeong 2022-03-01 23:42:40 +0900
  • 979a7beb7a minor: fix format Soreepeong 2022-03-01 23:10:08 +0900
  • 32cb84260d stbtt build: Add kerning pairs from kern table Soreepeong 2022-03-01 22:49:50 +0900
  • f69c569802 Implement kerning adjustments Soreepeong 2022-03-01 06:57:51 +0900
  • ccf94e2e6e Strip seemingly unecessary tests, as UTF-8 decoder can not return null since 9cca1b2e9 ocornut 2023-01-12 12:46:06 +0100
  • 0c149afbc5 Backends: SDL: Implement SetPlatformImeDataFn. imkzh 2023-01-12 18:42:38 +0800