Skip to content

File include/brisk/window/Window.hpp


RawCanvas class

RawCanvas

WindowApplication class

WindowApplication

Window class

Window

DisplaySyncPoint class (Internal::DisplaySyncPoint)

DisplaySyncPoint

FrameTimePredictor class (Internal::FrameTimePredictor)

FrameTimePredictor

currentWindow variable (Internal::currentWindow)

extern Window *currentWindow

Current window instance. Available in UI thread. Set in uiThreadBody


PlatformWindow class

PlatformWindow

Window class

Window

getPosition function (Window::getPosition)

Point getPosition() const

Get the position of window in desktop coordinates
Details If the window is not visible, returns the most recent value.

getSize function (Window::getSize)

Size getSize() const

Get the size of window in desktop coordinates
Details If the window is not visible, returns the most recent value.

getBounds function (Window::getBounds)

Rectangle getBounds() const

Get the bounds of window in desktop coordinates,

Equals to Rectangle(Point(0,0),getSize())
Details If the window is not visible, returns the most recent value.

getRectangle function (Window::getRectangle)

Rectangle getRectangle() const

Get the position and size of window in desktop coordinates,

Equals to Rectangle(getPosition(),getSize())
Details If the window is not visible, returns the most recent value.

m_title variable (Window::m_title)

std::string m_title

UI-thread

m_minimumSize variable (Window::m_minimumSize)

Size m_minimumSize

UI-thread

m_maximumSize variable (Window::m_maximumSize)

Size m_maximumSize

UI-thread

m_windowSize variable (Window::m_windowSize)

Size m_windowSize

UI-thread

m_framebufferSize variable (Window::m_framebufferSize)

Size m_framebufferSize

UI-thread

m_position variable (Window::m_position)

Point m_position

UI-thread

m_cursor variable (Window::m_cursor)

Cursor m_cursor = Cursor::Arrow

UI-thread

m_closing variable (Window::m_closing)

std::atomic_bool m_closing

Desired value. Will be applied to OS window when open

setVisible function (Window::setVisible)

void setVisible(bool newVisible)

If true, application will remove this window from windows list

paint function (Window::paint)

virtual void paint(RenderContext &context)

true if rendering is active


ModalMode class

ModalMode

Auto-generated from sources, Revision , https://github.com/brisklib/brisk/blob//include/brisk/