mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
27 lines
580 B
Plaintext
27 lines
580 B
Plaintext
$NetBSD: patch-ad,v 1.2 2007/11/30 19:59:04 rillig Exp $
|
|
|
|
--- Image.hh.orig 1999-08-15 14:43:55.000000000 +0000
|
|
+++ Image.hh 2007-11-30 19:57:26.000000000 +0000
|
|
@@ -35,11 +35,21 @@ class Basewindow;
|
|
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;
|