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
929522febe
Missing examples changelog bits and todo list
ago%!(EXTRA string=7 years)
omar
9770c8b21d
Examples: OpenGL3: Removed unnecessary backup/restore of GL_ELEMENT_ARRAY_BUFFER_BINDING since this is part of the VAO state. ( #1836 )
ago%!(EXTRA string=7 years)
omar
bef0a13283
Examples: Comments about GLSL version not being the same as GL context version. ( #1828 )
ago%!(EXTRA string=7 years)
omar
663e2c9237
Examples: GLFW: Made it possible to Shutdown/Init the backend again (by reseting the time storage properly). Changelog. Added to Vulkan example. ( #1827 )
ago%!(EXTRA string=7 years)
ice1000
e8a72d3e72
Examples: GLFW* Make subsequent window creation possible.
ago%!(EXTRA string=7 years)
omar
19544629be
Examples: OpenGL3: Trying to make the call to glBindSampler optional to make the example code easier to use/share with different context version. ( #1806 )
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
660c157880
Examples: Added missing calls for ::DestroyWindow, glfwDestroyWindow() + fix old comments.
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
94116f1143
Examples: GLFW: Don't alter cursor mode if GLFW_CURSOR input mode is GLFW_CURSOR_DISABLED. ( #1202 ) [ @PhilCK ]
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
dcf7c3d188
Added ImGuiBackendFlags for backend to expose its capabilities. Added ImGuiBackendFlags_HasGamepad. ( #787 , #1542 )
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
74b7dce394
Examples: Renamed applications to emphasis on use of GLFW as a platform framework + minor local tweaks
ago%!(EXTRA string=7 years)
omar
1c18d65313
Examples: Renamed glfw error callback for clarity.
ago%!(EXTRA string=8 years)
omar
a2ed3ee2cf
Examples: OpenGL3: Added a way to override the glsl version number through the Init call. ( #1667 , #1466 )
ago%!(EXTRA string=8 years)
omar
69e700f869
Renamed ImGuiStyleVar_Count_ to ImGuiStyleVar_COUNT for consistency with other enums. Added
ago%!(EXTRA string=8 years)
Sam Hocevar
124d8522b1
Do not store compiled objects outside the project tree.
ago%!(EXTRA string=8 years)
Sam Hocevar
b6f251103b
Define SOURCES instead of OBJS in Makefiles.
...
OBJS is still deduced from SOURCES, but this change gives better control
over where the object files get actually written.
ago%!(EXTRA string=8 years)
Sam Hocevar
d4f63c3844
Use make variables $@ and $^ where appropriate.
ago%!(EXTRA string=8 years)
Sam Hocevar
551932697d
Ensure `make clean` is idempotent.
...
Prior to this, `make clean` would fail if the project was not already
fully built, and a second invokation would always fail.
ago%!(EXTRA string=8 years)
omar
2c9f45bbe7
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. ( #787 )
ago%!(EXTRA string=8 years)
omar
d7f97922b8
Examples: Fix d749d49903
missing the deletion code. ( #1217 )
ago%!(EXTRA string=8 years)
omar
d749d49903
Examples: OpenGL3: Create the VAO in the render function so the setup can more easily be used with multiple shared GL context. ( #1217 )
ago%!(EXTRA string=8 years)
omar
9c20a40b36
Examples: OpenGL: Cast call to glPolygonMode(). ( #1628 ).
ago%!(EXTRA string=8 years)
omar
daddd09cd5
Examples: Mouse cursor handling comments/tweaks to homogenize. ( #1495 )
ago%!(EXTRA string=8 years)
omar
d534207622
Examples: GLFW: Added support for mouse cursors (ImGui::GetMouseCursor() value and WM_SETCURSOR message handling). ( #1495 )
ago%!(EXTRA string=8 years)
omar
11b12488e8
Examples: GLFW*: Renamed GLFW callbacks exposed in .h to not include GL2/GL3/Vulkan in their name.
ago%!(EXTRA string=8 years)
omar
f5f3730b16
Examples: GLFW+GL2/GL3: Added glPixelStorei() calls borrowed from SDL examples.
ago%!(EXTRA string=8 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=8 years)
omar
0cefd40888
Examples: Added Changelog to make updates easier.
ago%!(EXTRA string=8 years)
omar
ae30efc0fd
Nav: Examples: Added commented out io.NavFlags |= ImGuiNavFlags_EnableKeyboard to all examples. ( #787 )
ago%!(EXTRA string=8 years)
omar
3171f90a1a
Nav: Keyboard is now automatically mapped based on io.KeyDown[]. ( #787 )
ago%!(EXTRA string=8 years)
omar
057807f4a7
Added ImGuiKey_Space, mapped in every examples. Will be required for navigation. ( #787 )
ago%!(EXTRA string=8 years)
omar
7e32fc7109
Nav: Toward automatically mapping keyboard input. Renamed ImGuiNavInput_PadXXX to ImGuiNavInput_XXX. Renamed ImGuiNavInput_KeyXXX to ImGuiNavInput_KeyXXX_ (internal). ( #787 )
ago%!(EXTRA string=8 years)
omar
73d493c780
Examples: Organized header files to make available features more visible.
ago%!(EXTRA string=8 years)
omar
cd3dd886de
Moved extra_fonts/ to misc/fonts/. Moved .natvis file to misc/natvis/ ( #1569 )
ago%!(EXTRA string=8 years)
omar
cca9c3e3da
Examples: Using Dark theme by default. ( #707 ). Tweaked demo code.
ago%!(EXTRA string=8 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=8 years)
omar
91d77be36e
Examples: Makefile leave CXX alone, instead leave commented out options. (nb: codeship doesn't seem have clang++)
ago%!(EXTRA string=8 years)
Omar Cornut
3cdd2096ec
Examples: Use Clang in old Makefile.
ago%!(EXTRA string=8 years)
omar
ddff378daf
Examples: Synced Makefile comments. Added build/ folder into git ignore list/
ago%!(EXTRA string=8 years)
omar
827f4b17d3
Nav: Examples: Glfw+GL3: Added basic gamepad mapping code when io.NavFlags & ImGuiNavFlags_EnableGamepad is set. (will iterate/tweak before spreading to other examples). ( #787 )
ago%!(EXTRA string=8 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=8 years)
omar
c2e92ab61b
Added imgui.natvis helper for visual studio users. Added to examples projects.
ago%!(EXTRA string=8 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=8 years)
omar
7e7c017b75
Examples: Simplified mouse wheel handling. ( #1463 )
ago%!(EXTRA string=8 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=8 years)