Expand description
A Window
object should be owned by an application. It can display a Displayable
object in its framebuffer. See applications/new_window
as a demo to use this library.
This library will create a window with default title bar and border. It handles the commonly used interactions like moving the window or close the window. Also, it is responsible to show title bar differently when window is active.
A window can render itself to the screen via a window manager. The window manager will compute the bounding box of the updated part and composites it with other existing windows according to their order.
The library frees applications from handling the complicated interaction with window manager, however, advanced users could learn from this library about how to use window manager APIs directly.
Structs
- This struct is the application-facing representation of a window.
Type Aliases
- A wrapper around a locked inner window that immutably derefs to a
Framebuffer
. - A wrapper around a locked inner window that mutably derefs to a
Framebuffer
.