Skip to content

ACustomCaptionWindow#

Represents a window with customizable caption bar.

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

Detailed Description#

ACustomCaptionWindow implements a fully custom window with customizable caption (title) bar. The way it's done is platform dependent. The goal is to implement a customizable caption bar yet preserve native system caption bar look and feel.

Use getCaptionContainer to fill up window caption.

Use getContentContainer to fill up the window contents.

Do not use setContents/setLayout.

Depending on the platform, AUI provides following ASS classes to customize: - ".window-title" for whole window caption container. It has BackgroundSolid by default. - ".title" for window title label - ".window-title-content" for your contents - ".minimize" for minimize button - ".close" for close button - ".middle" for maximize button

Public Methods#

getCaptionContainer#


const _<AViewContainer>& ACustomCaptionWindow::getCaptionContainer()
Returns
customizable container inside caption.

getContentContainer#


const _<AViewContainer>& ACustomCaptionWindow::getContentContainer()
Returns
actual window contents.