2018-02-18 03:19:25 +01:00
|
|
|
//
|
|
|
|
// AppImages.swift
|
2018-08-29 07:18:24 +02:00
|
|
|
// NetNewsWire
|
2018-02-18 03:19:25 +01:00
|
|
|
//
|
|
|
|
// Created by Brent Simmons on 2/17/18.
|
|
|
|
// Copyright © 2018 Ranchero Software. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import AppKit
|
|
|
|
|
|
|
|
extension NSImage.Name {
|
|
|
|
static let star = NSImage.Name(rawValue: "star")
|
|
|
|
static let unstar = NSImage.Name(rawValue: "unstar")
|
2018-02-18 07:23:36 +01:00
|
|
|
static let timelineStar = NSImage.Name(rawValue: "timelineStar")
|
2018-02-18 03:19:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
struct AppImages {
|
|
|
|
|
|
|
|
static var genericFeedImage: NSImage? = {
|
|
|
|
let path = "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/BookmarkIcon.icns"
|
|
|
|
let image = NSImage(contentsOfFile: path)
|
|
|
|
return image
|
|
|
|
}()
|
2018-02-18 07:23:36 +01:00
|
|
|
|
|
|
|
static var timelineStar: NSImage! = {
|
|
|
|
return NSImage(named: .timelineStar)
|
|
|
|
}()
|
2018-02-18 03:19:25 +01:00
|
|
|
}
|