Base Framework
|
Generic window implementation. More...
#include <base/ui/FocuslessWindowImpl.h>
Inherits Object, and Drawable.
Inherited by GraphicsContext, and OpenGLContext.
Classes | |
class | Key |
class | Mouse |
struct | Region |
Public Member Functions | |
WindowImpl () | |
WindowImpl (const Position &position, const Dimension &dimension, unsigned int flags) | |
Position | getBindingOffset (Binding binding) const noexcept |
void | flush () |
void | invalidate () |
String | getServerVendor () const |
unsigned int | getServerRelease () const |
unsigned int | getFlags () const |
void | displayMenu (const Position &position, const Menu &menu) |
bool | getAutorepeat () const |
void | setAutorepeat (bool autorepeat) |
String | getTitle () const |
void | setTitle (const String &title) |
String | getIconTitle () const |
void | setIconTitle (const String &title) |
Position | getPosition () const |
void | setPosition (const Position &position) |
Dimension | getDimension () const |
void | setDimension (const Dimension &dimension) |
void | setRegion (const Position &position, const Dimension &dimension) |
void | setMinimumSize (const Dimension &dimension) |
void | setMaximumSize (const Dimension &dimension) |
Cursor | getCursor () const noexcept |
void | setCursor (Cursor cursor) |
Position | toGlobalPosition (const Position &position) const |
Position | getCursorPosition () const |
void | setCursorPosition (const Position &position) |
void | releaseCursorConfinement () |
void | setCursorConfinement () |
void | setCursorConfinement (const Position &position, const Dimension &dimension) |
void | disableClipping () |
Region | getClipping () const |
void | setClipping (const Position &position, const Dimension &dimension) |
void | close () |
bool | isChildOf (const WindowImpl &object) |
bool | isParentOf (const WindowImpl &object) |
bool | isMaximized () |
bool | isMinimized () |
void | maximize () |
void | minimize () |
void | normalize () |
bool | isVisible () const noexcept |
Visibility | getVisibility () const noexcept |
void | show () |
void | hide () |
bool | isEnabled () const noexcept |
void | enable () |
void | disable () |
void | raise () |
void | acquireFocus () |
bool | getCapture () const |
void | setCapture (bool state) |
DisplayMode | getDisplayMode () const |
void | setDisplayMode (DisplayMode displayMode) |
unsigned int | getKeyState (unsigned int code) const |
unsigned int | getModifiers () const |
virtual void | onDestruction () noexcept |
virtual void | onDisplay () noexcept |
virtual void | onMove (const Position &position) noexcept |
virtual void | onResize (const Dimension &dimension) noexcept |
virtual void | onMouseMove (const Position &position, unsigned int buttons) noexcept |
virtual void | onMouseScope (bool scope) noexcept |
virtual void | onMouseButton (const Position &position, Mouse::Button button, Mouse::Event event, unsigned int state) noexcept |
virtual void | onMouseWheel (const Position &position, int delta, unsigned int buttons) noexcept |
virtual void | onKey (unsigned int key, unsigned int flags, unsigned int modifiers) noexcept |
virtual void | onIdle () noexcept |
virtual bool | onClose () noexcept |
virtual void | onVisibility (Visibility visibility) noexcept |
virtual void | onFocus (Focus focus) noexcept |
virtual void | onMenu (unsigned int identifier) noexcept |
virtual void | onCommand (unsigned int identifier) noexcept |
void | update () |
void | wait () |
bool | wait (unsigned int milliseconds) |
bool | openDispatch () |
bool | hasMouse () noexcept |
unsigned int | getMouseButtons () noexcept |
unsigned int | getNumberOfMonitors () noexcept |
Dimension | getDisplayDimension () noexcept |
bool | isResponding (unsigned int milliseconds) |
virtual | ~WindowImpl () noexcept |
WindowImpl () | |
WindowImpl (const Position &position, const Dimension &dimension, unsigned int flags) | |
Position | getBindingOffset (Binding binding) const noexcept |
void | flush () |
void | invalidate () |
String | getServerVendor () const |
unsigned int | getServerRelease () const |
unsigned int | getFlags () const |
void | displayMenu (const Position &position, const Menu &menu) |
bool | getAutorepeat () const |
void | setAutorepeat (bool autorepeat) |
String | getTitle () const |
void | setTitle (const String &title) |
String | getIconTitle () const |
void | setIconTitle (const String &title) |
Position | getPosition () const |
void | setPosition (const Position &position) |
Dimension | getDimension () const |
void | setDimension (const Dimension &dimension) |
void | setRegion (const Position &position, const Dimension &dimension) |
void | setMinimumSize (const Dimension &dimension) |
void | setMaximumSize (const Dimension &dimension) |
Cursor | getCursor () const noexcept |
void | setCursor (Cursor cursor) |
Position | toGlobalPosition (const Position &position) const |
Position | getCursorPosition () const |
void | setCursorPosition (const Position &position) |
void | releaseCursorConfinement () |
void | setCursorConfinement () |
void | setCursorConfinement (const Position &position, const Dimension &dimension) |
void | disableClipping () |
Region | getClipping () const |
void | setClipping (const Position &position, const Dimension &dimension) |
void | close () |
bool | isChildOf (const WindowImpl &object) |
bool | isParentOf (const WindowImpl &object) |
bool | isMaximized () |
bool | isMinimized () |
void | maximize () |
void | minimize () |
void | normalize () |
bool | isVisible () const noexcept |
Visibility | getVisibility () const noexcept |
void | show () |
void | hide () |
bool | isEnabled () const noexcept |
void | enable () |
void | disable () |
void | raise () |
void | acquireFocus () |
bool | getCapture () const |
void | setCapture (bool state) |
DisplayMode | getDisplayMode () const |
void | setDisplayMode (DisplayMode displayMode) |
unsigned int | getKeyState (unsigned int code) const |
unsigned int | getModifiers () const |
virtual void | onDestruction () noexcept |
virtual void | onDisplay () noexcept |
virtual void | onMove (const Position &position) noexcept |
virtual void | onResize (const Dimension &dimension) noexcept |
virtual void | onMouseMove (const Position &position, unsigned int buttons) noexcept |
virtual void | onMouseScope (bool scope) noexcept |
virtual void | onMouseButton (const Position &position, Mouse::Button button, Mouse::Event event, unsigned int state) noexcept |
virtual void | onMouseWheel (const Position &position, int delta, unsigned int buttons) noexcept |
virtual void | onKey (unsigned int key, unsigned int flags, unsigned int modifiers) noexcept |
virtual void | onIdle () noexcept |
virtual bool | onClose () noexcept |
virtual void | onVisibility (Visibility visibility) noexcept |
virtual void | onFocus (Focus focus) noexcept |
virtual void | onMenu (unsigned int identifier) noexcept |
virtual void | onCommand (unsigned int identifier) noexcept |
void | update () |
void | wait () |
bool | wait (unsigned int milliseconds) |
bool | openDispatch () |
bool | hasMouse () noexcept |
unsigned int | getMouseButtons () noexcept |
unsigned int | getNumberOfMonitors () noexcept |
Dimension | getDisplayDimension () noexcept |
bool | isResponding (unsigned int milliseconds) |
virtual | ~WindowImpl () noexcept |
WindowImpl () | |
WindowImpl (const Position &position, const Dimension &dimension, unsigned int flags) | |
Position | getLocalBindingOffset (Binding binding) const noexcept |
Position | getBindingOffset (Binding binding) const noexcept |
void | flush () |
void | invalidate () |
String | getServerVendor () const |
unsigned int | getServerRelease () const |
unsigned int | getFlags () const |
void | displayMenu (const Position &position, const Menu &menu) |
bool | getAutorepeat () const |
void | setAutorepeat (bool autorepeat) |
String | getTitle () const |
void | setTitle (const String &title) |
String | getIconTitle () const |
void | setIconTitle (const String &title) |
Position | getPosition () const |
void | setPosition (const Position &position) |
Dimension | getDimension () const |
void | setDimension (const Dimension &dimension) |
void | setRegion (const Position &position, const Dimension &dimension) |
void | setMinimumSize (const Dimension &dimension) |
void | setMaximumSize (const Dimension &dimension) |
Cursor | getCursor () const noexcept |
void | setCursor (Cursor cursor) |
Position | toGlobalPosition (const Position &position) const |
Position | getCursorPosition () const |
void | setCursorPosition (const Position &position) |
void | releaseCursorConfinement () |
void | setCursorConfinement () |
void | setCursorConfinement (const Position &position, const Dimension &dimension) |
void | disableClipping () |
Region | getClipping () const |
void | setClipping (const Position &position, const Dimension &dimension) |
void | close () |
bool | isChildOf (const WindowImpl &object) |
bool | isParentOf (const WindowImpl &object) |
bool | isMaximized () |
bool | isMinimized () |
void | maximize () |
void | minimize () |
void | normalize () |
bool | isVisible () const noexcept |
Visibility | getVisibility () const noexcept |
void | show () |
void | hide () |
bool | isEnabled () const noexcept |
void | enable () |
void | disable () |
void | raise () |
void | acquireFocus () |
bool | getCapture () const |
void | setCapture (bool state) |
DisplayMode | getDisplayMode () const |
void | setDisplayMode (DisplayMode displayMode) |
unsigned int | getKeyState (unsigned int code) const |
unsigned int | getModifiers () const |
virtual void | onDestruction () noexcept |
virtual void | onDisplay () noexcept |
virtual void | onMove (const Position &position) noexcept |
virtual void | onResize (const Dimension &dimension) noexcept |
virtual void | onMouseMove (const Position &position, unsigned int buttons) noexcept |
virtual void | onMouseScope (bool scope) noexcept |
virtual void | onMouseButton (const Position &position, Mouse::Button button, Mouse::Event event, unsigned int state) noexcept |
virtual void | onMouseWheel (const Position &position, int delta, unsigned int buttons) noexcept |
virtual void | onKey (unsigned int key, unsigned int flags, unsigned int modifiers) noexcept |
virtual void | onIdle () noexcept |
virtual bool | onClose () noexcept |
virtual void | onVisibility (Visibility visibility) noexcept |
virtual void | onFocus (Focus focus) noexcept |
virtual void | onMenu (unsigned int identifier) noexcept |
virtual void | onCommand (unsigned int identifier) noexcept |
void | update () |
void | wait () |
bool | wait (unsigned int milliseconds) |
bool | openDispatch () |
bool | hasMouse () noexcept |
unsigned int | getMouseButtons () noexcept |
unsigned int | getNumberOfMonitors () noexcept |
Dimension | getDisplayDimension () noexcept |
bool | isResponding (unsigned int milliseconds) |
virtual | ~WindowImpl () noexcept |
Static Public Member Functions | |
static unsigned int | getMouseButtonIndex (Mouse::Button button) noexcept |
static Literal | getMouseButtonName (Mouse::Button button) noexcept |
static void | exit () noexcept |
static void | dispatch () |
static unsigned int | getMouseButtonIndex (Mouse::Button button) noexcept |
static Literal | getMouseButtonName (Mouse::Button button) noexcept |
static void | exit () noexcept |
static void | dispatch () |
static unsigned int | getMouseButtonIndex (Mouse::Button button) noexcept |
static Literal | getMouseButtonName (Mouse::Button button) noexcept |
static void | exit () noexcept |
static void | dispatch () |
Protected Member Functions | |
void | construct () noexcept |
virtual void | destroy () noexcept |
void | construct () noexcept |
virtual void | destroy () noexcept |
void | construct () noexcept |
virtual void | destroy () noexcept |
Protected Attributes | |
String | title |
String | iconTitle |
Position | position |
Dimension | dimension |
unsigned int | flags = 0 |
Dimension | minimumSize |
Dimension | maximumSize |
void * | screenHandle = nullptr |
void * | graphicsContextHandle = nullptr |
![]() | |
void * | drawableHandle = nullptr |
Static Protected Attributes | |
static void * | displayHandle |
Generic window implementation.
Generic window implementation. This class cannot be instantiated.
enum WindowImpl::Binding |
enum WindowImpl::Binding |
enum WindowImpl::Binding |
enum WindowImpl::Cursor |
The cursors.
enum WindowImpl::Cursor |
The cursors.
enum WindowImpl::Cursor |
The cursors.
enum WindowImpl::Flag |
Window flags.
enum WindowImpl::Flag |
Window flags.
enum WindowImpl::Flag |
Window flags.
enum WindowImpl::Focus |
Focus state.
enum WindowImpl::Focus |
Focus state.
enum WindowImpl::Focus |
Focus state.
Visibility state.
Visibility state.
Visibility state.
WindowImpl::WindowImpl | ( | ) |
Initializes a new window with position (0, 0) and dimension (0, 0).
WindowImpl::WindowImpl | ( | const Position & | position, |
const Dimension & | dimension, | ||
unsigned int | flags | ||
) |
Initializes a new window.
|
virtualnoexcept |
Releases the window.
WindowImpl::WindowImpl | ( | ) |
Initializes a new window with position (0, 0) and dimension (0, 0).
WindowImpl::WindowImpl | ( | const Position & | position, |
const Dimension & | dimension, | ||
unsigned int | flags | ||
) |
Initializes a new window.
|
virtualnoexcept |
Releases the window.
WindowImpl::WindowImpl | ( | ) |
Initializes a new window with position (0, 0) and dimension (0, 0).
WindowImpl::WindowImpl | ( | const Position & | position, |
const Dimension & | dimension, | ||
unsigned int | flags | ||
) |
Initializes a new window.
|
virtualnoexcept |
Releases the window.
void WindowImpl::acquireFocus | ( | ) |
Acquire focus for this window.
void WindowImpl::acquireFocus | ( | ) |
Acquire focus for this window.
void WindowImpl::acquireFocus | ( | ) |
Acquire focus for this window.
void WindowImpl::close | ( | ) |
Closes the window.
void WindowImpl::close | ( | ) |
Closes the window.
void WindowImpl::close | ( | ) |
Closes the window.
|
protectednoexcept |
Invoked after initial context specific initialization to finalize the generic initialization.
|
protectednoexcept |
Invoked after initial context specific initialization to finalize the generic initialization.
|
protectednoexcept |
Invoked after initial context specific initialization to finalize the generic initialization.
|
protectedvirtualnoexcept |
Invoked when the window is destroyed.
|
protectedvirtualnoexcept |
Invoked when the window is destroyed.
|
protectedvirtualnoexcept |
Invoked when the window is destroyed.
void WindowImpl::disable | ( | ) |
Disable the window.
void WindowImpl::disable | ( | ) |
Disable the window.
void WindowImpl::disable | ( | ) |
Disable the window.
void WindowImpl::disableClipping | ( | ) |
Disable clipping.
void WindowImpl::disableClipping | ( | ) |
Disable clipping.
void WindowImpl::disableClipping | ( | ) |
Disable clipping.
|
static |
This method is responsible for dispatching incoming messages to the corresponding message handlers.
|
static |
This method is responsible for dispatching incoming messages to the corresponding message handlers.
|
static |
This method is responsible for dispatching incoming messages to the corresponding message handlers.
Displays the specified menu at the specified position.
position | The position. |
menu | The menu. |
Displays the specified menu at the specified position.
position | The position. |
menu | The menu. |
Displays the specified menu at the specified position.
position | The position. |
menu | The menu. |
void WindowImpl::enable | ( | ) |
Enables the window.
void WindowImpl::enable | ( | ) |
Enables the window.
void WindowImpl::enable | ( | ) |
Enables the window.
|
staticnoexcept |
Exit message dispatcher without asking the application to exit.
|
staticnoexcept |
Exit message dispatcher without asking the application to exit.
|
staticnoexcept |
Exit message dispatcher without asking the application to exit.
|
inline |
Flushes the window requests to the server.
|
inline |
Flushes the window requests to the server.
|
inline |
Flushes the window requests to the server.
|
inline |
Returns the autorepeat.
|
inline |
Returns the autorepeat.
|
inline |
Returns the autorepeat.
Returns the position of the binding point relative to the owner.
Returns the position of the binding point relative to the owner.
Returns the position of the binding point relative to the owner.
bool WindowImpl::getCapture | ( | ) | const |
Returns the mouse capture state of the window.
bool WindowImpl::getCapture | ( | ) | const |
Returns the mouse capture state of the window.
bool WindowImpl::getCapture | ( | ) | const |
Returns the mouse capture state of the window.
Region WindowImpl::getClipping | ( | ) | const |
Returns the clipping region.
Region WindowImpl::getClipping | ( | ) | const |
Returns the clipping region.
Region WindowImpl::getClipping | ( | ) | const |
Returns the clipping region.
|
inlinenoexcept |
Returns the current mouse cursor for the window.
|
inlinenoexcept |
Returns the current mouse cursor for the window.
|
inlinenoexcept |
Returns the current mouse cursor for the window.
Position WindowImpl::getCursorPosition | ( | ) | const |
Returns the mouse position.
Position WindowImpl::getCursorPosition | ( | ) | const |
Returns the mouse position.
Position WindowImpl::getCursorPosition | ( | ) | const |
Returns the mouse position.
|
inline |
Returns the size of the window.
|
inline |
Returns the size of the window.
|
inline |
Returns the size of the window.
|
noexcept |
Returns the dimension of the display.
|
noexcept |
Returns the dimension of the display.
|
noexcept |
Returns the dimension of the display.
|
inline |
Returns the display mode.
|
inline |
Returns the display mode.
|
inline |
Returns the display mode.
|
inline |
Returns the window flags.
|
inline |
Returns the window flags.
|
inline |
Returns the window flags.
String WindowImpl::getIconTitle | ( | ) | const |
Returns the icon title.
String WindowImpl::getIconTitle | ( | ) | const |
Returns the icon title.
String WindowImpl::getIconTitle | ( | ) | const |
Returns the icon title.
unsigned int WindowImpl::getKeyState | ( | unsigned int | code | ) | const |
Returns the state of the specified key.
unsigned int WindowImpl::getKeyState | ( | unsigned int | code | ) | const |
Returns the state of the specified key.
unsigned int WindowImpl::getKeyState | ( | unsigned int | code | ) | const |
Returns the state of the specified key.
Returns the position of the binding point relative to this window.
|
inline |
Returns the keyboard modifiers.
|
inline |
Returns the keyboard modifiers.
|
inline |
Returns the keyboard modifiers.
|
staticnoexcept |
Returns the zero-based index of the specified mouse button.
|
staticnoexcept |
Returns the zero-based index of the specified mouse button.
|
staticnoexcept |
Returns the zero-based index of the specified mouse button.
|
staticnoexcept |
Returns the name of the specified mouse button.
|
staticnoexcept |
Returns the name of the specified mouse button.
|
staticnoexcept |
Returns the name of the specified mouse button.
|
noexcept |
Returns the available mouse buttons.
|
noexcept |
Returns the available mouse buttons.
|
noexcept |
Returns the available mouse buttons.
|
noexcept |
Returns the number of monitors.
|
noexcept |
Returns the number of monitors.
|
noexcept |
Returns the number of monitors.
|
inline |
Returns the current position of the window.
|
inline |
Returns the current position of the window.
|
inline |
Returns the current position of the window.
unsigned int WindowImpl::getServerRelease | ( | ) | const |
Returns the release of the server.
unsigned int WindowImpl::getServerRelease | ( | ) | const |
Returns the release of the server.
unsigned int WindowImpl::getServerRelease | ( | ) | const |
Returns the release of the server.
String WindowImpl::getServerVendor | ( | ) | const |
Returns the vendor of the server.
String WindowImpl::getServerVendor | ( | ) | const |
Returns the vendor of the server.
String WindowImpl::getServerVendor | ( | ) | const |
Returns the vendor of the server.
String WindowImpl::getTitle | ( | ) | const |
Returns the current title of the window.
String WindowImpl::getTitle | ( | ) | const |
Returns the current title of the window.
String WindowImpl::getTitle | ( | ) | const |
Returns the current title of the window.
|
noexcept |
Returns true if a mouse is present.
|
noexcept |
Returns true if a mouse is present.
|
noexcept |
Returns true if a mouse is present.
void WindowImpl::hide | ( | ) |
Hides the window.
void WindowImpl::hide | ( | ) |
Hides the window.
void WindowImpl::hide | ( | ) |
Hides the window.
void WindowImpl::invalidate | ( | ) |
Asynchronous update request.
void WindowImpl::invalidate | ( | ) |
Asynchronous update request.
void WindowImpl::invalidate | ( | ) |
Asynchronous update request.
bool WindowImpl::isChildOf | ( | const WindowImpl & | object | ) |
Returns true if this object is a child of the specified object.
bool WindowImpl::isChildOf | ( | const WindowImpl & | object | ) |
Returns true if this object is a child of the specified object.
bool WindowImpl::isChildOf | ( | const WindowImpl & | object | ) |
Returns true if this object is a child of the specified object.
|
inlinenoexcept |
Returns true if the window is enabled.
|
inlinenoexcept |
Returns true if the window is enabled.
|
inlinenoexcept |
Returns true if the window is enabled.
bool WindowImpl::isMaximized | ( | ) |
Returns true if the window is maximized.
bool WindowImpl::isMaximized | ( | ) |
Returns true if the window is maximized.
bool WindowImpl::isMaximized | ( | ) |
Returns true if the window is maximized.
bool WindowImpl::isMinimized | ( | ) |
Returns true if the window is minimized.
bool WindowImpl::isMinimized | ( | ) |
Returns true if the window is minimized.
bool WindowImpl::isMinimized | ( | ) |
Returns true if the window is minimized.
bool WindowImpl::isParentOf | ( | const WindowImpl & | object | ) |
Returns true if this object is the parent of the specified object.
bool WindowImpl::isParentOf | ( | const WindowImpl & | object | ) |
Returns true if this object is the parent of the specified object.
bool WindowImpl::isParentOf | ( | const WindowImpl & | object | ) |
Returns true if this object is the parent of the specified object.
bool WindowImpl::isResponding | ( | unsigned int | milliseconds | ) |
Returns true if the window is reponsing within the specified timeout period.
milliseconds | The timeout period (silently reduced to 999999999). |
bool WindowImpl::isResponding | ( | unsigned int | milliseconds | ) |
Returns true if the window is reponsing within the specified timeout period.
milliseconds | The timeout period (silently reduced to 999999999). |
bool WindowImpl::isResponding | ( | unsigned int | milliseconds | ) |
Returns true if the window is reponsing within the specified timeout period.
milliseconds | The timeout period (silently reduced to 999999999). |
|
inlinenoexcept |
Returns true if the window is visible.
|
inlinenoexcept |
Returns true if the window is visible.
|
inlinenoexcept |
Returns true if the window is visible.
void WindowImpl::maximize | ( | ) |
Maximizes the window.
void WindowImpl::maximize | ( | ) |
Maximizes the window.
void WindowImpl::maximize | ( | ) |
Maximizes the window.
void WindowImpl::minimize | ( | ) |
Minimizes the window.
void WindowImpl::minimize | ( | ) |
Minimizes the window.
void WindowImpl::minimize | ( | ) |
Minimizes the window.
void WindowImpl::normalize | ( | ) |
Restores the original position and dimension of the window if currently minimized or maximized.
void WindowImpl::normalize | ( | ) |
Restores the original position and dimension of the window if currently minimized or maximized.
void WindowImpl::normalize | ( | ) |
Restores the original position and dimension of the window if currently minimized or maximized.
|
virtualnoexcept |
Invoked when the window is asked to be closed. This method must return true if the window may be closed. The default implementation returns true and also asks the application to exit.
|
virtualnoexcept |
Invoked when the window is asked to be closed. This method must return true if the window may be closed. The default implementation returns true and also asks the application to exit.
|
virtualnoexcept |
Invoked when the window is asked to be closed. This method must return true if the window may be closed. The default implementation returns true and also asks the application to exit.
|
virtualnoexcept |
Invoked when a command is send to the window.
|
virtualnoexcept |
Invoked when a command is send to the window.
|
virtualnoexcept |
Invoked when a command is send to the window.
|
virtualnoexcept |
Invoked when the window is destroyed.
|
virtualnoexcept |
Invoked when the window is destroyed.
|
virtualnoexcept |
Invoked when the window is destroyed.
|
virtualnoexcept |
Invoked when the display should be updated.
Reimplemented in Button, Split, Label, Picture, Button, ProgressBar, Button, OpenGLContext, Slider, and OpenGLWidget.
|
virtualnoexcept |
Invoked when the display should be updated.
Reimplemented in Button, Split, Label, Picture, Button, ProgressBar, Button, OpenGLContext, Slider, and OpenGLWidget.
|
virtualnoexcept |
Invoked when the display should be updated.
Reimplemented in Button, Split, Label, Picture, Button, ProgressBar, Button, OpenGLContext, Slider, and OpenGLWidget.
|
virtualnoexcept |
Invoked when the focus state changes.
|
virtualnoexcept |
Invoked when the focus state changes.
|
virtualnoexcept |
Invoked when the focus state changes.
|
virtualnoexcept |
Invoked continuously when no messages have been queued. The default implementation waits for an incoming message.
|
virtualnoexcept |
Invoked continuously when no messages have been queued. The default implementation waits for an incoming message.
|
virtualnoexcept |
Invoked continuously when no messages have been queued. The default implementation waits for an incoming message.
|
virtualnoexcept |
|
virtualnoexcept |
|
virtualnoexcept |
|
virtualnoexcept |
Invoked when a command is send from a menu to the window.
|
virtualnoexcept |
Invoked when a command is send from a menu to the window.
|
virtualnoexcept |
Invoked when a command is send from a menu to the window.
|
virtualnoexcept |
Invoked when the mouse button state changes.
position | The position of the mouse. |
button | The button that changed state. |
event | The mouse button event. |
|
virtualnoexcept |
Invoked when the mouse button state changes.
position | The position of the mouse. |
button | The button that changed state. |
event | The mouse button event. |
|
virtualnoexcept |
Invoked when the mouse button state changes.
position | The position of the mouse. |
button | The button that changed state. |
event | The mouse button event. |
|
virtualnoexcept |
|
virtualnoexcept |
|
virtualnoexcept |
|
virtualnoexcept |
|
virtualnoexcept |
|
virtualnoexcept |
|
virtualnoexcept |
Invoked when the mouse wheel state changes.
position | The position of the mouse. |
delta | The amount of |
buttons | The current state of the mouse buttons. |
|
virtualnoexcept |
Invoked when the mouse wheel state changes.
position | The position of the mouse. |
delta | The amount of |
buttons | The current state of the mouse buttons. |
|
virtualnoexcept |
Invoked when the mouse wheel state changes.
position | The position of the mouse. |
delta | The amount of |
buttons | The current state of the mouse buttons. |
|
virtualnoexcept |
Invoked when the window has been moved.
position | The new position of the window. |
|
virtualnoexcept |
Invoked when the window has been moved.
position | The new position of the window. |
|
virtualnoexcept |
Invoked when the window has been moved.
position | The new position of the window. |
|
virtualnoexcept |
Invoked when the window has been resized.
dimension | The new dimension of the window. |
Reimplemented in Split, Button, OpenGLContext, and Slider.
|
virtualnoexcept |
Invoked when the window has been resized.
dimension | The new dimension of the window. |
Reimplemented in Split, Button, OpenGLContext, and Slider.
|
virtualnoexcept |
Invoked when the window has been resized.
dimension | The new dimension of the window. |
Reimplemented in Split, Button, OpenGLContext, and Slider.
|
virtualnoexcept |
Invoked when the visibility state changes.
|
virtualnoexcept |
Invoked when the visibility state changes.
|
virtualnoexcept |
Invoked when the visibility state changes.
bool WindowImpl::openDispatch | ( | ) |
This method is responsible for dispatching incoming messages to the corresponding message handlers.
bool WindowImpl::openDispatch | ( | ) |
This method is responsible for dispatching incoming messages to the corresponding message handlers.
bool WindowImpl::openDispatch | ( | ) |
This method is responsible for dispatching incoming messages to the corresponding message handlers.
void WindowImpl::raise | ( | ) |
Raises the window.
void WindowImpl::raise | ( | ) |
Raises the window.
void WindowImpl::raise | ( | ) |
Raises the window.
void WindowImpl::releaseCursorConfinement | ( | ) |
Releases the mouse confinement.
void WindowImpl::releaseCursorConfinement | ( | ) |
Releases the mouse confinement.
void WindowImpl::releaseCursorConfinement | ( | ) |
Releases the mouse confinement.
|
inline |
Sets the autorepeat flag.
|
inline |
Sets the autorepeat flag.
|
inline |
Sets the autorepeat flag.
void WindowImpl::setCapture | ( | bool | state | ) |
Sets the mouse capture state of the window.
void WindowImpl::setCapture | ( | bool | state | ) |
Sets the mouse capture state of the window.
void WindowImpl::setCapture | ( | bool | state | ) |
Sets the mouse capture state of the window.
Sets the clipping region.
Sets the clipping region.
Sets the clipping region.
void WindowImpl::setCursor | ( | Cursor | cursor | ) |
Sets the mouse cursor of the window.
void WindowImpl::setCursor | ( | Cursor | cursor | ) |
Sets the mouse cursor of the window.
void WindowImpl::setCursor | ( | Cursor | cursor | ) |
Sets the mouse cursor of the window.
void WindowImpl::setCursorConfinement | ( | ) |
Sets the cursor confinement to the window context.
void WindowImpl::setCursorConfinement | ( | ) |
Sets the cursor confinement to the window context.
void WindowImpl::setCursorConfinement | ( | ) |
Sets the cursor confinement to the window context.
Sets the cursor confinement to the specified area.
position | The offset of the confinement area. |
dimension | The dimension of the confinement area. |
Sets the cursor confinement to the specified area.
position | The offset of the confinement area. |
dimension | The dimension of the confinement area. |
Sets the cursor confinement to the specified area.
position | The offset of the confinement area. |
dimension | The dimension of the confinement area. |
void WindowImpl::setCursorPosition | ( | const Position & | position | ) |
Sets the mouse position.
void WindowImpl::setCursorPosition | ( | const Position & | position | ) |
Sets the mouse position.
void WindowImpl::setCursorPosition | ( | const Position & | position | ) |
Sets the mouse position.
void WindowImpl::setDimension | ( | const Dimension & | dimension | ) |
Sets the size of the window.
void WindowImpl::setDimension | ( | const Dimension & | dimension | ) |
Sets the size of the window.
void WindowImpl::setDimension | ( | const Dimension & | dimension | ) |
Sets the size of the window.
void WindowImpl::setDisplayMode | ( | DisplayMode | displayMode | ) |
Selects the display mode.
void WindowImpl::setDisplayMode | ( | DisplayMode | displayMode | ) |
Selects the display mode.
void WindowImpl::setDisplayMode | ( | DisplayMode | displayMode | ) |
Selects the display mode.
void WindowImpl::setIconTitle | ( | const String & | title | ) |
Sets the icon title.
void WindowImpl::setIconTitle | ( | const String & | title | ) |
Sets the icon title.
void WindowImpl::setIconTitle | ( | const String & | title | ) |
Sets the icon title.
|
inline |
Sets the maximum size of the window.
|
inline |
Sets the maximum size of the window.
|
inline |
Sets the maximum size of the window.
|
inline |
Sets the minimum size of the window.
|
inline |
Sets the minimum size of the window.
|
inline |
Sets the minimum size of the window.
Sets the position and dimension of the window.
Sets the position and dimension of the window.
Sets the position and dimension of the window.
void WindowImpl::setTitle | ( | const String & | title | ) |
Sets the title of the window.
void WindowImpl::setTitle | ( | const String & | title | ) |
Sets the title of the window.
void WindowImpl::setTitle | ( | const String & | title | ) |
Sets the title of the window.
void WindowImpl::show | ( | ) |
Shows the window if currently hidden.
void WindowImpl::show | ( | ) |
Shows the window if currently hidden.
void WindowImpl::show | ( | ) |
Shows the window if currently hidden.
Returns the position relative to the root window.
position | The position relative to this window. |
Returns the position relative to the root window.
position | The position relative to this window. |
Returns the position relative to the root window.
position | The position relative to this window. |
void WindowImpl::update | ( | ) |
Requests the window to be updated.
void WindowImpl::update | ( | ) |
Requests the window to be updated.
void WindowImpl::update | ( | ) |
Requests the window to be updated.
void WindowImpl::wait | ( | ) |
Waits for a message.
void WindowImpl::wait | ( | ) |
Waits for a message.
void WindowImpl::wait | ( | ) |
Waits for a message.
bool WindowImpl::wait | ( | unsigned int | milliseconds | ) |
Waits for a message.
milliseconds | The timeout period. |
bool WindowImpl::wait | ( | unsigned int | milliseconds | ) |
Waits for a message.
milliseconds | The timeout period. |
bool WindowImpl::wait | ( | unsigned int | milliseconds | ) |
Waits for a message.
milliseconds | The timeout period. |
|
protected |
The dimension of the window.
|
staticprotected |
Opaque handle to the display.
|
protected |
Flags.
|
protected |
Opaque handle to the graphics context of the window.
|
protected |
The icon title of the window.
|
protected |
The maximum dimension of the window.
|
protected |
The minimum dimension of the window.
|
protected |
The position of the window.
|
protected |
Opaque handle to the screen.
|
protected |
The normal title of the window.