Skip to content

AOverflow#

Controls visibility of the overflowed contents of AView with AView::drawStencilMask.

Header:#include <AUI/Enum/AOverflow.h>
CMake:aui_link(my_target PUBLIC aui::views)

Examples#

examples/ui/backdrop/src/main.cpp

Backdrop - Backdrop effects demo.

            } AUI_LET { it->setExtraStylesheet(
                     AStylesheet {
                         {
                             t<AScrollAreaViewport>(),
                             AOverflow::VISIBLE,
                         },
                     }
                     ); },
        Vertical::Expanding {
          Centered {

examples/7guis/circle_drawer/src/main.cpp

7GUIs Circle Drawer - Undo, redo, dialog control.

        setCustomStyle({
          Expanding(),
          BackgroundSolid(AColor::WHITE),
          Border(1_px, AColor::GRAY),
          AOverflow::HIDDEN_FROM_THIS,
        });
        connect(mState->circles.changed, me::redraw);
        connect(mHoveredCircle.changed, me::redraw);
    }

Examples#