.../Source/App/AboutPanel/AboutPanel.swift
Line | Count | Source |
1 | | // |
2 | | // AboutPanel.swift |
3 | | // CutBox |
4 | | // |
5 | | // Created by Jason Milkins on 31/3/18. |
6 | | // Copyright © 2018-2023 ocodo. All rights reserved. |
7 | | // |
8 | | |
9 | | import Cocoa |
10 | | |
11 | | class AboutPanel: NSPanel { |
12 | | @IBOutlet weak var productTitle: CutBoxBaseTextField! |
13 | | @IBOutlet weak var productVersion: CutBoxBaseTextField! |
14 | | @IBOutlet weak var productHomeUrl: LinkText! |
15 | | @IBOutlet weak var productLicense: CutBoxBaseTextField! |
16 | | |
17 | 28 | override func awakeFromNib() { |
18 | 28 | self.titlebarAppearsTransparent = true |
19 | 28 | productVersion.stringValue = VersionService.version |
20 | 28 | productTitle.stringValue = "about_cutbox_title".l7n |
21 | 28 | productLicense.stringValue = "about_cutbox_copyright_licence".l7n |
22 | 28 | } |
23 | | } |