ocornut
bb224c8aa1
Examples: Updated all examples application to enable ImGuiConfigFlags_NavEnableKeyboard and ImGuiConfigFlags_NavEnableGamepad by default.
ago%!(EXTRA string=2 years)
ocornut
ea39841fcd
Examples: (Again, but better) made SDL+GL and GLFW+GL examples build with Emscripten. ( #2492 , #2494 , #3699 , #3705 )
ago%!(EXTRA string=2 years)
ocornut
f43c6ea6a4
Revert most of "Examples: refactor all examples with a MainLoopStep() function..." ( #2492 , #3699 )"
...
This reverts commit 96ab68eee0
.
# Conflicts:
# docs/CHANGELOG.txt
# examples/example_glfw_opengl3/main.cpp
# examples/example_sdl_opengl3/main.cpp
ago%!(EXTRA string=2 years)
ocornut
ce6e6da510
Examples: Made example_sdl_opengl3 and example_glfw_opengl3 build with Emscripten. Removed dedicated examples. ( #2492 , #2494 , #3699 , #3705 )
ago%!(EXTRA string=2 years)
ocornut
96ab68eee0
Examples: refactor all examples with a MainLoopStep() function, to facilitate use with Emscripten. ( #2492 , #3699 )
...
Aligned all examples.
ago%!(EXTRA string=2 years)
ocornut
73efcec564
Examples: disable GL related warnings on Mac + amend to ignore list.
ago%!(EXTRA string=3 years)
ocornut
5c8041b4d7
Update gif in README + font names in examples
ago%!(EXTRA string=3 years)
tocic
2b1d8e3eaf
Fix more typos in sources and docs ( #5681 )
ago%!(EXTRA string=3 years)
ocornut
92d0924b82
Fixed build with IMGUI_DISABLE_OBSOLETE_KEYIO + made all examples comments refer to StyleColorsLight().
ago%!(EXTRA string=3 years)
ocornut
1e18da5c38
Backends, Examples: Add comments about using WndProc handler and WantCaptureXXX flags. ( #5061 )
...
+ update README.
ago%!(EXTRA string=3 years)
ocornut
e3988a84db
Backends: OpenGL3: Embed our own minimal GL loader (amends). ( #4445 )
ago%!(EXTRA string=4 years)
Rokas Kupstys
459de65477
Backends: OpenGL3: Embed our own minimal GL loader based on gl3w and use it in SDL/GLFW examples. ( #4445 )
...
Loader repository at https://github.com/dearimgui/gl3w_stripped
Removed support for using custom loaders in examples/opengl3 backend
ago%!(EXTRA string=4 years)
Nikolai Wuttke
c6c15a44fa
Examples: Add OpenGL ES 2.0 support to modern GL examples. ( #2837 , #3951 )
ago%!(EXTRA string=4 years)
ocornut
6a161b8789
Examples: Reworked setup of clear color to be compatible with transparent values. ( #2693 , #2764 , #2766 , #2873 , #3447 , #3813 , #3816 )
ago%!(EXTRA string=4 years)
ocornut
b1a18d82e3
Moving backends code from examples/ to backends/ (step 6: update markdown documentation)
ago%!(EXTRA string=5 years)
ocornut
124c2608f1
Docs: Renamed all occurences of "binding" and "back-end" to "backend" in comments and documentations, for consistency.
ago%!(EXTRA string=5 years)
ocornut
7b1ab5b275
ImVector: Stricter bound-checking asserts. Fix warnings: trailing comma (old compilers), zealous preprocessor warnings.
ago%!(EXTRA string=5 years)
omar
fb7f6cab8c
Backends: Amend, docs + extra comments. ( #3330 , #3245 )
ago%!(EXTRA string=5 years)
Moritz Heinemann
06f7854b16
Backends: OpenGL3: Add glad 2 to OpenGL loaders. ( #3330 )
ago%!(EXTRA string=5 years)
ocornut
40b799023b
Docs: Update fonts.md ( #2861 ) + update all references to FONTS.txt
ago%!(EXTRA string=5 years)
omar
f2b01c3436
Changelog, tweak OpenGL3 backends. ( #3061 ), update Gallery thread links.
ago%!(EXTRA string=5 years)
David Kalnischkies
ac4262ad01
Backends: OpenGL3: Support older 2.x series of glbinding as loader for OpenGL3 ( #3061 )
...
This removes the unversioned definition IMGUI_IMPL_OPENGL_LOADER_GLBINDING in favor of two versioned ones to choose explicitly.
References: #2870 , 5e2329b98e
ago%!(EXTRA string=5 years)
Rokas Kupstys
21b9e42964
Minor fixes to example_sdl_metal and a changelog entry.
...
Add example_sdl_metal to CI builds.
Closes #3017 .
ago%!(EXTRA string=5 years)
Rokas Kupstys
5e2329b98e
Backends: GL3: Implement glbinding opengl loader support. ( #2870 )
ago%!(EXTRA string=5 years)
omar
26d177bc03
Docs: Moved misc/fonts/README.txt to docs/FONTS.txt. + tweaks
ago%!(EXTRA string=6 years)
omar
97691643b7
Backends: OpenGL3: Attempt to automatically detect default GL loader by using __has_include. Followup to 44cd8e3
( #2798 )
ago%!(EXTRA string=6 years)
omar
516c3dee80
Examples: SDL+DX11: Changelog, readme, batch files, fixed vcxproj, minor stylistic fixes + minor sync of other main.cpp files. ( #2632 )
ago%!(EXTRA string=6 years)
omar
431aa4e456
Synced/merged minor cruft from docking branch to minimize drift. AFAIK the only meaningful no-op change is that the call UpdateHoveredWindowAndCaptureFlags() was moved above UpdateMouseMovingNewFrame() to match what docking branch has been doing for a while.
ago%!(EXTRA string=6 years)
omar
2c38b32db1
Removed trailing spaces ( #2038 , #2299 )
ago%!(EXTRA string=6 years)
omar
d5b22fb635
Examples: Setting up style before bindings, so in complex binding (vulkan/dx12) it isn't miles away from the context creation.
ago%!(EXTRA string=6 years)
omar
772354377b
Examples: GLFW: User previously installed GLFW callbacks are now saved and chain-called by the default callbacks. ( #1759 )
ago%!(EXTRA string=7 years)
omar
9d155c73bc
Examples: Misc comments mainly related to GLFW callbacks. ( #1759 )
ago%!(EXTRA string=7 years)
omar
a419d46205
Examples: OpenGL3+GLFW/SDL: Made main.cpp compile with IMGUI_IMPL_OPENGL_LOADER_CUSTOM (may be missing init). ( #2178 )
ago%!(EXTRA string=7 years)
omar
f388216ff0
Examples: GLFW: VS2015 project link with legacy_stdio_definitions.lib in order to link with the precompiled VS2010 GLFW3.lib we provide. ( #2010 , #2043 , #2091 )
ago%!(EXTRA string=7 years)
Hui
e6db078eda
gladLoadGL() return 0 to indicate failure ( #2157 )
ago%!(EXTRA string=7 years)
omar
1afd29d382
Examples: Using "dear imgui" terminology in all examples headers/comments + fix minor typo.
ago%!(EXTRA string=7 years)
omar
b127027cbd
Examples: OpenGL: Added support for glew and glad OpenGL loaders out of the box. ( #2001 , #2002 ). Changelog, tweaks, applied changes to SDL+OpenGL3 example.
ago%!(EXTRA string=7 years)
Jérémie Dumas
e476b7e727
WIP on configurable OpenGL loader. ( #2001 , #2002 )
ago%!(EXTRA string=7 years)
omar
ff83d0e369
Examples: Using fully qualified "Dear ImGui" name in window titles.
ago%!(EXTRA string=7 years)
omar
73e13a0762
Examples: Tweaked the main.cpp example structure for all examples. (There are a few hidden agendas here: 1) I would like to avoid encouraging people from using the implicit "Debug" window, and promote using Begin/End. In spite of my best attempt, there are a few feature of the upcoming docking system that cannot work 100% properly for the implicit Debug window, so future proof let's not put that feature in the spotlight too much for new users. 2) Moved dumb hardcoded positions into a single spot that can be replaced with a viewport relative position and not affect other demo windows. 3) Calling ShowDemoWindow before anything else, also for the benefit of a specific docking demo which will have an ordering constraint which is not really problematic in a real app but shouldn't be put forward in the demo.
ago%!(EXTRA string=7 years)
omar
fff014dfed
Examples: OpenGL3: Added shaders more versions of GLSL + made the example app default to GL 3.0 + GLSL 130 (instead of GL 3.2 + GLSL 150) unless on Mac. ( #1938 , #1900 , #1513 , #1466 , etc.)
ago%!(EXTRA string=7 years)
omar
6201cad2b4
Examples: Comments, Demo: Log early out, TODO. ( #1553 )
ago%!(EXTRA string=7 years)
omar
cdf51cad2d
Comments, documentation
ago%!(EXTRA string=7 years)
omar
8d58fbb5ed
Examples: Renamed example folders. ( #1870 )
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)
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)
omar
660c157880
Examples: Added missing calls for ::DestroyWindow, glfwDestroyWindow() + fix old comments.
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=7 years)
omar
2c9f45bbe7
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. ( #787 )
ago%!(EXTRA string=7 years)