- Feb 14, 2023
-
-
Laurens Holst authored
GL_MAJOR_VERSION and GL_MINOR_VERSION are available on GL 3.0 and above. So we have to parse GL_VERSION under GL 2.x Reference https://www.khronos.org/opengl/wiki/OpenGL_Context#Context_information_queries Regressed since 459de654 See https://github.com/ocornut/imgui/pull/3530
-
ocornut authored
- Feb 10, 2023
-
-
ocornut authored
Namely for docking system.
-
ocornut authored
Internals: Settings: added ClearWindowSettings(). Extract part of CreateNewWindow() into InitOrLoadWindowSettings(). Designed to that if the window reappear in the session it won't take an additional slot.
-
ocornut authored
-
ocornut authored
Internals: Settings: Added FindWindowSettingsByName() (replacing old version by ID) FindWindowSettingsByWindow() + remove unnecessary FindOrCreateWindowSettings(). In 1 code path we do a redundant hash but this happens only once per window per session so we are ok.
-
ocornut authored
-
- Feb 07, 2023
-
-
ocornut authored
Backends: GLFW: Warning fix under Linux.
-
ocornut authored
Backends: SDL2:+SDL3 Implement SetPlatformImeDataFn (amends). (#6071, #1953) + fix SDL3 setting PlatformHandleRaw. (#6146)
-
imkzh authored
-
ocornut authored
Backends: SDL3: update to run with SDL3. Examples: Add SDL3+Gl example. Remove some version checks. (#6146) More update upcoming in docking branch.
-
ocornut authored
Backends: SDL3: copied imgui_impl_sdl2 into imgui_impl_sdl3 and ONLY replaced strings (1/2). (#6146) NO OTHER CHANGES. This WILL NOT compile with SDL3. This intermediate commit designed to make it easier to visualize the meaningful channges commit in the next commit.
-
ocornut authored
In particular: - imgui.cpp : move UpdateInputEvents() higher in NewFrame() to match docking + update RenderMouseCursor() to match. - imgui_draw.cpp: ImDrawList::_ResetForNewFrame() change from c807192a - Backends: SDL2. Add MouseWindowID + change SDL_CaptureMouse() test to match docking branch. Not strictly necessary but aimed at reducing drift because we go on and fork this file. + moved responsability of checking valid names to TabBarGetTabName() to simplify both branches.
-
ocornut authored
+ CI: Update Windows CI to update SDL 2.26.3 instead of 2.0.10
-
- Feb 03, 2023
-
-
ocornut authored
-
ocornut authored
Examples: (Again, but better) made SDL+GL and GLFW+GL examples build with Emscripten. (#2492, #2494, #3699, #3705)
-
ocornut authored
Tables: Solved an ID conflict issue with multiple-instances of a same table. Storing instance id for convenience. (#6140) TableGetColumnResizeID() are still using an incorrect table, but having only one-level left tends to cancel things out.
-
Giuseppe Barbieri authored
-
ocornut authored
-
ocornut authored
-
ocornut authored
Backends: GLFW: Registering custom low-level mouse wheel handler to get more accurate scrolling impulses on Emscripten. (#4019, #6096) Namely, GLFW JS emulation seems to quantize values to a min of -1/+1 which breaks modern OSX/Windows emulating smoothness with stepping wheels (slow steps are sending sub-1.0 values) + Massage changelog.
-
- Feb 02, 2023
-
-
ocornut authored
-
ocornut authored
-
ocornut authored
Backends: Added support for SDL 2.0.18+ preciseX/preciseY mouse wheel data for smooth scrolling + scaling for Emscripten. (#4019, #6096) + Missing changelog entries.
-
ocornut authored
Latest version seems ok.
-
ocornut authored
Examples: Made example_sdl_opengl3 and example_glfw_opengl3 build with Emscripten. Removed dedicated examples. (#2492, #2494, #3699, #3705)
-
ocornut authored
Examples: refactor all examples with a MainLoopStep() function, to facilitate use with Emscripten. (#2492, #3699) Aligned all examples.
-
ocornut authored
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 authored
-
ocornut authored
+ Fix warnings.
-
- Feb 01, 2023
-
-
ocornut authored
Backends, Inputs: Made horizontal scroll wheel and horizontal scroll direction consistent accross backends/os. (#4019, #6096, #1463) Documented assumptions.
-
ocornut authored
Backends: OSX: Fixed scroll wheel scaling for devices emitting events with hasPreciseScrollingDeltas==false (e.g. non-Apple mices). Ref #4019 for details provided in .XLS sheet, although not strictly related to main issue topic. + Rename Emscripten demo titles to make SDL visible.
-
- Jan 31, 2023