BeRTOS
|
Window handle and context structure. More...
#include <win.h>
Data Fields | |
Node | link |
Link us with other siblings into our parent. | |
struct Window * | parent |
Our parent window. | |
Bitmap * | bitmap |
Pixel storage for window contents. | |
Rect | geom |
[px] Window size and position relative to parent. | |
List | children |
List of child windows, arranged by depth (front to back). |
Window handle and context structure.
A window is a small rectangular area on the screen backed by its own bitmap where you can draw.
A window can contain any number of children sub-windows that can be depth arranged with respect to their siblings.
At any time, a window and all its children can be drawn into another bitmap to display a complete screen, taking depth and overlapping into account.
This rendering model is commonly referred to as screen composition, and is quite popular among modern windowing systems.
struct Window* Window::parent |