aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bbapm/files/patch-Image.hh
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/bbapm/files/patch-Image.hh')
-rw-r--r--sysutils/bbapm/files/patch-Image.hh24
1 files changed, 24 insertions, 0 deletions
diff --git a/sysutils/bbapm/files/patch-Image.hh b/sysutils/bbapm/files/patch-Image.hh
new file mode 100644
index 00000000000..dec4084d89d
--- /dev/null
+++ b/sysutils/bbapm/files/patch-Image.hh
@@ -0,0 +1,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;