chiark / gitweb /
Initial checkin - found in davenant:~ian/chiark/things/moebius
[moebius.git] / x11.hh
1 /*
2  * X11 functions
3  */
4
5 #ifndef X11_HH
6 #define X11_HH
7
8 #include <stdlib.h>
9 #include <X11/Xlib.h>
10
11 #include "output.hh"
12
13 struct X11Output : Output {
14   X11Output();
15   ~X11Output();
16   void drawcell(const Point*, int);
17   void startimage();
18   void endimage();
19 private:
20   Display *display;
21   Window window;
22   GC fabric;
23   GC mesh;
24 };
25
26 #endif