ee09686bb3e24771397e1764c76cb31a06aeb637
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Notes.txt
1 Layers:
2
3 IPC / Client management
4 Compositor / Window Manager
5 Renderer / Window Contents
6
7 Renderers
8 Window Management
9 > "WM_CreateWindow(Parent, Class, Name)"
10 Window Drawing
11 > "WD_Fill"
12 > "WD_Blit"
13 > "WD_LockSurface"
14 > "WD_UnlockSurface"
15 Decorations
16 > ".InitWindow"
17 > ".Render"
18 + "WM_SetBorder"
19 Compositing
20 > Dirty rectangling, use 2DCmd to selectively blit
21 > Request kernel/server buffers if possible
22
23
24 Clients own windows
25 Windows are composed of multiple regions that conform to several types (see below)
26 - Re-draw is handled by using these regions
27
28 Server-side rendering primitives:
29  # Apply to regions, rendered in fixed order, each has an ID
30 > Auto-scaling bitmaps
31  - Control backed by an image with three/five regions per axis
32   Edge Fixed, Fill, Center Fixed, Fill, Edge Fixed
33  - Definition is via two pixel counts (edge width, fill width), rest is derived
34  - Command to switch backing image to another already provided
35 > Tiling bitmaps + filled rects
36 > Text (single line)
37 > Canvas (Takes drawing commands, draws to internal buffer)
38 > Shared buffer (of an unspecified pixel format)
39
40 === Config options ===
41 - Root App
42 - Display device (- = stdout)
43 - Keyboard device (- = stdin)
44 - Mouse device
45 - Pipe suffix, port number, etc.
46 - Key bindings
47

UCC git Repository :: git.ucc.asn.au