changeset 46 | 4b9e1ac40246 |
parent 45 | 7197576fedcf |
child 54 | c064ce9f40f5 |
--- a/pmc/include/surface.h +++ b/pmc/include/surface.h @@ -14,12 +14,13 @@ int width; int height; int depth; + int bpp; - Uint32 color, red, black; + Uint32 color, red, green, blue, black; SDL_Surface *screen; public: - enum foregroundColor { BLACK, RED }; + enum foregroundColor { BLACK=1, RED, GREEN, BLUE }; Surface (int w, int h, int d); ~Surface ();