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