opnsense-ports/sysutils/bbapm/files/patch-Image.hh
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

24 lines
482 B
C++

--- 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() { allocated = False; }
+};
+#endif
typedef struct BTexture {
BColor color, colorTo, hiColor, loColor;