omar
7b2662d245
Examples: Comments, bits of documentation
ago%!(EXTRA string=7 years)
omar
7acb46bec5
Examples: Comments to make ImGuiConfigFlags_NoMouseCursorChange more visible ( #1027 ). + Allegro5: Added support for ImGuiConfigFlags_NoMouseCursorChange flag.
ago%!(EXTRA string=7 years)
omar
85f9694bd4
Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). ( #1870 )
...
Read examples/README.txt for some details.
ImDrawData: Added DisplayPos, DisplaySize fields honored by all backends (not strictly necessary to honor just now, but doing it to be ahead)
ago%!(EXTRA string=7 years)
daniel-murray
83d97d4a9b
Fix typos KeyDown => KeysDown
ago%!(EXTRA string=7 years)
omar
72b7f48870
Renamed ImGuiConfigFlags_NoSetMouseCursor to ImGuiConfigFlags_NoMouseCursorChange. Followup to 75c3793db5
two weeks ago. ( #787 , #1495 , #1202 ) + comments
ago%!(EXTRA string=7 years)
omar
664ab85f76
Examples: Tweak comments. ( #1704 , #1708 ).
ago%!(EXTRA string=7 years)
omar
ca39070ca0
Examples: Win32: Fixes for MingW which doesn't support a 2007 define? I have no idea why people still use MingW ( #1704 , #1463 )
ago%!(EXTRA string=7 years)
omar
75c3793db5
IO: Added ImGuiConfigFlags_NoSetMouseCursors. Added ImGuiBackendFlags_HasMouseCursors, ImGuiBackendFlags_HasSetMousePos. ( #787 , #1495 , #1202 )
ago%!(EXTRA string=7 years)
omar
170f44e6f0
IO: Renamed io.WantMoveMouse to io.WantSetMousePos (was added in 1.52, _not_ used by core and only honored by some binding ahead of merging the Nav branch) + internal renaming ( #787 )
ago%!(EXTRA string=7 years)
omar
69e700f869
Renamed ImGuiStyleVar_Count_ to ImGuiStyleVar_COUNT for consistency with other enums. Added
ago%!(EXTRA string=7 years)
omar
2c9f45bbe7
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. ( #787 )
ago%!(EXTRA string=7 years)
omar
7e2e0535dd
Examples: DirectX 9,10,11: Inputs: Added support for mouse cursors (ImGui::GetMouseCursor() value and WM_SETCURSOR message handling). ( #1495 )
ago%!(EXTRA string=7 years)
omar
63332d152a
Obsoleted the io.RenderDrawListsFn callback, you can call your graphics engine render function after ImGui::Render(). Use ImGui::GetDrawData() to retrieve the ImDrawData* to display..( #1599 )
...
Examples: Updated examples.
ago%!(EXTRA string=7 years)
omar
0cefd40888
Examples: Added Changelog to make updates easier.
ago%!(EXTRA string=7 years)
omar
7cc1bc7635
Added IsAnyMouseDown() helper.
...
Examples: DirectX9/10/11: Using IsAnyMouseDown() instead of local function.
ago%!(EXTRA string=7 years)
omar
3171f90a1a
Nav: Keyboard is now automatically mapped based on io.KeyDown[]. ( #787 )
ago%!(EXTRA string=7 years)
omar
057807f4a7
Added ImGuiKey_Space, mapped in every examples. Will be required for navigation. ( #787 )
ago%!(EXTRA string=7 years)
omar
73d493c780
Examples: Organized header files to make available features more visible.
ago%!(EXTRA string=7 years)
omar
6a25a8720a
Examples: Using #include "imgui.h" instead of <imgui.h> appear correct-er as per standard? xcode+clang are very nitpicky there.
ago%!(EXTRA string=7 years)
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 )
ago%!(EXTRA string=7 years)
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 )
ago%!(EXTRA string=7 years)
omar
d3e826c247
Examples: Updated for reorganized context functions. Calling CreateContext(), DestroyContext() in example code. Removed Shutdown() from binding code. ( #1565 , #586 , #992 , #1007 , #1558 )
ago%!(EXTRA string=7 years)
omar
7dea158175
Examples: Allegro, Apple, DirectX9/10/11, Glfw+Vulkan :Added support for horizontal mouse wheel. ( #1463 )
ago%!(EXTRA string=7 years)
omar
ce95b84825
Added ImGuiKey_Insert for future use. Setup in all example bindings. ( #1541 )
ago%!(EXTRA string=7 years)
omar
3d24a9eb40
Examples: DirectX9/10/11: Comments about CS_DBLCLKS + formatting tweaks. ( #1538 )
ago%!(EXTRA string=7 years)
Nick Dandoulakis
bfc25bc8a3
CS_DBLCLKS support for DirectX 11
ago%!(EXTRA string=7 years)
omar
b263bc5689
Examples: DirectX: Using IM_ARRAYSIZE()
ago%!(EXTRA string=7 years)
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)
ago%!(EXTRA string=8 years)
omar
d2c65aa3e8
Examples: DirectX9/10/11: Tweak usage of SetCapture/ReleaseCapture. ( #1375 )
...
ps: DirectX 12 example (#302 ) may want to adopt that as well.
ago%!(EXTRA string=8 years)
omar
d6a9956781
Examples: DirectX9/10/11: Added WM_SYSKEYDOWN / WM_SYSKEYUP handlers so e.g. VK_MENU can be read.
ago%!(EXTRA string=8 years)
omar
c14a66970b
Examples: DirectX9/10/11: Renamed WndProc handler to use a generic Win32 name + returning 0 to all messages is more correct.
ago%!(EXTRA string=8 years)
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.
ago%!(EXTRA string=8 years)
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 )
ago%!(EXTRA string=8 years)
omar
99ff2ec6fb
Examples: DirectX9/10/11: Comments
ago%!(EXTRA string=8 years)
ocornut
7c2b35704d
Examples: DirectX9-10-11: Only call Windows' SetCursor(NULL) when io.MouseDrawCursor is set ( #585 , #909 )
ago%!(EXTRA string=9 years)
ocornut
612b17ef57
Fixing minor english typos ( #827 )
ago%!(EXTRA string=9 years)
ocornut
2825eaa0be
Examples: Accessing ImVector fields directly, feel less stl-ey and fix renderer side assert when render list only contains a callback ( #810 )
ago%!(EXTRA string=9 years)
ocornut
79e7ece259
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 )
ago%!(EXTRA string=9 years)
ocornut
8a0d3b9628
Examples; DirectX10/11: Added comments about removing dependency on d3dcompiler DLL ( #638 )
ago%!(EXTRA string=9 years)
ocornut
656b1e848c
Examples: DirectX11: Fixed uninitialized fields. Disabling depth-write ( #640 , #636 )
ago%!(EXTRA string=9 years)
ocornut
834bfe4af5
Examples: DirectX11: Fixed handle leak + minor coding style fix for #640
ago%!(EXTRA string=9 years)
josiahmanson
5fe2cacd4d
DX11 example depth test
ago%!(EXTRA string=9 years)
ocornut
552246feed
Examples: DirectX10,DirectX11 : Minor renaming
ago%!(EXTRA string=9 years)
ocornut
90493f8add
Examples: DirectX11: Shallow massaging to make the code more consistent/readable (following #570 )
ago%!(EXTRA string=9 years)
ocornut
2942240072
Examples: DX11: Cleanup state backup/restore code ( #570 )
ago%!(EXTRA string=9 years)
Nicolas Guillemot
d4d51a7802
capture and restore all state
ago%!(EXTRA string=9 years)
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.
ago%!(EXTRA string=9 years)
ocornut
7661b1e778
Trim trailing spaces
ago%!(EXTRA string=9 years)
ocornut
04396ed7a9
FAQ and comments about the use of ImTextureID ( #562 , #561 , #521 , #510 , #497 , #475 ...)
ago%!(EXTRA string=9 years)
ocornut
6277ffe00f
Examples: DirectX11: fixed ImGui_ImplDX11_NewFrame() from recreating device objects if render isn't called (g_pVB not set)
ago%!(EXTRA string=9 years)