axle OS
x86_32 UNIX-like hobby OS
xserv.h
1 #ifndef XSERV_H
2 #define XSERV_H
3 
4 #include <gfx/lib/gfx.h>
5 #include <gfx/lib/shapes.h>
6 
7 //initializes xserv process
8 void xserv_init();
9 //translates view's frame into root screen's coordinate space
10 Rect absolute_frame(Screen* screen, View* view);
11 //stops (but doesn't teardown) xserv and switches back to text mode
12 void xserv_pause();
13 //resumes xserv from text mode (but assumes current xserv wasn't torn down)
14 void xserv_resume();
15 //pauses xserv for pause_length seconds, then resumes
16 void xserv_temp_stop(uint32_t pause_length);
17 //displays error message for informing user of heap corruption
18 void xserv_fail();
19 
20 #endif
Definition: rect.h:14
Definition: view.h:15
Definition: gfx.h:22