BeRTOS
Data Fields
Window Struct Reference

Window handle and context structure. More...

#include <win.h>

Data Fields

Node link
 Link us with other siblings into our parent.
struct Windowparent
 Our parent window.
Bitmapbitmap
 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).

Detailed Description

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.

Definition at line 87 of file win.h.


Field Documentation

Pixel storage for window contents.

Definition at line 92 of file win.h.

List of child windows, arranged by depth (front to back).

Child top/left coordinates are relative to us.

Definition at line 100 of file win.h.

[px] Window size and position relative to parent.

Definition at line 93 of file win.h.

Link us with other siblings into our parent.

Definition at line 89 of file win.h.

Our parent window.

NULL for the root window.

Definition at line 90 of file win.h.


The documentation for this struct was generated from the following file: