aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bbapm/files/patch-Image.hh
blob: dec4084d89d417cac4c7fe42a5578b0d21d3bdc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- Image.hh.orig   Sun Aug 15 07:43:55 1999
+++ Image.hh    Sat Aug  4 20:52:40 2001
@@ -35,11 +35,21 @@
 class BImage;
 class BImageControl;
 
+#if 0
 typedef struct BColor {
   int allocated;
   unsigned char red, green, blue;
   unsigned long pixel;
 };
+#else
+class BColor {
+public:
+  int allocated;
+  unsigned char red, green, blue;
+  unsigned long pixel;
+  BColor::BColor() { allocated = False; }
+};
+#endif
 
 typedef struct BTexture {
   BColor color, colorTo, hiColor, loColor;