r168: *** empty log message ***
[ctsim.git] / include / sgp.h
index 32abbc405e2baae7c0ae11aec3903ac943a2c191..7cda247c9c52b2e64758807d06be24e64cc03f3b 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: sgp.h,v 1.12 2000/07/29 19:50:08 kevin Exp $
+**  $Id: sgp.h,v 1.13 2000/08/02 18:06:00 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -68,7 +68,7 @@ public:
   };
 
 #ifdef HAVE_WXWINDOWS
-  SGPDriver (wxDC* pDC, const char* szWinTitle = "", int xsize = 640, int ysize = 480);
+  SGPDriver (wxDC* pDC, int xsize = 640, int ysize = 480);
 #endif
 
   SGPDriver (const char* szWinTitle = "", int xsize = 640, int ysize = 480);
@@ -192,6 +192,7 @@ public:
   void setTextAngle (double angle);
   void setTextColor (int iFGcolor, int iBGcolor);
   void setMarker (int idMarker, int color);
+  void setRasterOp (int ro);
 
   void ctmClear ();
   void ctmSet (const TransformationMatrix2D& m);
@@ -232,6 +233,26 @@ enum {
     C_WHITE     = 15,
 };
 
+enum RasterOp {
+    RO_AND = 1,
+    RO_AND_INVERT,
+    RO_AND_REVERSE,
+    RO_CLEAR,
+    RO_COPY,
+    RO_EQUIV,
+    RO_INVERT,
+    RO_NAND,
+    RO_NOR,
+    RO_NO_OP,
+    RO_OR,
+    RO_OR_INVERT,
+    RO_OR_REVERSE,
+    RO_SET,
+    RO_SRC_INVERT,
+    RO_XOR,
+};
+
+
 class RGBColor {
  private:
   short int r;