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
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
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
a2ed3ee2cf
Examples: OpenGL3: Added a way to override the glsl version number through the Init call. ( #1667 , #1466 )
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
b37ef20c5c
Makefile: updated sdl_opengl3_example with all changes from #885 .
ago%!(EXTRA string=7 years)
omar
2c9f45bbe7
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. ( #787 )
ago%!(EXTRA string=7 years)
omar
d7f97922b8
Examples: Fix d749d49903
missing the deletion code. ( #1217 )
ago%!(EXTRA string=7 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=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
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
31158e575f
Examples: SDL: Fixed minor warning.
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
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
4b49f03a40
Examples: SDL+GL3: Added Navigation keyboard mapping. ( #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)
omar
91d77be36e
Examples: Makefile leave CXX alone, instead leave commented out options. (nb: codeship doesn't seem have clang++)
ago%!(EXTRA string=7 years)
Omar Cornut
3cdd2096ec
Examples: Use Clang in old Makefile.
ago%!(EXTRA string=7 years)
omar
ddff378daf
Examples: Synced Makefile comments. Added build/ folder into git ignore list/
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=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)
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=8 years)
omar
15fd5b6c4c
Examples: SDL: Minor renaming.
ago%!(EXTRA string=8 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=8 years)
omar
60d5dc7902
Examples: SDL: Fixed mapping of Insert key ( #1555 , fix bug introduced in #1541 )
ago%!(EXTRA string=8 years)
omar
ce95b84825
Added ImGuiKey_Insert for future use. Setup in all example bindings. ( #1541 )
ago%!(EXTRA string=8 years)