omar
0f7105e156
Backends: SDL: Wayland: Use SDL_GetMouseState (amend 78ff147
) ( #2800 , 2802)
ago%!(EXTRA string=5 years)
NeroBurner-tux
78ff147181
SDL: On wayland use SDL_GetMouseState ( #2802 )
...
When the SDL Video backend is set to wayland the function
`SDL_GetGlobalMouseState` does not work. Most probably a security measure
for programs to not grab everything the user does
https://wiki.libsdl.org/SDL_GetGlobalMouseState
using SDL_GetMouseState https://wiki.libsdl.org/SDL_GetMouseState works
on wayland
ago%!(EXTRA string=5 years)
Rokas Kupstys
03b7170dac
Backends: GLFW: Added workaround for people who use development version of GLFW which is older than commit that added required cursor support. ( #2922 )
ago%!(EXTRA string=6 years)
omar
7ff13f4ee1
Examples: Explicitly adding -DIMGUI_IMPL_OPENGL_LOADER_GL3W to Makefile to match linking settings
...
(otherwise if another loader such as Glew is accessible, the opengl3 backend might automatically use it). [#2919 , #2798 ]
ago%!(EXTRA string=6 years)
Max Thrun
6d9a54a904
Examples: Metal: Wrap main event loop body in an @autoreleasepool block to ensure allocations get freed even if underlying system event loop gets paused due to app nap ( #2910 , #2917 )
ago%!(EXTRA string=6 years)
omar
8342e5b91a
Amend previous commits (added ImGuiMouseCursor_NotAllowed enum + new cursors in GLFW 3.4)
...
Amend b5cad20d79
, 945a509773
+ unrelated minor typos
ago%!(EXTRA string=6 years)
Rokas Kupstys
945a509773
Implement ImGuiMouseCursor_NotAllowed mouse cursor.
ago%!(EXTRA string=6 years)
Rokas Kupstys
b5cad20d79
Implement new GLFW 3.4 resizing cursors.
ago%!(EXTRA string=6 years)
omar
abaf0256b8
Version 1.75 WIP
...
Added message to font file loading assert.
ago%!(EXTRA string=6 years)
omar
28dd8d7efd
Docking: Fixed various conflicts not properly resolved on 813e0c1
...
New git client confusion.
ago%!(EXTRA string=6 years)
Rokas Kupstys
bf6d1ba3d1
CI: Add 32/64 bit build variations to builds with extra warnings.
ago%!(EXTRA string=6 years)
Rokas Kupstys
1742ca45c5
CI: Add unity builds test. ( #2893 )
ago%!(EXTRA string=6 years)
omar
bdce833636
Version 1.74
ago%!(EXTRA string=6 years)
omar
26d177bc03
Docs: Moved misc/fonts/README.txt to docs/FONTS.txt. + tweaks
ago%!(EXTRA string=6 years)
Rokas Kupstys
1615e9ea2a
CI: Enable extended warnings in example_null builds.
...
CI: Add MinGW build with extra warnings on windows.
(cherry picked from commit ebc98c273054d0f9b305a1346db98052616a8b21)
ago%!(EXTRA string=6 years)
omar
ca63349eb4
Renamed XX-bits -> XX-bit in comments to match what the world appears to be using.
ago%!(EXTRA string=6 years)
omar
4e90906b04
Added IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS / IMGUI_DISABLE_FILE_FUNCTIONS #2734 )
...
Using in Emscripten example.
ago%!(EXTRA string=6 years)
omar
3929255b77
Examples: Emscripten: Removed BINARYEN_TRAP_MODE=clamp from Makefile which was removed in Emscripten 1.39.0 but required prior to 1.39.0, making life easier for absolutely no-one. ( #2877 , #2878 ) [ @podsvirov ]
ago%!(EXTRA string=6 years)
Konstantin Podsvirov
916487a653
example_emscripten: skip outdated compiler option
...
For more info see: https://github.com/ocornut/imgui/issues/2877
ago%!(EXTRA string=6 years)
Rokas Kupstys
c9182424a8
Normalize all the line endings.
...
(cherry picked from commit f1772d44be09fd78bf5f1ebda44b39b96180d319)
ago%!(EXTRA string=6 years)
omar
f002a11898
Backends: OpenGL3: Fix building with pre-3.2 GL bindings which do not expose glDrawElementsBaseVertex(), using runtime GL version to decide if we set ImGuiBackendFlags_RendererHasVtxOffset. ( #2866 , #2852 ) [ @dpilawa ]
ago%!(EXTRA string=6 years)
dawid
4d0c88e9e6
Backends: GL3: Fix compile for < 3.2 bindings where glDrawElementsBaseVertex is not available. ( #2866 , #2852 )
ago%!(EXTRA string=6 years)
Funto
75d540d336
Example: Emscripten: Fix for compilation (filesystem module is required) ( #2734 )
ago%!(EXTRA string=6 years)
omar
048b73dfaa
Various comments + Doc: Examples readme. Moved main menu bar code below menu bar code.
ago%!(EXTRA string=6 years)
omar
7b77cb3bb8
Backend: DX12: Fixed incorrect assert ( #2851 )
ago%!(EXTRA string=6 years)
omar
6ffee0e75e
Backends: DX12: Added extra ID3D12DescriptorHeap parameter to ImGui_ImplDX12_Init() function. The value is unused in master branch but will be used by the multi-viewport features (docking branch). ( #2851 )
...
+ Using SafeRelease() in master.
ago%!(EXTRA string=6 years)
omar
6faad0c34f
Backend: DX12: Amend 899e485. Fix memory leaks. Remove unused variable. ( #2851 )
...
(cherry picked from commit 39e2db6d94c295e7468c6a5fb39d247c641fb123)
ago%!(EXTRA string=6 years)
Ilya.Sevrikov
05c1f2795a
Add multi-viewports for DX12. ( #2851 )
...
(cherry picked from commit 899e48565d1ecefde06063f99c75e702adcef175)
ago%!(EXTRA string=6 years)
omar
eedc8f993f
Examples: DX12: Using IDXGIDebug1::ReportLiveObjects() when DX12_ENABLE_DEBUG_LAYER is enabled.
ago%!(EXTRA string=6 years)
malte-v
4de32cc87e
Backends: GLFW: Restore previously installed user callbacks in ImplGlfw when ImGui shuts down ( #2836 )
ago%!(EXTRA string=6 years)
omar
53278be61f
FAQ, Readme. Use = {} instead of = { 0 }, wasn't problematic because they were all static variables or one stack array not read. But hey.
ago%!(EXTRA string=6 years)
omar
3bbc27ebd9
Fixed more FAQ links. ( #2848 )
ago%!(EXTRA string=6 years)
Rokas Kupstys
9d6b2b096b
Ignore directories created by JetBrains IDEs.
...
(cherry picked from commit c470de572c2f63e7ba5eeb7d97bc1f4bc114b375)
ago%!(EXTRA string=6 years)
Rokas Kupstys
6892b81578
Remove trailing spaces from bunch of files.
...
(cherry picked from commit 50e0f8d4ddf4c426f62f346c8260a927f6b7c779)
ago%!(EXTRA string=6 years)
omar
fc10ba8d24
Amend f0238ece9cba67ecabef438008fea53682bd6bc7 ( #2817 , #2818 )
ago%!(EXTRA string=6 years)
Egor Yusov
378035c6ff
Fixed backspace handling on MacOS (fixed https://github.com/ocornut/imgui/issues/2817 ).
...
Allow null view passing as parameter to ImGui_ImplOSX_NewFrame
ago%!(EXTRA string=6 years)
Harris Brakmic
323412dd23
Examples: Allegro5: updated build instructions for macOS
ago%!(EXTRA string=6 years)
omar
a2f3dcfc97
Added comment about SDL and SDL_INIT_GAMECONTROLLER. ( #2809 )
ago%!(EXTRA string=6 years)
omar
c262276988
Version 1.74 WIP
ago%!(EXTRA string=6 years)
Konstantin Podsvirov
f0f5301612
Backends: OpenGL3: Commented out extra tokens at end of #else directive ( #2804 )
ago%!(EXTRA string=6 years)
omar
d5efe16157
Version 1.73
ago%!(EXTRA string=6 years)
omar
97691643b7
Backends: OpenGL3: Attempt to automatically detect default GL loader by using __has_include. Followup to 44cd8e3
( #2798 )
ago%!(EXTRA string=6 years)
osheriff
44cd8e39da
Automatically include the available gl loader header
ago%!(EXTRA string=6 years)
omar
f7468d05fe
Fixed mouse event forwarding in macos example ( #2710 , #1961 )
ago%!(EXTRA string=6 years)
omar
cf98290873
Backends: DirectX9: Workaround for windows not refreshing when main viewport has no draw call. ( #2560 )
ago%!(EXTRA string=6 years)
NeroBurner
e7e88ed413
Examples: SDL/GLFW + OpenGL3: Fixes for Makefile ( #2774 )
...
- append CXXFLAGS instead of overwriting them
- add glad.c build rule
ago%!(EXTRA string=6 years)
omar
cc288e073c
Backends: OpenGL3: Tweaked initialization code allow application calling ImGui_ImplOpenGL3_CreateFontsTexture() before ImGui_ImplOpenGL3_NewFrame() if for some reason they wanted.
ago%!(EXTRA string=6 years)
omar
a4af3cc814
Viewport, GLFW: Fix for #2756 under Windows.
ago%!(EXTRA string=6 years)
Rokas Kupstys
a89a3cd2f1
Viewports, GLFW: Fix window having incorrect size after uncollapse. Issue manifests on Linux when window is in it's own viewport. ( #2756 , #2117 )
ago%!(EXTRA string=6 years)
Rokas Kupstys
09780b8b3d
Viewport: Fix setting window size on macos (glfw). ( #2767 , #2117 )
...
MacOS positions windows by their bottom-left corner why the rest of the world (including imgui) position windows by the top-left corner. This created an issue where collapsing imgui window would cause window header to remain at the bottom the full window rect. Likewise resizing window by using sizing handle caused window to grow upwards when we tried to expand window downwards.
This workaround moves window to the opposite direction by the delta of size change creating an illusion that windows are positioned by their top-left corner.
ago%!(EXTRA string=6 years)