237 Commits (a2fbcc9ad4e92f0ea11265c8539c86c0caa1b0c3)

Author SHA1 Message Date
omar 4d46383100 Viewport: Coupling non-main viewport to one window. Viewport name derived from the window. Added ImGuiConfigFlags_PlatformNoTaskBar, off by default (aka re-established task-bars by default for now). (#1542) ago%!(EXTRA string=7 years)
omar 9dcc07422e Viewport: Reorganized viewport enable flags. Both user + platform + renderer need to enable a flag. (#1542) ago%!(EXTRA string=7 years)
omar 19b92751b9 Examples: Updated Makefile and batch files to work with new examples. Using lowercase "gl.h" as it seems this is what Linux wants. 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 e9fa17e1bf Viewport: Replaced UpdatePlatformWindows/RenderPlatformWindows by RenderAdditionalViewports(). The update is always called in EndFrame(). (#1542) ago%!(EXTRA string=7 years)
omar 5b282bdd48 Examples: Renamed glfw error callback so it's more clear what it is. ago%!(EXTRA string=7 years)
Sam Hocevar 124d8522b1 Do not store compiled objects outside the project tree. ago%!(EXTRA string=7 years)
Sam Hocevar b6f251103b Define SOURCES instead of OBJS in Makefiles. ago%!(EXTRA string=7 years)
Sam Hocevar d4f63c3844 Use make variables $@ and $^ where appropriate. ago%!(EXTRA string=7 years)
Sam Hocevar 551932697d Ensure `make clean` is idempotent. ago%!(EXTRA string=7 years)
omar d98a5d54aa Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787) ago%!(EXTRA string=7 years)
omar 8074d56bdd Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787) ago%!(EXTRA string=7 years)
omar 2c9f45bbe7 Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787) ago%!(EXTRA string=7 years)
omar 4cee46f909 Examples: GLFW + OpenGL3: Initial attempt at implementing the viewport/platform api. (WIP/test API) (#1542) 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 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 d534207622 Examples: GLFW: Added support for mouse cursors (ImGui::GetMouseCursor() value and WM_SETCURSOR message handling). (#1495) ago%!(EXTRA string=7 years)
omar 11b12488e8 Examples: GLFW*: Renamed GLFW callbacks exposed in .h to not include GL2/GL3/Vulkan in their name. ago%!(EXTRA string=7 years)
omar c8a9969511 Examples: GLFW+GL2: Moved glfw, gl2 files to root folder, split imgui_impl_glfw_gl2 into _opengl2 and reused imgui_impl_glfw ago%!(EXTRA string=7 years)
omar b0a8734c92 Examples: GLFW+GL3: Split imgui_impl_glfw_gl3 into imgui_impl_glfw and imgui_impl_gl3 (wip) ago%!(EXTRA string=7 years)
omar f5f3730b16 Examples: GLFW+GL2/GL3: Added glPixelStorei() calls borrowed from SDL examples. 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) ago%!(EXTRA string=7 years)
omar 0cefd40888 Examples: Added Changelog to make updates easier. ago%!(EXTRA string=7 years)
omar ae30efc0fd Nav: Examples: Added commented out io.NavFlags |= ImGuiNavFlags_EnableKeyboard to all examples. (#787) 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 7e32fc7109 Nav: Toward automatically mapping keyboard input. Renamed ImGuiNavInput_PadXXX to ImGuiNavInput_XXX. Renamed ImGuiNavInput_KeyXXX to ImGuiNavInput_KeyXXX_ (internal). (#787) 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 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=7 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=7 years)
omar c2e92ab61b Added imgui.natvis helper for visual studio users. Added to examples projects. 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=7 years)
omar 7e7c017b75 Examples: Simplified mouse wheel handling. (#1463) ago%!(EXTRA string=7 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=7 years)
omar ce95b84825 Added ImGuiKey_Insert for future use. Setup in all example bindings. (#1541) ago%!(EXTRA string=7 years)
omar 39cb56c39e Examples: OpenGL3+GLFW: Using 3.2 context + GLSL version 150 (#1466) ago%!(EXTRA string=7 years)
omar 407955d9fb Examples: Using IM_OFFSETOF macro. + Comments ago%!(EXTRA string=7 years)
omar 4c90529c62 Examples: Visual Studio projects: Disabled extraneous function-level check in Release build. ago%!(EXTRA string=7 years)
omar 9f8632b131 Examples: Comments about invalid mouse pos. ago%!(EXTRA string=7 years)
omar ce13426a1a Examples: Comments, synched some minor drift between examples + stronger suggestion to use StyleColorsDark(). ago%!(EXTRA string=7 years)
omar 1b86e7343f Renamed the emblematic ShowTestWindow() function to ShowDemoWindow(). Kept redirection function (will obsolete). ago%!(EXTRA string=7 years)