510 Commits (bed55a41e1e5ef2242d2f1a3a1d93254ffd1953b)

Author SHA1 Message Date
Gerry Hernandez 4786321754 Fix iOS code; fixes entire XCode build for Apple example 7 years ago
omar cd3dd886de Moved extra_fonts/ to misc/fonts/. Moved .natvis file to misc/natvis/ (#1569) 7 years ago
omar 6c38aa2dc7 Examples: Apple: Tweak code and sync with other examples better (untested). 7 years ago
omar cca9c3e3da Examples: Using Dark theme by default. (#707). Tweaked demo code. 7 years ago
omar 955d86199f Examples: Tweaks formatting. 7 years ago
omar 6a25a8720a Examples: Using #include "imgui.h" instead of <imgui.h> appear correct-er as per standard? xcode+clang are very nitpicky there. 7 years ago
omar 91d77be36e Examples: Makefile leave CXX alone, instead leave commented out options. (nb: codeship doesn't seem have clang++) 7 years ago
Omar Cornut 3cdd2096ec Examples: Use Clang in old Makefile. 7 years ago
omar ddff378daf Examples: Synced Makefile comments. Added build/ folder into git ignore list/ 7 years ago
Omar Cornut 858d75ab59 Examples: Apple: Fixed filenames in OSX xcode project. 7 years ago
omar 66d5712a8a Examples: Vulkan: FIxed warnings in 32-bit modes (vulkan uses VkDeviceSize which is always 64-bit long) 7 years ago
Jérôme Pasquier 94ed44b5cb Fix allegro5_example build instructions 7 years ago
Jérôme Pasquier c226e02ca0 Fix sdl_opengl2_example filename in README.md's build instructions 7 years ago
omar 2c7324da56 TODO list, added uSynergy README 7 years ago
omar 8c57d8cc1e Natvis: Fix ImRect expanded height display being broken and dumb. (#1569) 7 years ago
omar 6f27d6b5b8 Natvis: Made ImGuiWindow display shorter. 7 years ago
omar c2e92ab61b Added imgui.natvis helper for visual studio users. Added to examples projects. 7 years ago
omar 277f6e7842 Examples: Comments 7 years ago
omar 7e7c017b75 Examples: Simplified mouse wheel handling. (#1463) 7 years ago
omar 7dea158175 Examples: Allegro, Apple, DirectX9/10/11, Glfw+Vulkan :Added support for horizontal mouse wheel. (#1463) 7 years ago
omar 0b1fecb792 Horizontal mouse wheel: renamed io.MouseHorizWheel to io.MouseWheelH. Reorganized the code in NewFrame(). Examples: Updated GLFW+GL and SDL+GL accordingly. (#1463) 7 years ago
omar 6f6b6194b2 Merge branch 'tseeker/20171127-feature-horiz-wheel' of https://github.com/tseeker/imgui into tseeker-tseeker/20171127-feature-horiz-wheel
# Conflicts:
#	examples/sdl_opengl2_example/imgui_impl_sdl_gl2.cpp
#	examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp
7 years ago
omar f3e510a9bf Examples: SDL: Using SDL_CaptureMouse() to retrieve coordinates outside of client area when dragging. (#1559)
Digging into sdl window/mouse stuff will also be useful for multi-viewport work.
7 years ago
omar 00351ee2ab Examples: SDL: Minor renaming. 7 years ago
omar ba99900023 Examples: GLFW+GL2: Renamed imgui_impl_glfw.* to imgui_impl_glfw_gl2.* for consistency and to emphasis on GL2-ness. 7 years ago
omar 79dca9d5e6 Examples: SDL+GL2: Renamed imgui_impl_sdl.* to imgui_impl_sdl_gl2.* for consistency and to emphasis on GL2-ness. 7 years ago
omar 15fd5b6c4c Examples: SDL: Minor renaming. 7 years ago
omar ce17e0f274 Examples: SDL: Using SDL_WINDOW_INPUT_FOCUS instead of SDL_WINDOW_MOUSE_FOCUS (which is ~~hovered). We should use SDL_CaptureMouse + SDL_WINDOW_MOUSE_CAPTURE_FLAG which requires SDL 2.0.4 will give it a try shortly. (#1559) 7 years ago
omar 60d5dc7902 Examples: SDL: Fixed mapping of Insert key (#1555, fix bug introduced in #1541) 7 years ago
omar ce95b84825 Added ImGuiKey_Insert for future use. Setup in all example bindings. (#1541) 7 years ago
omar 39cb56c39e Examples: OpenGL3+GLFW: Using 3.2 context + GLSL version 150 (#1466) 7 years ago
omar 7484c63449 Examples: OpenGL3+SDL: Changed GLSL shader version to 150 (#1466, #1504) 7 years ago
omar 3d24a9eb40 Examples: DirectX9/10/11: Comments about CS_DBLCLKS + formatting tweaks. (#1538) 7 years ago
omar 65dd55cb2b
Merge pull request #1538 from ndandoulakis/ndandoulakis-CS_DBLCLKS-patch
Examples: DirectX9,10,10: Support for CS_DBLCLKS by treating double-click down messages are regular down. (#1538, #754)
7 years ago
omar 407955d9fb Examples: Using IM_OFFSETOF macro. + Comments 7 years ago
Nick Dandoulakis bfc25bc8a3
CS_DBLCLKS support for DirectX 11 7 years ago
Nick Dandoulakis 583e97b297
CS_DBLCLKS support for DirectX 10 7 years ago
Nick Dandoulakis 20ae6439ea
CS_DBLCLKS support for Directx9 7 years ago
omar 4c90529c62 Examples: Visual Studio projects: Disabled extraneous function-level check in Release build. 7 years ago
omar 9f8632b131 Examples: Comments about invalid mouse pos. 7 years ago
omar 78f48bb795 Examples: DirectX10,DirectX11: Moved call to OMSetRenderTargets() in main loop so example code can integrate more nicely with other code. 7 years ago
omar 3a4a2bb27c Examples: Vulkan: Tweak 7 years ago
omar ce13426a1a Examples: Comments, synched some minor drift between examples + stronger suggestion to use StyleColorsDark(). 7 years ago
omar 1b86e7343f Renamed the emblematic ShowTestWindow() function to ShowDemoWindow(). Kept redirection function (will obsolete). 7 years ago
omar b263bc5689 Examples: DirectX: Using IM_ARRAYSIZE() 7 years ago
omar cf9b893841 Examples: Added null_example/ which is helpful for quick testing on multiple compilers/settings without relyong on graphics library. 7 years ago
omar c8b5b569da Examples: DirectX9: Call EndFrame(), fix for assert added in 9a44d447cd 7 years ago
omar e000ee0116 Examples: DirectX9: Handle loss of D3D9 device (D3DERR_DEVICELOST). (#1464) 7 years ago
Emmanuel Benoît 77a310736d Horizontal mouse wheel support
This patch adds support for the horizontal mouse wheel in ImGui. It
affects windows that can be scrolled, as long as the Ctrl key is not
being pressed.

The scrolling speed has been set empirically so that it matches the
scrolling speed on the Firefox browser when the horizontal wheel is
used.

Internally, it adds a MouseHorizWheel to ImGuiIO, which is then used in
NewFrame to scroll the current window.

The SDL/GL2, SDL/GL3, GLFW/GL2 and GLFW/GL3 examples has been modified
to use it.
7 years ago
omar ef5dd30625 Sisyphus says: tweaked comments about not using old-style OpenGL examples (#1459, #1394 etc.) 7 years ago