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)
omar
06aa9d8d9a
Examples: Fixed Makefile, batch files.
ago%!(EXTRA string=7 years)
omar
8c374512fd
Examples, Platform: Removed the call to ImGui::NewFrame() from the platform _NewFrame() function e.g. ImGui_ImplWin32_NewFrame(), ImGui_ImplSDL2_NewFrame(), ImGui_ImplGlfw_NewFrame(), etc. Moved to main.cpp for consistency. ( #1542 )
ago%!(EXTRA string=7 years)
omar
77d51ebf24
Examples: Added .. folder in include path to remove the awkward #include "../imgui_impl_xxx.h" statements.
ago%!(EXTRA string=7 years)
omar
39f4761ff7
TODO list update + Changelog and comments for #1803 .
ago%!(EXTRA string=7 years)
Elias Daler
895647a240
Fixed clipboard paste memory leak in SDL examples. ( #1803 )
ago%!(EXTRA string=7 years)
omar
eb1c36fdfb
Added IMGUI_CHECKVERSION() macro to compare version string and data structure sizes in order to catch issues with mismatching compilation unit settings. ( #1695 , #1769 )
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
cd602b8832
Examples: SDL: Note about SDL breaking the IME under Windows (I can't seem a way SDL2 Windows IME implementation can possibly work, the functions are never called/referenced).
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
74b7dce394
Examples: Renamed applications to emphasis on use of GLFW as a platform framework + minor local tweaks
ago%!(EXTRA string=7 years)
omar
98b66a5fc9
Examples: Using draw_data->DisplaySize, followup to c50198debe
. Fix Vulkan secondary viewport rendering. SDL+Vulkan: Matched changes. Fix vcprojs. ( #1542 , #1042 )
ago%!(EXTRA string=7 years)
omar
19b92751b9
Examples: Updated Makefile and batch files to work with new examples. Using lowercase "gl.h" as it seems this is what Linux wants.
ago%!(EXTRA string=7 years)
omar
f318f2d5ea
Examples: Added Makefile for SDL+OpenGL2 example. ( #1668 )
ago%!(EXTRA string=7 years)
omar
7fd62baa42
Examples: Added Makefile for SDL+OpenGL2 example. ( #1668 )
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
d98a5d54aa
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. ( #787 )
ago%!(EXTRA string=7 years)
omar
8074d56bdd
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. ( #787 )
ago%!(EXTRA string=7 years)
omar
2c9f45bbe7
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. ( #787 )
ago%!(EXTRA string=7 years)
omar
cb601d79e8
Examples: SDL: Initial attempt at implementing the viewport/platform api. (WIP/test API) ( #1542 )
...
ImGui_ImplSDL2_Init() now takes a SDL GL context.
ago%!(EXTRA string=7 years)
omar
9b9d9321cf
Examples: SDL: Using %SDL2_DIR% in the .vcproj instead of %SDL_DIR%, the earlier is more standard.
ago%!(EXTRA string=7 years)
omar
47d1360124
Examples: Using SDL2_DIR instead of SDL_DIR (more standard).
ago%!(EXTRA string=7 years)
omar
9c20a40b36
Examples: OpenGL: Cast call to glPolygonMode(). ( #1628 ).
ago%!(EXTRA string=7 years)
omar
daddd09cd5
Examples: Mouse cursor handling comments/tweaks to homogenize. ( #1495 )
ago%!(EXTRA string=7 years)
omar
ef521d1e0b
Examples: SDL: Extracted into imgui_impl_sdl.*, reused imgui_impl_opengl* files.
ago%!(EXTRA string=7 years)
omar
00b24f27c2
Examples: SDL: Added .vcproj files.
ago%!(EXTRA string=7 years)
omar
03a44acf6f
Examples: SDL: Minor stylistic tweaks. Fixed handling of ImGuiMouseCursor_None so it doesn't underflow array. Fixed harmless uninitialized pointer. ( #1626 )
ago%!(EXTRA string=7 years)
omar
7c75835200
Renamed misleading ImGuiMouseCursor_Move to ImGuiMouseCursor_ResizeAll. SDL: Fixed cursor. ( #1626 )
ago%!(EXTRA string=7 years)
Oliver Faircliff
ffb6e89f30
Use SDL system cursors in SDL examples. ( #1626 )
...
(Squashed 4 commits)
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
41ecebff5a
Examples: SDL: Added Changelog at the top of the imgui_impl files. ( #1618 )
ago%!(EXTRA string=7 years)
omar
ae30efc0fd
Nav: Examples: Added commented out io.NavFlags |= ImGuiNavFlags_EnableKeyboard to all examples. ( #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
fcf1c9d151
Examples: SDL: Using SDL_GetPerformanceCounter() / SDL_GetPerformanceFrequency() to handle framerate over 1000 fps properly. Noticed bad inputs artefacts in Nav branch at 2000 fps without this. ( #996 )
ago%!(EXTRA string=7 years)
omar
60fb7d31fd
Examples: SDL2: Enabling vsync. Using scancode consistently, fixed keyboard weirdness.
ago%!(EXTRA string=7 years)
omar
73d493c780
Examples: Organized header files to make available features more visible.
ago%!(EXTRA string=7 years)
omar
cd3dd886de
Moved extra_fonts/ to misc/fonts/. Moved .natvis file to misc/natvis/ ( #1569 )
ago%!(EXTRA string=7 years)
omar
cca9c3e3da
Examples: Using Dark theme by default. ( #707 ). Tweaked demo code.
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)
Jérôme Pasquier
c226e02ca0
Fix sdl_opengl2_example filename in README.md's build instructions
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
7e7c017b75
Examples: Simplified mouse wheel handling. ( #1463 )
ago%!(EXTRA string=7 years)
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 )
ago%!(EXTRA string=7 years)
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.
ago%!(EXTRA string=7 years)
omar
00351ee2ab
Examples: SDL: Minor renaming.
ago%!(EXTRA string=7 years)
omar
79dca9d5e6
Examples: SDL+GL2: Renamed imgui_impl_sdl.* to imgui_impl_sdl_gl2.* for consistency and to emphasis on GL2-ness.
ago%!(EXTRA string=7 years)
omar
15fd5b6c4c
Examples: SDL: Minor renaming.
ago%!(EXTRA string=7 years)
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 )
ago%!(EXTRA string=7 years)