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