From bb5daa2e90623691a5259700b9d388d2d21f46d3 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Thu, 4 Sep 2025 11:11:37 +0200 Subject: Rename to Liquid Glass Bezel, add preferences --- .../FlatBezelCollectingSearchObjectView.swift | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100644 Flat Bezel/FlatBezelCollectingSearchObjectView.swift (limited to 'Flat Bezel/FlatBezelCollectingSearchObjectView.swift') diff --git a/Flat Bezel/FlatBezelCollectingSearchObjectView.swift b/Flat Bezel/FlatBezelCollectingSearchObjectView.swift deleted file mode 100644 index 26586be..0000000 --- a/Flat Bezel/FlatBezelCollectingSearchObjectView.swift +++ /dev/null @@ -1,38 +0,0 @@ -class FlatBezelCollectingSearchObjectView: QSCollectingSearchObjectView { - override static var cellClass : AnyClass? { - get { return BBObjectCell.self } - set { super.cellClass = newValue } - } - - override func draw(_ rect: NSRect) { - var frame = frame - - // These properties aren't available to Swift, so they need to be accessed in this way. - let collection = (value(forKey: "collection") as! NSMutableArray) - let collecting = (value(forKey: "collecting") as! Bool) - - let count = collection.count - if self.currentEditor() == nil && count != 0 { - frame.origin = NSZeroPoint - cell?.draw(withFrame: frame, in: self) - let iconSize = collectionSpace() != 0 ? collectionSpace() : 16 - let opacity = collecting ? 1.0 : 0.75 - let totalWidth = iconSize + 2 - for i in 0..