23 lines
424 B
Swift
23 lines
424 B
Swift
|
//
|
||
|
// AppleScreenView.swift
|
||
|
// FruitMachine
|
||
|
//
|
||
|
// Created by Christopher Rohl on 7/27/17.
|
||
|
// Copyright © 2017 Christopher Rohl. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import Cocoa
|
||
|
|
||
|
class AppleScreenView: NSView {
|
||
|
|
||
|
//In characters
|
||
|
static let TERMINAL_WIDTH = 40
|
||
|
static let TERMINAL_HEIGHT = 24
|
||
|
|
||
|
override func draw(_ dirtyRect: NSRect) {
|
||
|
super.draw(dirtyRect)
|
||
|
// Drawing code here.
|
||
|
}
|
||
|
|
||
|
}
|