X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fsgp.h;fp=include%2Fsgp.h;h=4a7dcb961308752ff9bdb79aae2eba5f55df6073;hp=9e4f8b9fa60eb80ac1620c39ea9a630ef46f5d4d;hb=bcc0f3056ec84efcef9559f23b5513f7ed61f9c3;hpb=4e5b3666206ac20506bca9f03994cc072061a9a7 diff --git a/include/sgp.h b/include/sgp.h index 9e4f8b9..4a7dcb9 100644 --- a/include/sgp.h +++ b/include/sgp.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: sgp.h,v 1.27 2001/03/11 15:27:30 kevin Exp $ +** $Id: sgp.h,v 1.28 2003/01/22 22:15:10 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 @@ -103,7 +103,7 @@ public: }; -class RGBColor; +class SGP_RGBColor; class SGP { private: int m_iPhysicalXSize; // Physical Window size @@ -141,7 +141,7 @@ private: void calc_transform (); - static RGBColor s_aRGBColor[]; + static SGP_RGBColor s_aRGBColor[]; static int s_iRGBColorCount; #if HAVE_WXWINDOWS @@ -283,14 +283,14 @@ enum RasterOp { }; -class RGBColor { +class SGP_RGBColor { private: short int r; short int g; short int b; public: - RGBColor (int r, int g, int b) + SGP_RGBColor (int r, int g, int b) : r(r), g(g), b(b) {}