84 Commits (0cefd40888c3d6c5e84754d2dadb6135d91b6f1f)

Author SHA1 Message Date
omar 0cefd40888 Examples: Added Changelog to make updates easier. 7 years ago
omar 7cc1bc7635 Added IsAnyMouseDown() helper.
Examples: DirectX9/10/11: Using IsAnyMouseDown() instead of local function.
7 years ago
omar f0364aa359 Merge branch 'context'
# Conflicts:
#	examples/allegro5_example/main.cpp
#	examples/directx10_example/main.cpp
#	examples/directx11_example/main.cpp
#	examples/directx9_example/main.cpp
#	examples/marmalade_example/main.cpp
#	examples/opengl2_example/main.cpp
#	examples/opengl3_example/main.cpp
#	examples/sdl_opengl2_example/main.cpp
#	examples/sdl_opengl3_example/main.cpp
#	examples/vulkan_example/main.cpp
7 years ago
omar 3171f90a1a Nav: Keyboard is now automatically mapped based on io.KeyDown[]. (#787) 7 years ago
omar 057807f4a7 Added ImGuiKey_Space, mapped in every examples. Will be required for navigation. (#787) 7 years ago
omar 73d493c780 Examples: Organized header files to make available features more visible. 7 years ago
omar 27980d9688 Merge branch 'master' into context 7 years ago
omar 2933e6765c Merge branch 'master' into navigation 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 3967ff58b2 Nav: Examples: DirectX11, Glfw+GL3: Basic code to map keyboard inputs when io.NavFlags & ImGuiNavFlags_EnableKeyboard is set. (will iterate/tweak before spreading to other examples). (#787) 7 years ago
omar dd89c9ea59 Examples: Made the Win32 proc handlers not assert if there is no active context yet, to be more flexible with creation order. (#1565) 7 years ago
omar d3e826c247 Examples: Updated for reorganized context functions. Calling CreateContext(), DestroyContext() in example code. Removed Shutdown() from binding code. (#1565, #586, #992, #1007, #1558) 7 years ago
omar 7dea158175 Examples: Allegro, Apple, DirectX9/10/11, Glfw+Vulkan :Added support for horizontal mouse wheel. (#1463) 7 years ago
omar ce95b84825 Added ImGuiKey_Insert for future use. Setup in all example bindings. (#1541) 7 years ago
omar 3d24a9eb40 Examples: DirectX9/10/11: Comments about CS_DBLCLKS + formatting tweaks. (#1538) 7 years ago
Nick Dandoulakis bfc25bc8a3
CS_DBLCLKS support for DirectX 11 7 years ago
omar b263bc5689 Examples: DirectX: Using IM_ARRAYSIZE() 7 years ago
omar fba704bf5d Examples: Added a bunch of comments/referencs related to io.WantCaptureMouse, io.WantCaptureKeyboard (#1262, #1237, #1219, #635, #1058, #1051, #912, #533, #703, #446, #459, #364, #213, #52, and more) 7 years ago
omar d2c65aa3e8 Examples: DirectX9/10/11: Tweak usage of SetCapture/ReleaseCapture. (#1375)
ps: DirectX 12 example (#302) may want to adopt that as well.
7 years ago
omar d6a9956781 Examples: DirectX9/10/11: Added WM_SYSKEYDOWN / WM_SYSKEYUP handlers so e.g. VK_MENU can be read. 7 years ago
omar c14a66970b Examples: DirectX9/10/11: Renamed WndProc handler to use a generic Win32 name + returning 0 to all messages is more correct. 7 years ago
omar a96f095deb Examples: DirectX10, DirectX11: Using SetCapture/ReleaseCapture to get correct behavior (#1375)
ps: DirectX 12 example (#302) may want to adopt that as well.
7 years ago
ocornut d5d825debb Nav/Examples: honoring the io.WantMoveMouse flag in most common examples (#323)
Missing support Vulkan (#549), Apple (#575, #247), SDL (#58, #356),
Allegro, Marmalade (#368, #375)
7 years ago
omar 99ff2ec6fb Examples: DirectX9/10/11: Comments 7 years ago
ocornut 7c2b35704d Examples: DirectX9-10-11: Only call Windows' SetCursor(NULL) when io.MouseDrawCursor is set (#585, #909) 8 years ago
ocornut 612b17ef57 Fixing minor english typos (#827) 8 years ago
ocornut 2825eaa0be Examples: Accessing ImVector fields directly, feel less stl-ey and fix renderer side assert when render list only contains a callback (#810) 8 years ago
ocornut 8a0d3b9628 Examples; DirectX10/11: Added comments about removing dependency on d3dcompiler DLL (#638) 9 years ago
ocornut 656b1e848c Examples: DirectX11: Fixed uninitialized fields. Disabling depth-write (#640, #636) 9 years ago
ocornut 834bfe4af5 Examples: DirectX11: Fixed handle leak + minor coding style fix for #640 9 years ago
josiahmanson 5fe2cacd4d DX11 example depth test 9 years ago
ocornut 552246feed Examples: DirectX10,DirectX11 : Minor renaming 9 years ago
ocornut 90493f8add Examples: DirectX11: Shallow massaging to make the code more consistent/readable (following #570) 9 years ago
ocornut 2942240072 Examples: DX11: Cleanup state backup/restore code (#570) 9 years ago
Nicolas Guillemot d4d51a7802 capture and restore all state 9 years ago
ocornut a6399f120f IO: Added "Super" keyboard modifiers (corresponding to Cmd on Mac and Windows key in theory although the later is hard to read) (#473)
NB: Value not used.
9 years ago
ocornut 7661b1e778 Trim trailing spaces 9 years ago
ocornut 04396ed7a9 FAQ and comments about the use of ImTextureID (#562, #561, #521, #510, #497, #475 ...) 9 years ago
ocornut 6277ffe00f Examples: DirectX11: fixed ImGui_ImplDX11_NewFrame() from recreating device objects if render isn't called (g_pVB not set) 9 years ago
ocornut 9596e6f794 Examples: DirectX10: Minor tweaks, updated to latest example changes (#424) 9 years ago
omar fe2972e8b2 Merge pull request #420 from RaptorFactor/master
Examples: DX11: Compile shaders with lower features levels.
9 years ago
Joshua Boyce 6adf644448 Allow DX11 renderer to be used with devices with lower feature levels. 9 years ago
ocornut 6cee2fca94 Examples: Not clearing input data/tex data in atlas (will be required for dynamic atlas anyway). Effectively fix resizing in DX examples.
+ Standardized comments.
9 years ago
ocornut 6800939e73 Examples: Header comments. 9 years ago
ocornut e46c7b70eb Examples: Most examples apps detect if ImDrawIdx was changed to 32-bits instead of 16 9 years ago
ocornut 5d53f37a5d Examples: Possibly clarified the intent of imgui_impl_* files. 9 years ago
Nicolas Guillemot 509ac33abe fix POSITION format (ImDrawVert::pos is 2D, not 4D)
the inputlayout incorrectly described the POSITION attribute as being
4D, while ImDrawVert::pos is 2D. This went unnoticed because the buffer
binding has a stride of sizeof(ImDrawVert) and the POSITION is treated
as a float2 in the vertex shader. If you switch POSITION to float4 in
the vertex shader (and actually use the z/w in the matrix
multiplication) then everything become wacky-looking since it's
interpreting the texture coordinates as z/w. On a similar note: It's
weird that the projection matrix takes z and w into consideration when
those don't exist in the shader due to positions being float2s.
9 years ago
ocornut 7d6ddbe5c8 Examples: comment on setting the RenderDrawListsFn function. 9 years ago
ocornut 77bcb7152b Examples: DirectX11: fixed vertex shader which breaks with VS2015 somehow (DX11 version?) (#313) 9 years ago
ocornut 822eaf1751 Examples: DX9, DX11: mapping missing middle mouse button. 9 years ago