omar
|
d8719cf59b
Fixed warnings.
|
7 years ago |
omar
|
9dcc07422e
Viewport: Reorganized viewport enable flags. Both user + platform + renderer need to enable a flag. (#1542)
|
7 years ago |
omar
|
21ff03978a
Viewport: Modal display their darkneing/whitening layer over all viewports. (#1542)
|
7 years ago |
omar
|
25fd9d6132
Viewport: Various sanity fixes. Popup always inherit viewport from their parent for now. (#1542)
|
7 years ago |
omar
|
3637193556
Merge branch 'master' into viewport
|
7 years ago |
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).
|
7 years ago |
omar
|
8e3274e137
Viewport: Tracking current viewport we are appending to + added callback in PlatformInterface for DPI purpose (WIP). (#1542)
|
7 years ago |
omar
|
51afaf7117
Fixed type cast warning.
|
7 years ago |
omar
|
0ec356eb6e
Comments, FAQ update.
|
7 years ago |
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 bf7481eba01252f3e53590c7c592b86b318bcd52).
|
7 years ago |
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.
|
7 years ago |
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)
|
7 years ago |
omar
|
ee770af72c
Columns: Adding per-window display in Metrics. Tidying up, removing old code/comments. (#125, #1499, #1656)
|
7 years ago |
omar
|
c4a158656e
Merge branch 'master' into viewport
|
7 years ago |
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)
|
7 years ago |
omar
|
69e700f869
Renamed ImGuiStyleVar_Count_ to ImGuiStyleVar_COUNT for consistency with other enums. Added
|
7 years ago |
omar
|
8a4093f38b
Added ArrowButton(). Exposed ImGuiDir.
|
7 years ago |
omar
|
1549c5cf5e
BeginCombo(): Added ImGuiComboFlags_NoArrowButton and ImGuiComboFlags_NoPreview flags + hover color matches drag and sliders.
|
7 years ago |
omar
|
ad7ff7504e
Merge branch 'patch-1' of https://github.com/stfx/imgui into stfx-patch-1
|
7 years ago |
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.
|
7 years ago |
omar
|
11f13ab24f
Internal: renamed RenderTriangle() to RenderArrow().
|
7 years ago |
omar
|
e9fa17e1bf
Viewport: Replaced UpdatePlatformWindows/RenderPlatformWindows by RenderAdditionalViewports(). The update is always called in EndFrame(). (#1542)
|
7 years ago |
omar
|
b807347e94
Viewport: When enabled we assert against using RenderDrawListFn to make user more aware of rendering order. (#1542)
|
7 years ago |
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)
|
7 years ago |
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)
|
7 years ago |
omar
|
c994796e26
Internal: Moved IM_NEWLINE helper to imgui_internal.h
|
7 years ago |
omar
|
d98a5d54aa
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787)
|
7 years ago |
omar
|
2c9f45bbe7
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787)
|
7 years ago |
omar
|
735267d27c
Viewport: Initial viewport branch+ platform api commit (squashed from previous commits, still very WIP) (#1542)
|
7 years ago |
omar
|
b5ced477f4
Metrics: Added option to show begin order, useful for debugging.
|
7 years ago |