ports/sysutils/bbapm/files/patch-Image.hh
Patrick Li 40c3e68ad8 Initial import of x11-wm/bbapm, an APM meter for Blackbox
PR:		29461
Submitted by:	Adam Weinberger <monkey@crackula.com>, \
		Scott Renfro <scott@renfro.org> (additional patches)
2001-12-08 02:18:07 +00:00

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