chiark / gitweb /
sotextpit x11 red/blue
[moebius.git] / x11.hh
diff --git a/x11.hh b/x11.hh
index d7117414faac00b8c1e02e40af7b6537638c5472..442bae7dbb8e4f12c2356d6346e24e3c9355c9bb 100644 (file)
--- a/x11.hh
+++ b/x11.hh
 struct X11Output : Output {
   X11Output();
   ~X11Output();
-  void drawcell(const Point*, int);
+  void drawcell(const Point*, int, Colour);
   void startimage();
   void endimage();
 private:
   Display *display;
   Window window;
-  GC fabric;
-  GC mesh;
+  Colormap cmap;
+  GC black, white, red, blue;
+  GC X11Output::gc(const char *colour_name);
 };
 
 #endif