 }
 
 public class PanelButtonBar : NSView {
+	private var _individualized:Bool = false;
+	var individualized:Bool {
+		set {
+			self._individualized = newValue
+			self.needsDisplay = true
+		}
+		get {
+			return self._individualized;
+		}
+	}
+
 	var closeButton : PanelButton?;
 	var miniaturizeButton : PanelButton?;
 	var zoomButton : PanelButton?;

import Foundation

class PanelButton : NSButton {
	private var _individualized:Bool = false;
	private var _isMouseOver:Bool = false;
	private var useTrackingArea:Bool = true;
	

		self.addSubview(self.zoomButton!);
		
		let trackingArea = NSTrackingArea(rect: self.bounds, options: NSTrackingArea.Options.mouseEnteredAndExited.union(NSTrackingArea.Options.mouseMoved).union(NSTrackingArea.Options.activeAlways), owner: self, userInfo: nil);
		self.addTrackingArea(trackingArea)
		self.individualized = ita
	}
	
	override public func mouseEntered(with theEvent: NSEvent) {
		if !self.individualized {
			self.closeButton?.isMouseOver = true
			self.miniaturizeButton?.isMouseOver = true
			self.zoomButton?.isMouseOver = true
		}
	}
	
	override public func mouseExited(with theEvent: NSEvent) {
		if !self.individualized {
			self.closeButton?.isMouseOver = false
			self.miniaturizeButton?.isMouseOver = false
			self.zoomButton?.isMouseOver = false
		}
	}
}
