X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=include%2Fsgp.h;h=7cda247c9c52b2e64758807d06be24e64cc03f3b;hb=93eb50659a64db3e37753d36c9923e82c7f7ca8a;hp=32abbc405e2baae7c0ae11aec3903ac943a2c191;hpb=08a5cd04c3994d5ea24713b9b000791bd2e406fe;p=ctsim.git diff --git a/include/sgp.h b/include/sgp.h index 32abbc4..7cda247 100644 --- a/include/sgp.h +++ b/include/sgp.h @@ -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;