Commit Graph

134 Commits (44b761b308c8c92df02ba0b3c0611fb6069f3904)

Author SHA1 Message Date
omar fba704bf5d Examples: Added a bunch of comments/referencs related to io.WantCaptureMouse, io.WantCaptureKeyboard (, , , , , , , , , , , , , , and more)
omar cb38caeda4 Examples: Added more comments near the fonts loading section, to catch common questions and errors (e.g. , , , , , , , etc.)
omar d2c65aa3e8 Examples: DirectX9/10/11: Tweak usage of SetCapture/ReleaseCapture. ()
ps: DirectX 12 example () may want to adopt that as well.
omar d6a9956781 Examples: DirectX9/10/11: Added WM_SYSKEYDOWN / WM_SYSKEYUP handlers so e.g. VK_MENU can be read.
omar c14a66970b Examples: DirectX9/10/11: Renamed WndProc handler to use a generic Win32 name + returning 0 to all messages is more correct.
omar 3e0765ee22 Examples: DirectX9: Using SetCapture/ReleaseCapture to get correct behavior ()
omar e03198bb0f Fixed compilation for + coding style fixes.
Gargaj 839067fda9 Capture/release window in DX9 implementation
This helps a lot when the user drags a slider but carries the cursor offscreen before releasing the button - without the capturing, the slider will "stick" to the mouse cursor even after the button has been released. (This should generally be added to all Windows implementations - I won't mind doing it if you think it's a good idea.)
omar b3099d650c Examples: Adding Roboto to the commented-out font list, and removing the unnecessary ProggyClean from there.
omar 842e88a8e3 Examples: Avoid using ImColor() to not tempt newcomers into looking at it
ocornut d5d825debb Nav/Examples: honoring the io.WantMoveMouse flag in most common examples ()
Missing support Vulkan (), Apple (, ), SDL (, ),
Allegro, Marmalade (, )
omar b8ade0b94f Examples: Main: Removed call to SetNextWindowSize()
omar 7e452ec737 Renamed ImGuiSetCond_XXX type and enums to ImGuiCond_XXX, kept old enums under #ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
omar 645875a240 Examples: Enable vsync by default in example applications (, )
omar 99ff2ec6fb Examples: DirectX9/10/11: Comments
omar 51c200ac0d Examples: DirectX9: Clarified texture release code ()
ocornut d74a3349e9 Examples: DirectX9: Explicitely setting viewport to match that other examples are doing ()
ocornut 7c2b35704d Examples: DirectX9-10-11: Only call Windows' SetCursor(NULL) when io.MouseDrawCursor is set (, )
ocornut 2825eaa0be Examples: Accessing ImVector fields directly, feel less stl-ey and fix renderer side assert when render list only contains a callback ()
ocornut 1349d0aacf Examples: DirectX9: Removing spaces ()
Trezanik 790275eae2 Example: DirectX9: Backup and restore all state
ocornut f46c91f5ad Examples: DirectX9: Removed dependency on dxguid.lib + remainder of d3dx9.lib ()
ocornut 731ff3d3f5 Examples: DirectX9: Removed dependency on dx3x9 (remainder) ()
ocornut 50df86985d Examples: DirectX9: Removed dependency on dx3x9.h so it can be used in a DirectXMath.h only environment ()
ocornut 4466a7b3b0 Examples: DirectX9: save/restore some more device state.
ocornut a6399f120f IO: Added "Super" keyboard modifiers (corresponding to Cmd on Mac and Windows key in theory although the later is hard to read) ()
NB: Value not used.
ocornut 7661b1e778 Trim trailing spaces
ocornut 04396ed7a9 FAQ and comments about the use of ImTextureID (, , , , , ...)
ocornut 07e379a950 Examples: DirectX9: Wastefully use a RGBA8 texture for the font texture to make compability more evident with user's textures ()
ocornut bf83ac8b55 Examples: Fixed msvc batch files from warning.
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.
ocornut 94ec3d534e Examples: Header comments.
ocornut 6800939e73 Examples: Header comments.
ocornut 5c52e9ec0d Examples: Clarified comments. Removed font merging example from comments.
ocornut d673db3092 Examples: Added README into the Visual Studio solution to people are less likely to miss it.
ocornut 83e6cfbec0 Examples: DirectX9/11: Removed assumption about Unicode build in example main.cpp ()
ocornut 3b2fdf27a8 Examples: Added /Zi (output debug information) in build_win32.bat files
ocornut e46c7b70eb Examples: Most examples apps detect if ImDrawIdx was changed to 32-bits instead of 16
ocornut e858d229a0 Examples: update all examples with same comment ()
Gargaj e4d916a4b3 NULL out font texture on invalidate
If this isn't done, NewFrame won't re-create the font.
ocornut 5d53f37a5d Examples: Possibly clarified the intent of imgui_impl_* files.
ocornut ad4c962224 Examples: DirectX11: Fixed batch file for VS 2012+, still works for 2008/2010.. Include path order matters...
ocornut 853f265025 Examples: Added batch files to build Windows examples with VS
ocornut 7d6ddbe5c8 Examples: comment on setting the RenderDrawListsFn function.
ocornut 822eaf1751 Examples: DX9, DX11: mapping missing middle mouse button.
ocornut 9a0650dbd0 Examples: imgui_impl* functions declared with IMGUI_API to ease copy & pasting into projects using DLL
ocornut 215747635d Examples: DirectX11: resizing buffers dynamically ()
ocornut c016f6c171 Examples: DirectX9: tweaks.
ocornut 698c7cae85 Examples: DirectX9: resizing vertex and index buffers dynamically ()
ocornut 52a74701f5 Updated projects to reference new files ()
Didn't update iOS example ()