mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-11 08:56:54 +01:00
25 lines
578 B
Swift
25 lines
578 B
Swift
//
|
|
// SidebarCellAppearance.swift
|
|
// NetNewsWire
|
|
//
|
|
// Created by Brent Simmons on 11/24/17.
|
|
// Copyright © 2017 Ranchero Software. All rights reserved.
|
|
//
|
|
|
|
import AppKit
|
|
|
|
struct SidebarCellAppearance: Equatable {
|
|
|
|
let imageSize = CGSize(width: 16, height: 16)
|
|
let imageMarginRight: CGFloat = 4.0
|
|
let unreadCountMarginLeft: CGFloat = 10.0
|
|
let textFieldFontSize: CGFloat
|
|
let textFieldFont: NSFont
|
|
|
|
init(fontSize: FontSize) {
|
|
self.textFieldFontSize = AppDefaults.actualFontSize(for: fontSize)
|
|
self.textFieldFont = NSFont.systemFont(ofSize: textFieldFontSize)
|
|
}
|
|
}
|
|
|