projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r182: *** empty log message ***
[ctsim.git]
/
include
/
sgp.h
diff --git
a/include/sgp.h
b/include/sgp.h
index 32abbc405e2baae7c0ae11aec3903ac943a2c191..7cda247c9c52b2e64758807d06be24e64cc03f3b 100644
(file)
--- 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
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: sgp.h,v 1.1
2 2000/07/29 19:50:08
kevin Exp $
+** $Id: sgp.h,v 1.1
3 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
**
** 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
};
#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);
#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 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);
void ctmClear ();
void ctmSet (const TransformationMatrix2D& m);
@@
-232,6
+233,26
@@
enum {
C_WHITE = 15,
};
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;
class RGBColor {
private:
short int r;