SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
Cocoa/GBColorTextCell.m
1 #import "GBColorTextCell.h"
2
3 @implementation GBColorTextCell
4
5 - (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
6 {
7 [self.backgroundColor set];
8 NSRectFill(cellFrame);
9
10 NSBezierPath *path = [NSBezierPath bezierPathWithRect:cellFrame];
11 path.lineWidth = 2;
12
13 [[NSColor colorWithWhite:0 alpha:0.25] setStroke];
14 [path addClip];
15 [path stroke];
16
17 [self drawInteriorWithFrame:cellFrame inView:controlView];
18 }
19 @end
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.