5361 Commits (f8aed6499fc713b245b863ccc25b412133296de2)

Author SHA1 Message Date
omar a4629b0b36 Viewport, DPI: Select viewport before locking style sizes and before handling double-click-on-title-bar to collapse. (#1542, #1676) ago%!(EXTRA string=7 years)
omar 43f375b2f2 Viewport,Platform: Added GetWindowDpiScale() platform interface, changes of scale are reflected by positioning and resizing windows in their given viewport. (#1542) ago%!(EXTRA string=7 years)
omar 351b3fa7b0 Updated Changelog following merge of #1619 + fixed entry added to wrong version Changelog in 1ef1acbd8d ago%!(EXTRA string=7 years)
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 642c6748ac Comments, Changelog ago%!(EXTRA string=7 years)
omar 9ea16e344a Viewport: Disable extra viewports from hosting other windows. (#1542) ago%!(EXTRA string=7 years)
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 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 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 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 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 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 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 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 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 6797ee4b68 Nav: Added links to PNG/PSD files for PS4 and Switch. Fixed suggested Joy-con mapping as per typical Nintendo-style mapping. (#787) ago%!(EXTRA string=7 years)
omar c994796e26 Internal: Moved IM_NEWLINE helper to imgui_internal.h 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 735267d27c Viewport: Initial viewport branch+ platform api commit (squashed from previous commits, still very WIP) (#1542) ago%!(EXTRA string=7 years)
omar b5ced477f4 Metrics: Added option to show begin order, useful for debugging. ago%!(EXTRA string=7 years)
omar 67319a71e5 Internal: Minor renaming. ago%!(EXTRA string=7 years)
omar 184a6f1198 Internals: Moving window: test mouse validity while translating window + using SetWindowPos(). ago%!(EXTRA string=7 years)
omar b32bb4e6e3 Removed DisplayVisibleMin/DisplayVisibleMax facility (as part of # 1542). Misc comments. ago%!(EXTRA string=7 years)
omar 0e62b7d68a Clearing next window data at the end of Begin() more reliably. Misc comments. ago%!(EXTRA string=7 years)
omar a761779b12 Internals: Settings: Added ReadCloseFn to allow handlers to sanitize data on a per-entry basis. ago%!(EXTRA string=7 years)
omar c7835dd189 ImRect: Removed misleading IsFinite() function used by some Nav code. ago%!(EXTRA string=7 years)
omar 5427eca960 Compacted some old Breaking Changes notes (Pre July 2015 stuff) ago%!(EXTRA string=7 years)
omar bd267ad739 Changelog: Added all change infos since 1.53 up to the current version. ago%!(EXTRA string=7 years)
omar 27667fc035 TreeNode: Renamed Beta ImGuiTreeNodeFlags_NavCloseFromChild to ImGuiTreeNodeFlags_NavLeftJumpsBackHere. (#1079) ago%!(EXTRA string=7 years)
Podgorskiy 94466745bb A tiny optimization to ImLineClosestPoint. Removed unnecessary sqrtf call. ago%!(EXTRA string=7 years)
omar b28995b667 Nav: Internals: Exposed NavMoveRequestCancel in imgui_internal.h (#1640) ago%!(EXTRA string=7 years)
omar 2c3c5125b3 Drag and Drop: BeginDragDropSource(): temporarily removed the optional mouse_button=0 parameter because it is really usable in typical conditions at the moment. (#143, #1637) ago%!(EXTRA string=7 years)
omar 7cbcccd96b Update Breaking Change section with moved misc/fonts/ (#1631) ago%!(EXTRA string=7 years)
omar 7ee2bc8f5e FAQ about backslashes in string literal since the one in main.cpp isn't being noticed enough. (#1397) ago%!(EXTRA string=7 years)
omar b33f0e215f Initialization happens during CreateContext(), which makes it easier for platform layers to interact with the context during their initialization. ago%!(EXTRA string=7 years)
omar 45cbebad64 Added dummy io.DisplayPos field. ago%!(EXTRA string=7 years)