omar
ccc9a22db3
Viewport: Changelog + Internals: Renamed viewport mouse fields for consistency (going to add more). ( #1542 )
ago%!(EXTRA string=7 years)
omar
d1c45db9e8
Fixed enum typo.
ago%!(EXTRA string=7 years)
omar
c00523dba4
Viewport: Added extra Metrics and debug features.
ago%!(EXTRA string=7 years)
omar
9d5ec05150
Viewport, Platform: Update the contents of GetPlatformData() in EndFrame() so back-end can access it even if UpdatePlatformWindows hasn't been called. ( #1542 )
ago%!(EXTRA string=7 years)
omar
2fecd332fc
Viewport, Platform: Added void* to render/swap buffer functions. Comments. ( #1542 , #1042 )
ago%!(EXTRA string=7 years)
omar
62e94717eb
Nav: InputText: Allow editing text input fields with NavActivate (space). Not sure about that, on one hand it feels more consistent but you can't finish the editing with space to double space (activate + input space) could feel inconsistent. ( #787 )
ago%!(EXTRA string=7 years)
omar
33ad8b2f0c
Nav: Track nav input source more generally (gamepad vs keyboard) ( #787 ) + update todos and demo tweaks
ago%!(EXTRA string=7 years)
omar
46b61427e1
Viewport, Platform: Refactored platform interface. Removed need to use imgui_internal.h in backends. Split viewport into public facing ImGuiViewport and internal structure. Exposing enough data to provide custom tweaked renderers. Renamed handlers, fixed lots of inconsistencies. ( #1542 , #1042 )
ago%!(EXTRA string=7 years)
omar
1ab236d9df
Viewport, Platform: Internal renaming to use more consistent (OsDesktopPos > PlatformPos). ( #1542 )
ago%!(EXTRA string=7 years)
omar
8364d1ca6c
Viewport: Removed back-end renderer code that implied we need to clear with WindowBg color. Added NoRendererClear flag. ( #1542 , #1042 )
ago%!(EXTRA string=7 years)
omar
6e58a95a01
Viewport, Platform, Examples: Changes to resizing flow + restored support for Platform events affecting the ImGui windows (so Decorated windows are functional). ( #1542 , #1042 ) ..
...
SDL: Added platform move/resize/close support.
GLFW: Added platform move/resize support. Moved Close to use callback for consistency.
Win32:
Vulkan: Fixed resize support.
Naming is WIP "PlatforrmRequestXXX" is too ambiguous. Basically we either have a ImGui->Platform flow or a Platform->ImGui flow. Working a bigger refactor now.
ago%!(EXTRA string=7 years)
omar
207ad45983
Metrics: Displaying all draw lists of a window (if it uses layer 0 and has already been appended to earlier in the frame).
ago%!(EXTRA string=7 years)
omar
921bb92eec
Viewport: Fixed software mouse cursor from appearing in all multiple lists simultaneously. ( #1542 )
ago%!(EXTRA string=7 years)
omar
c50198debe
Viewport: Obsoleted io.DisplayPos (which was a Viewport branch thing), added ImDrawData::DisplayPos, DisplaySize ( #1542 ) wip
ago%!(EXTRA string=7 years)
omar
6371474031
Viewport: Removed unnecessary function hoop.
ago%!(EXTRA string=7 years)
omar
e7670c0bcc
Style: CloseButton() now display a proper cross. Using Button colors for background. Removed ImGuiCol_CloseButton, ImGuiCol_CloseButtonActive, ImGuiCol_CloseButtonHovered as the closing cross uses regular button colors now. ( #707 )
ago%!(EXTRA string=7 years)
omar
b9ac127b0b
Internals: Columns renaming fields
ago%!(EXTRA string=7 years)
omar
5e63711084
Viewport, DPI: Some early work on per-viewport DPI support. At the moment the easiest way is to replace fonts during the ChangedViewport callback, but down the line we should aim at handling some of it at ImFont level. ( #1542 , #1676 )
ago%!(EXTRA string=7 years)
omar
a2fbcc9ad4
Examples: DPI: Portable DPI related helpers in the _Win32 examples. Using one in examples's main.cpp, the GetDpiScale functions are not wired anywhere for now. ( #1542 , #1676 )
ago%!(EXTRA string=7 years)
omar
10030ff3ec
Viewport: Fix dropping back viewport not being moved to the front of the window list. (Now that viewport are more tighly coupled to a single root window) ( #1542 )
ago%!(EXTRA string=7 years)
omar
648735a4cf
Viewport, DPI: Don't activate current window until a viewport has been selected. At this point we'll have the proper size/scale for the current DPI + fix viewport callback when appending to an existing window more than once a frame. ( #1542 , #1676 )
ago%!(EXTRA string=7 years)
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)