Commit Graph

43 Commits (5a7e98c7cf493fc88f7850bdc89c6ac75fa88ed6)

Author SHA1 Message Date
omar 663e2c9237 Examples: GLFW: Made it possible to Shutdown/Init the backend again (by reseting the time storage properly). Changelog. Added to Vulkan example. ()
daniel-murray 83d97d4a9b Fix typos KeyDown => KeysDown
omar 72b7f48870 Renamed ImGuiConfigFlags_NoSetMouseCursor to ImGuiConfigFlags_NoMouseCursorChange. Followup to 75c3793db5 two weeks ago. (, , ) + comments
omar 75c3793db5 IO: Added ImGuiConfigFlags_NoSetMouseCursors. Added ImGuiBackendFlags_HasMouseCursors, ImGuiBackendFlags_HasSetMousePos. (, , )
omar 69e700f869 Renamed ImGuiStyleVar_Count_ to ImGuiStyleVar_COUNT for consistency with other enums. Added
omar daddd09cd5 Examples: Mouse cursor handling comments/tweaks to homogenize. ()
omar d534207622 Examples: GLFW: Added support for mouse cursors (ImGui::GetMouseCursor() value and WM_SETCURSOR message handling). ()
omar 11b12488e8 Examples: GLFW*: Renamed GLFW callbacks exposed in .h to not include GL2/GL3/Vulkan in their name.
omar 243fd67b1c Examples: Vulkan: Fix for empty draw data (init time) + fixed warning.
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..()
Examples: Updated examples.
omar 0cefd40888 Examples: Added Changelog to make updates easier.
omar f0364aa359 Merge branch 'context'
# Conflicts:
#	examples/allegro5_example/main.cpp
#	examples/directx10_example/main.cpp
#	examples/directx11_example/main.cpp
#	examples/directx9_example/main.cpp
#	examples/marmalade_example/main.cpp
#	examples/opengl2_example/main.cpp
#	examples/opengl3_example/main.cpp
#	examples/sdl_opengl2_example/main.cpp
#	examples/sdl_opengl3_example/main.cpp
#	examples/vulkan_example/main.cpp
omar 057807f4a7 Added ImGuiKey_Space, mapped in every examples. Will be required for navigation. ()
omar 73d493c780 Examples: Organized header files to make available features more visible.
omar 27980d9688 Merge branch 'master' into context
omar 6a25a8720a Examples: Using #include "imgui.h" instead of <imgui.h> appear correct-er as per standard? xcode+clang are very nitpicky there.
omar 66d5712a8a Examples: Vulkan: FIxed warnings in 32-bit modes (vulkan uses VkDeviceSize which is always 64-bit long)
omar d3e826c247 Examples: Updated for reorganized context functions. Calling CreateContext(), DestroyContext() in example code. Removed Shutdown() from binding code. (, , , , )
omar 7e7c017b75 Examples: Simplified mouse wheel handling. ()
omar 7dea158175 Examples: Allegro, Apple, DirectX9/10/11, Glfw+Vulkan :Added support for horizontal mouse wheel. ()
omar ce95b84825 Added ImGuiKey_Insert for future use. Setup in all example bindings. ()
omar 9f8632b131 Examples: Comments about invalid mouse pos.
omar fba704bf5d Examples: Added a bunch of comments/referencs related to io.WantCaptureMouse, io.WantCaptureKeyboard (, , , , , , , , , , , , , , and more)
omar 92a6faca6f IO: io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. Previously ImVec2(-1,-1) was enough but we'll now accept negative mouse coordinates.
omar b0db625cab Examples: Vulkan: Fixed an extra validation (tested on Windows with VulkanSDK 1.0.46.0) ()
omar ac2eb4b960 Merge branch 'vk_small_fix' of https://github.com/martty/imgui into martty-vk_small_fix
saschawillems 4da26d85cd Clip negative scissor offsets to zero
saschawillems 12deb53b11 Set required depth member for buffer image copy
Marcell Kiss e0244c8f62 Fix scissor offset being negative
Marcell Kiss 509df3e279 Fix new Vulkan validation warnings
Håvard Mathisen 08ef9819c8 Vulkan example: Fix validation layer warnings and errors and redeclare gl_PerVertex.
ocornut 55863dd274 Examples: Vulkan: Shallow stylistic changes (following )
Marcell Kiss 53126cd713 Add location decorators & change to use structs as in/out in glsl, update embedded spv (produced with glslangValidator -x)
Marcell Kiss 44250caf50 Null the released resources
ocornut 0d3f8807c7 Added a void* user_data parameter to Clipboard function handlers. ()
ocornut 2825eaa0be Examples: Accessing ImVector fields directly, feel less stl-ey and fix renderer side assert when render list only contains a callback ()
Håvard Mathisen 99b4f951b9 Fix Vulkan example for use when a depth buffer is active.
Marcell Kiss 4bc6a951fe tabs to space, remove braces
Marcell Kiss 3234f81cb1 maxImageCount may be 0; add missing sType; change to 1 push constant range
ocornut 0e7b9b8284 Examples: Vulkan: Coding style tweaks.
Håvard Mathisen 1394616d9c Vulkan Example: Some code layout changes.
Håvard Mathisen 4ea4fa3e73 Vulkan Example: Fix synchronization.
Håvard Mathisen 4cbd316f01 Vulkan example.