KMRightSideEmptyVC.swift 757 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // KMRightSideEmptyVC.swift
  3. // PDF Reader Pro
  4. //
  5. // Created by wanjun on 2023/3/24.
  6. //
  7. import Cocoa
  8. class KMRightSideEmptyVC: NSViewController {
  9. @IBOutlet weak var emptyImageView: NSImageView!
  10. @IBOutlet weak var emptyLabel: NSTextField!
  11. override func viewDidLoad() {
  12. super.viewDidLoad()
  13. // Do view setup here.
  14. updateUI()
  15. initLocalization()
  16. }
  17. // MARK: Private Methods
  18. func updateUI() -> Void {
  19. emptyLabel.font = NSFont.SFProTextRegularFont(12)
  20. emptyLabel.textColor = NSColor.km_init(hex: "#94989C")
  21. }
  22. func initLocalization() {
  23. emptyLabel.stringValue = NSLocalizedString("Show/Hide Annotation Properties Panel", comment: "")
  24. }
  25. }