60 Commits (63310acd5889c7b56ccdbf51d1acc2d98dce4e6f)

Author SHA1 Message Date
omar 6789ea3482 Examples: SDL: Gamepad support minor amend. Fixes ImGuiBackendFlags_HasGamepad not being set. Enable in Emscripten demo. Tweaks. (#2509, #2484). ago%!(EXTRA string=6 years)
David Amador 994a92d79d Added support to use controllers via SDL_GameController. (#2509) ago%!(EXTRA string=6 years)
omar f159eb35fb Examples: SDL: Removed unused code. (#2484) ago%!(EXTRA string=6 years)
omar 35cbf9c052 Examples: Visual Studio: Updated default platform toolset+sdk in vcproj files from v100+sdk7 (vs2010) to v110+sdk8 (vs2012). This is mostly so we can remove reliance on DXSDK_DIR for the DX10/DX11 example, which if existing and when switching to recent SDK ends up conflicting and creating warnings. ago%!(EXTRA string=6 years)
omar 42423d5ea4 Examples: Makefile: Tweaks so they are more consistent with each others. Added -g./opt/local includes for MacPorts on Mac OS X. (#297) ago%!(EXTRA string=6 years)
omar da035ced97 InputText, Examples/SDL: Emulate \t input if back-end doesn't provide it. (#1336, #2467) ago%!(EXTRA string=6 years)
omar 3eedb542a6 Viewports: Renamed ConfigViewportsNoParent to ConfigViewportsNoDefaultParent. Fix outdated comments in examples. ago%!(EXTRA string=6 years)
omar d0c98bf880 Examples: VS: Made project paths independant of SolutionDir so they can be built aside from the solution. ago%!(EXTRA string=6 years)
omar d16dbc5b87 Examples: SDL: Using the SDL_WINDOW_ALLOW_HIGHDPI flag. (#2306, #1676) [@rasky] ago%!(EXTRA string=6 years)
omar 2c38b32db1 Removed trailing spaces (#2038, #2299) ago%!(EXTRA string=6 years)
omar a71d3c8cb3 Viewport: Misc comments following user feedbacks.. 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 62cfdceac1 Examples: Viewport: Moved the "make current GL context" to reduce the amount of call and hopefully be more explicit about viewport enabled vs disabled requirements. (#1542) ago%!(EXTRA string=6 years)
omar 12a1e7d04e Viewport: Comment to suggest making WindowBg opaque when viewports are enabled. 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 131bf5ee4a Examples: SDL: Tweaked Windows instructions and batch files. (#2175) ago%!(EXTRA string=7 years)
omar 5ea08394f5 Examples: SDL: Tweaked Windows instructions and batch files. (#2175) ago%!(EXTRA string=7 years)
omar b57baa5ba0 Viewport: Enabled viewports by default in more example apps. 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 49533bc86e Examples: Enabled Docking + Nav by default in the branch. (#351) ago%!(EXTRA string=7 years)
Jiří Šebele f8b7e4d94f Examples: imgui_impl_opengl3 Fix GLAD error condition (#2059, #2002) ago%!(EXTRA string=7 years)
omar e312363007 Refactor: Added empty imgui_widgets.cpp + updated project files / makefiles etc. accordingly (#2036) ago%!(EXTRA string=7 years)
omar 01586d33f3 Refactor: Added empty imgui_widgets.cpp + updated project files / makefiles etc. accordingly (#2036) 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)
luk1337 e3eb4111cc Examples: Fix 'How to build' instructions for SDL2 examples (#2012) 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 5a13e4dcde Examples: Renamed imgui_impl_sdl2.cpp to imgui_impl_sdl.cpp (#1870) + changelog bits ago%!(EXTRA string=7 years)
omar 8d58fbb5ed Examples: Renamed example folders. (#1870) ago%!(EXTRA string=7 years)