39 lines
704 B
Swift
39 lines
704 B
Swift
//
|
|
// TableStickView.swift
|
|
// TGUIKit
|
|
//
|
|
// Created by keepcoder on 17/10/2016.
|
|
// Copyright © 2016 Telegram. All rights reserved.
|
|
//
|
|
|
|
import Cocoa
|
|
|
|
open class TableStickView: TableRowView {
|
|
|
|
open var header:Bool = false {
|
|
didSet {
|
|
if header != oldValue {
|
|
needsDisplay = true
|
|
}
|
|
}
|
|
}
|
|
|
|
open var isAlwaysUp: Bool {
|
|
return false
|
|
}
|
|
|
|
open func updateIsVisible(_ visible: Bool, animated: Bool) {
|
|
|
|
}
|
|
|
|
open override var backdorColor: NSColor {
|
|
return .clear
|
|
}
|
|
|
|
|
|
open override func setFrameOrigin(_ newOrigin: NSPoint) {
|
|
super.setFrameOrigin(newOrigin)
|
|
}
|
|
|
|
}
|