4254 Commits (d8719cf59b3d2907de76cb9e6629fe970fedf93b)
 

Author SHA1 Message Date
omar d8719cf59b Fixed warnings. 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 52c78820aa Examples: SDL: Fix for pre 2.0.4. 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 f318f2d5ea Examples: Added Makefile for SDL+OpenGL2 example. (#1668) ago%!(EXTRA string=7 years)
omar 21ff03978a Viewport: Modal display their darkneing/whitening layer over all viewports. (#1542) ago%!(EXTRA string=7 years)
omar 25fd9d6132 Viewport: Various sanity fixes. Popup always inherit viewport from their parent for now. (#1542) ago%!(EXTRA string=7 years)
omar 3637193556 Merge branch 'master' into viewport 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 cea7492bab Render: Removed the code that disable render if style.Alpha is 0.0f, it is both incorrect (as style Alpha can be modified mid-frame), not really necessary (just tested that full Alpha = 0 will lead to empty draw lists!) and misleading (bulk of the work was already done). ago%!(EXTRA string=7 years)
omar 8e3274e137 Viewport: Tracking current viewport we are appending to + added callback in PlatformInterface for DPI purpose (WIP). (#1542) ago%!(EXTRA string=7 years)
omar 945f4d1ecd Removed redundant semi colons. (#1653) ago%!(EXTRA string=7 years)
omar 51afaf7117 Fixed type cast warning. ago%!(EXTRA string=7 years)
omar 0ec356eb6e Comments, FAQ update. ago%!(EXTRA string=7 years)
omar 5ed45d0aec Columns: Fixed destructive small resize. (#1656). The OffsetNorm clamp introduced by #913 was ok as it didn't write back into the storage, which #1499 started doing making it destructive. Right now I don't think the clamp is needed at all. It had uses (eg: hide the issue fixed by bf7481eba0). ago%!(EXTRA string=7 years)
omar bf7481eba0 Columns: Extent stop at the right-most clipped pixel. The right-most column might appear a little wider but it's usable space matches the others. (#125). +9 Internal: Store InnerClipRect. ago%!(EXTRA string=7 years)
omar 968a8d2a3f Columns: Clamping MaxX above MinX. This shouldn't have much of a benefit / affect, but the internal values are more sane this way. (#125) ago%!(EXTRA string=7 years)
omar ee770af72c Columns: Adding per-window display in Metrics. Tidying up, removing old code/comments. (#125, #1499, #1656) ago%!(EXTRA string=7 years)
omar c4a158656e Merge branch 'master' into viewport ago%!(EXTRA string=7 years)
omar e026c8d3b7 Viewport: Give a chance to platform and renderer to actually destroy their data. Otherwise the regular ImplXXX_Shutdown + following by DestroyContext() order fails to fullifl this. (#1542) ago%!(EXTRA string=7 years)
omar cab41d954e Examples: Vulkan: Further refactor. 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 8a4093f38b Added ArrowButton(). Exposed ImGuiDir. ago%!(EXTRA string=7 years)
omar 1549c5cf5e BeginCombo(): Added ImGuiComboFlags_NoArrowButton and ImGuiComboFlags_NoPreview flags + hover color matches drag and sliders. ago%!(EXTRA string=7 years)
omar ad7ff7504e Merge branch 'patch-1' of https://github.com/stfx/imgui into stfx-patch-1 ago%!(EXTRA string=7 years)
omar 839cdd37a3 Combo: Arrow button isn't displayed over frame color, so color is consistent with other button + the button doesn't have inner rounding. ago%!(EXTRA string=7 years)
omar 11f13ab24f Internal: renamed RenderTriangle() to RenderArrow(). ago%!(EXTRA string=7 years)
omar e0cbfd74d7 Examples: Vulkan: Moved CreateOrResizeWindowData func to imgui_impl_vulkan.h ago%!(EXTRA string=7 years)
omar 426930e028 Examples: Vulkan: Moved main.cpp data structures to imgui_impl_vulkan.h as shared helpers for the benefit of both the example and the platform/viewport renderer interface. 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 b807347e94 Viewport: When enabled we assert against using RenderDrawListFn to make user more aware of rendering order. (#1542) ago%!(EXTRA string=7 years)
omar 7113fc7dee Examples: Vulkan: Moved variables into per-window data, refactored/tweaks to that the bug functions main.cpp for both SDL and GLFW examples match (they'll probably be moved to imgui_impl_vulkan as helpers). ago%!(EXTRA string=7 years)
omar e0f283cfcb Examples: Vulkan: Fix 7b968b098e ago%!(EXTRA string=7 years)
omar 7b968b098e Examples: Vulkan: Reduced duplicate code by skipping present on the first frame. Amend 201d589714 by @ParticlePeter ago%!(EXTRA string=7 years)
omar e927a6ac4a Examples: Vulkan: Various tweak. Misc refactor into per-frame data. Duplicate buffer creation code moved to CreateOrResizeBuffer(). ago%!(EXTRA string=7 years)
omar 9da475e4e8 Examples: GLFW, Vulkan: GLFW binding viewport tweaks to supports Vulkan better (do not call SwapBuffer, share context etc.). Added DUMMY (empty) platform/viewport interface in the viewport code. 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)
omar fc80f2b41a Merge branch 'examples_refactor' into viewport ago%!(EXTRA string=7 years)
omar 68e9ef9885 Examples: Vulkan: SDL: Fixed missing resize handler (not properly merged from #1367) + tweaks. ago%!(EXTRA string=7 years)
omar 296db2ed33 Examples: Vulkan: Moved code into shared helpers: ImGui_ImplVulkan_SelectSurfaceFormat, ImGui_ImplVulkan_SelectPresentMode. ago%!(EXTRA string=7 years)
omar 3171d61dfc Examples: Vulkan: Various tweaks to name variable more consistently like Vulkan + a few comments + a few imgui style code compaction. ago%!(EXTRA string=7 years)
omar 00b9e70ba2 Viewport: Always be lenient with invalid mouse position during dragging, since they are provided by back-end and technically acceptable inputs + comments. (#1542) ago%!(EXTRA string=7 years)
omar 57e9f61852 Examples: Vulkan: Debug report tweak + always enable in Debug build. ago%!(EXTRA string=7 years)
omar cf365ed00b Examples: Fixed enabling IMGUI_VULKAN_DEBUG_REPORT which was broken during refactor because of duplicate 'extensions' local variable. ago%!(EXTRA string=7 years)
omar df8a9c49eb Allow user to override ImTextureId. (#1641) ago%!(EXTRA string=7 years)
omar b37ef20c5c Makefile: updated sdl_opengl3_example with all changes from #885. 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)