omar
8bcac7d95c
Backends: GLFW, SDL: report Windows key (io.KeySuper) as always released.
Neither GLFW nor SDL can correctly report the key release in every cases (e.g. when using Win+V) causing problems with some widgets. The next release of GLFW (3.4+) will have a fix for it. However since it is both difficult and discouraged to make use of this key for Windows application anyway, we just hide it. (#2976 )
5 years ago
omar
e499497ec5
Backends: Win32: Added support for io.KeySuper (Windows key) for consistency with other backends. ( #2976 )
Even if realistically it is difficult to make good use of under Windows.
+ Style editor: Use a more explicit form of RadioButton() to avoid being depending on underlying flags type. (#2983 )
5 years ago
omar
aa34681652
Backends: GLFW: inhibit error callback when creating cursors because X11 setups may be missing them + comment ( #2980 )
5 years ago
omar
4f7bf7e96a
Backends: Win32: Added support for #define IMGUI_IMPL_WIN32_DISABLE_GAMEPAD and IMGUI_IMPL_WIN32_DISABLE_LINKING_XINPUT. ( #2716 )
5 years ago
omar
ff5299e0e0
Docs: FAQ, Comments.
5 years ago
Rokas Kupstys
f03c00bc89
Added imgui_single_file.h, We use this to validate compiling all *.cpp in same compilation unit.
Removed Unity builds stuff from example_null/. CI builds a temporary .cpp file.
5 years ago
Rokas Kupstys
00c515f51a
Add glbinding build sample to Makefiles of GL3 examples. ( #2870 )
5 years ago
Rokas Kupstys
5e2329b98e
Backends: GL3: Implement glbinding opengl loader support. ( #2870 )
5 years ago
omar
d581939387
Removed trailing spaces.
5 years ago
omar
0f7105e156
Backends: SDL: Wayland: Use SDL_GetMouseState (amend 78ff147
) ( #2800 , 2802)
5 years ago
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
5 years ago
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 )
5 years ago
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 ]
5 years ago
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 )
5 years ago
omar
8342e5b91a
Amend previous commits (added ImGuiMouseCursor_NotAllowed enum + new cursors in GLFW 3.4)
Amend b5cad20d79
, 945a509773
+ unrelated minor typos
5 years ago
Rokas Kupstys
945a509773
Implement ImGuiMouseCursor_NotAllowed mouse cursor.
5 years ago
Rokas Kupstys
b5cad20d79
Implement new GLFW 3.4 resizing cursors.
5 years ago
omar
abaf0256b8
Version 1.75 WIP
Added message to font file loading assert.
5 years ago
Rokas Kupstys
bf6d1ba3d1
CI: Add 32/64 bit build variations to builds with extra warnings.
5 years ago
Rokas Kupstys
1742ca45c5
CI: Add unity builds test. ( #2893 )
5 years ago
omar
bdce833636
Version 1.74
5 years ago
omar
26d177bc03
Docs: Moved misc/fonts/README.txt to docs/FONTS.txt. + tweaks
5 years ago
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)
5 years ago
omar
ca63349eb4
Renamed XX-bits -> XX-bit in comments to match what the world appears to be using.
5 years ago
omar
4e90906b04
Added IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS / IMGUI_DISABLE_FILE_FUNCTIONS #2734 )
Using in Emscripten example.
5 years ago
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 ]
5 years ago
Konstantin Podsvirov
916487a653
example_emscripten: skip outdated compiler option
For more info see: https://github.com/ocornut/imgui/issues/2877
5 years ago
Rokas Kupstys
c9182424a8
Normalize all the line endings.
(cherry picked from commit f1772d44be09fd78bf5f1ebda44b39b96180d319)
5 years ago
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 ]
5 years ago
dawid
4d0c88e9e6
Backends: GL3: Fix compile for < 3.2 bindings where glDrawElementsBaseVertex is not available. ( #2866 , #2852 )
5 years ago
Funto
75d540d336
Example: Emscripten: Fix for compilation (filesystem module is required) ( #2734 )
5 years ago
omar
048b73dfaa
Various comments + Doc: Examples readme. Moved main menu bar code below menu bar code.
5 years ago
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.
5 years ago
omar
eedc8f993f
Examples: DX12: Using IDXGIDebug1::ReportLiveObjects() when DX12_ENABLE_DEBUG_LAYER is enabled.
5 years ago
malte-v
4de32cc87e
Backends: GLFW: Restore previously installed user callbacks in ImplGlfw when ImGui shuts down ( #2836 )
5 years ago
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.
5 years ago
omar
3bbc27ebd9
Fixed more FAQ links. ( #2848 )
5 years ago
Rokas Kupstys
9d6b2b096b
Ignore directories created by JetBrains IDEs.
(cherry picked from commit c470de572c2f63e7ba5eeb7d97bc1f4bc114b375)
5 years ago
Rokas Kupstys
6892b81578
Remove trailing spaces from bunch of files.
(cherry picked from commit 50e0f8d4ddf4c426f62f346c8260a927f6b7c779)
5 years ago
omar
fc10ba8d24
Amend f0238ece9c
( #2817 , #2818 )
5 years ago
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
5 years ago
Harris Brakmic
323412dd23
Examples: Allegro5: updated build instructions for macOS
5 years ago
omar
a2f3dcfc97
Added comment about SDL and SDL_INIT_GAMECONTROLLER. ( #2809 )
5 years ago
omar
c262276988
Version 1.74 WIP
5 years ago
Konstantin Podsvirov
f0f5301612
Backends: OpenGL3: Commented out extra tokens at end of #else directive ( #2804 )
5 years ago
omar
d5efe16157
Version 1.73
5 years ago
omar
97691643b7
Backends: OpenGL3: Attempt to automatically detect default GL loader by using __has_include. Followup to 44cd8e3
( #2798 )
5 years ago
osheriff
44cd8e39da
Automatically include the available gl loader header
5 years ago
omar
f7468d05fe
Fixed mouse event forwarding in macos example ( #2710 , #1961 )
5 years ago
NeroBurner
e7e88ed413
Examples: SDL/GLFW + OpenGL3: Fixes for Makefile ( #2774 )
- append CXXFLAGS instead of overwriting them
- add glad.c build rule
5 years ago