1
0
mirror of https://github.com/Drezil/imgui.git synced 2024-12-26 01:26:35 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
ocornut
5c8041b4d7 Update gif in README + font names in examples 2022-09-19 17:45:05 +02:00
tocic
2b1d8e3eaf Fix more typos in sources and docs () 2022-09-14 20:36:45 +02:00
ocornut
92d0924b82 Fixed build with IMGUI_DISABLE_OBSOLETE_KEYIO + made all examples comments refer to StyleColorsLight(). 2022-07-06 20:58:20 +02:00
ocornut
1e18da5c38 Backends, Examples: Add comments about using WndProc handler and WantCaptureXXX flags. ()
+ update README.
2022-02-28 20:51:50 +01:00
ocornut
11103f8253 Examples: SDL+OpenGL3: fixed build on ES2 target. () 2021-08-27 21:32:36 +02:00
ocornut
e3988a84db Backends: OpenGL3: Embed our own minimal GL loader (amends). () 2021-08-19 16:24:59 +02:00
Rokas Kupstys
459de65477 Backends: OpenGL3: Embed our own minimal GL loader based on gl3w and use it in SDL/GLFW examples. ()
Loader repository at https://github.com/dearimgui/gl3w_stripped
Removed support for using custom loaders in examples/opengl3 backend
2021-08-19 16:24:58 +02:00
Giovanni Funchal
6792e1a3e0 Backends: SDL2: Remove unnecessary ImGui_ImplSDL2_NewFrame() parameter. () 2021-06-30 15:04:40 +02:00
Nikolai Wuttke
c6c15a44fa Examples: Add OpenGL ES 2.0 support to modern GL examples. (, ) 2021-03-26 13:30:35 +01:00
ocornut
6a161b8789 Examples: Reworked setup of clear color to be compatible with transparent values. (, , , , , , ) 2021-02-18 11:38:41 +01:00
ocornut
b1a18d82e3 Moving backends code from examples/ to backends/ (step 6: update markdown documentation) 2020-10-14 14:42:00 +02:00
ocornut
124c2608f1 Docs: Renamed all occurences of "binding" and "back-end" to "backend" in comments and documentations, for consistency. 2020-10-12 17:54:52 +02:00
ocornut
7b1ab5b275 ImVector: Stricter bound-checking asserts. Fix warnings: trailing comma (old compilers), zealous preprocessor warnings. 2020-10-01 14:48:19 +02:00
omar
fb7f6cab8c Backends: Amend, docs + extra comments. (, ) 2020-07-10 14:36:00 +02:00
Moritz Heinemann
06f7854b16 Backends: OpenGL3: Add glad 2 to OpenGL loaders. () 2020-07-10 14:34:25 +02:00
ocornut
40b799023b Docs: Update fonts.md () + update all references to FONTS.txt 2020-06-09 16:56:48 +02:00
omar
f2b01c3436 Changelog, tweak OpenGL3 backends. (), update Gallery thread links. 2020-03-24 18:45:05 +01:00
David Kalnischkies
ac4262ad01 Backends: OpenGL3: Support older 2.x series of glbinding as loader for OpenGL3 ()
This removes the unversioned definition IMGUI_IMPL_OPENGL_LOADER_GLBINDING in favor of two versioned ones to choose explicitly.
References: , 5e2329b98e
2020-03-24 18:36:34 +01:00
Rokas Kupstys
21b9e42964 Minor fixes to example_sdl_metal and a changelog entry.
Add example_sdl_metal to CI builds.

Closes .
2020-02-10 16:53:37 +01:00
Rokas Kupstys
5e2329b98e Backends: GL3: Implement glbinding opengl loader support. () 2020-01-07 21:06:37 +01:00
omar
26d177bc03 Docs: Moved misc/fonts/README.txt to docs/FONTS.txt. + tweaks 2019-11-25 18:29:28 +01:00
Rokas Kupstys
6892b81578 Remove trailing spaces from bunch of files.
(cherry picked from commit 50e0f8d4ddf4c426f62f346c8260a927f6b7c779)
2019-10-15 16:04:02 +02:00
omar
a2f3dcfc97 Added comment about SDL and SDL_INIT_GAMECONTROLLER. () 2019-10-02 11:40:03 +02:00
omar
97691643b7 Backends: OpenGL3: Attempt to automatically detect default GL loader by using __has_include. Followup to 44cd8e3 () 2019-09-22 23:19:04 +02:00
omar
516c3dee80 Examples: SDL+DX11: Changelog, readme, batch files, fixed vcxproj, minor stylistic fixes + minor sync of other main.cpp files. () 2019-06-18 11:28:26 +02:00
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. 2019-06-06 16:13:30 +02:00
omar
6789ea3482 Examples: SDL: Gamepad support minor amend. Fixes ImGuiBackendFlags_HasGamepad not being set. Enable in Emscripten demo. Tweaks. (, ). 2019-04-23 12:38:59 +02:00
David Amador
994a92d79d Added support to use controllers via SDL_GameController. ()
Updated sdl examples to use SDL_INIT_GAMECONTROLLER flag
2019-04-23 12:14:05 +02:00
omar
f159eb35fb Examples: SDL: Removed unused code. () 2019-04-22 10:43:14 +02:00
omar
d16dbc5b87 Examples: SDL: Using the SDL_WINDOW_ALLOW_HIGHDPI flag. (, ) [@rasky] 2019-02-11 18:52:08 +01:00
omar
2c38b32db1 Removed trailing spaces (, ) 2019-01-20 17:56:17 +01:00
omar
d5b22fb635 Examples: Setting up style before bindings, so in complex binding (vulkan/dx12) it isn't miles away from the context creation. 2018-12-20 22:58:34 +01:00
omar
9d155c73bc Examples: Misc comments mainly related to GLFW callbacks. () 2018-11-08 16:06:22 +01:00
omar
a419d46205 Examples: OpenGL3+GLFW/SDL: Made main.cpp compile with IMGUI_IMPL_OPENGL_LOADER_CUSTOM (may be missing init). () 2018-11-08 15:14:09 +01:00
omar
1afd29d382 Examples: Using "dear imgui" terminology in all examples headers/comments + fix minor typo. 2018-09-13 16:50:13 +02:00
Jiří Šebele
f8b7e4d94f Examples: imgui_impl_opengl3 Fix GLAD error condition (, )
`gladLoadGL` returns 0 on fail, not the other way around.
2018-09-03 19:36:02 +02:00
omar
b127027cbd Examples: OpenGL: Added support for glew and glad OpenGL loaders out of the box. (, ). Changelog, tweaks, applied changes to SDL+OpenGL3 example. 2018-08-28 16:08:04 +02:00
omar
ff83d0e369 Examples: Using fully qualified "Dear ImGui" name in window titles. 2018-07-23 17:31:13 +02:00
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. 2018-07-16 22:17:34 +02:00
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. (, , , , etc.) 2018-07-10 18:29:57 +02:00
omar
6201cad2b4 Examples: Comments, Demo: Log early out, TODO. () 2018-07-09 11:43:53 +02:00
omar
cdf51cad2d Comments, documentation 2018-06-11 19:52:40 +02:00
omar
5a13e4dcde Examples: Renamed imgui_impl_sdl2.cpp to imgui_impl_sdl.cpp () + changelog bits 2018-06-10 15:58:21 +02:00
omar
8d58fbb5ed Examples: Renamed example folders. () 2018-06-10 15:42:14 +02:00