WIP: Add CLipRects to UI7 Layouts

- Added Scissor Support to Font Rendering
This commit is contained in:
2026-01-28 07:11:56 +01:00
parent 090656b30c
commit 21b45f5855
10 changed files with 34 additions and 14 deletions

View File

@@ -40,5 +40,18 @@ PD_API void Container::HandleScrolling(fvec2 scrolling, fvec4 viewport) {
PD_API void Container::HandleInternalInput() {
/** Requires Handle Scrolling First */
}
/** Internal function */
PD_API void Container::PreDraw() {
if (pCLipRectUsed) {
list->PushClipRect(pClipRect);
}
}
/** Internal function */
PD_API void Container::PostDraw() {
if (pCLipRectUsed) {
list->PopClipRect();
}
}
} // namespace UI7
} // namespace PD