summaryrefslogtreecommitdiff
path: root/documentation/compositor.txt
blob: 8946eff6a13192b12e87e7e24c573caea402a413 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
compositors listen on the socket id "hilbert.compositor".

data types:

  color24:
    byte: red
    byte: green
    byte: blue

  color24 rectangle:
    multiple color24's, top to bottom by row, left to right within row

messages from applications to compositor:

  open window:
    byte: 0x00
    dword: window width
    dword: window height

  update window region:
    byte: 0x01
    dword: start x
    dword: start y
    dword: width
    dword: height
    color24 rectangle: the data