summaryrefslogtreecommitdiffstats
path: root/macosx/WhiteBox.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/WhiteBox.m')
-rw-r--r--macosx/WhiteBox.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/macosx/WhiteBox.m b/macosx/WhiteBox.m
new file mode 100644
index 000000000..64d5c3490
--- /dev/null
+++ b/macosx/WhiteBox.m
@@ -0,0 +1,12 @@
+#import "WhiteBox.h"
+
+@implementation WhiteBox
+
+- (void) drawRect: (NSRect) rect
+{
+ [[NSColor whiteColor] set];
+ [[NSBezierPath bezierPathWithRect: rect] fill];
+ [super drawRect: rect];
+}
+
+@end