diff options
| author | Vaxry <vaxry@vaxry.net> | 2026-04-29 18:51:19 +0100 |
|---|---|---|
| committer | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-29 22:05:32 +0100 |
| commit | 31e025dbe04dbe1836ea759f6b6e2ea09591fb23 (patch) | |
| tree | 7b810a935febc522179d332786312c5d26e1ffa7 /src/desktop/view/Window.hpp | |
| parent | 55a1611fd8150d7bb8d1b6e2b8cc95ffccf31ea2 (diff) | |
desktop/window: refactor over fullscreen state
Diffstat (limited to 'src/desktop/view/Window.hpp')
| -rw-r--r-- | src/desktop/view/Window.hpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/desktop/view/Window.hpp b/src/desktop/view/Window.hpp index a5d89c58..32a7bcfe 100644 --- a/src/desktop/view/Window.hpp +++ b/src/desktop/view/Window.hpp @@ -315,15 +315,24 @@ namespace Desktop::View { void setInputBlocked(eWindowInputBlockReason reason, bool blocked); bool isInputBlocked() const; bool isInputBlocked(eWindowInputBlockReason reason) const; + bool isInputBlockedOnly(eWindowInputBlockReason reason) const; bool acceptsInput() const; + bool isAllowedOverFullscreen() const; + bool isBlockedByFullscreen() const; + bool isFadingOutUnderFullscreen() const; + bool shouldRenderOverFullscreen() const; + void updateFullscreenInputState(); PHLANIMVAR<float>& alpha(eWindowAlpha type); const PHLANIMVAR<float>& alpha(eWindowAlpha type) const; float alphaValue(eWindowAlpha type) const; float alphaGoal(eWindowAlpha type) const; float alphaTotal() const; + float alphaTotalGoal() const; float alphaTotalWithout(eWindowAlpha type) const; float effectiveAlpha() const; bool visibleByAlpha() const; + bool visibleByAlphaGoal() const; + bool targetVisible() const; void updateDecorationValues(); SBoxExtents getFullWindowReservedArea(); Vector2D middle(); @@ -339,7 +348,7 @@ namespace Desktop::View { void activate(bool force = false); int surfacesCount(); bool clampWindowSize(const std::optional<Vector2D> minSize, const std::optional<Vector2D> maxSize); - bool isFullscreen(); + bool isFullscreen() const; bool isEffectiveInternalFSMode(const eFullscreenMode) const; int getRealBorderSize() const; float getScrollMouse(); |
