         trackingArea = NSTrackingArea(rect: bounds, options: opts, owner: self, userInfo: nil)
         self.addTrackingArea(trackingArea)
     }
-
+    
     required init?(coder: NSCoder) {
         super.init(coder: coder)
         

    var trackingArea:NSTrackingArea!
    var hoverBackgroundColor: NSColor = NSColor.whiteColor()
    var originalBackgroundColor: NSColor = NSColor.whiteColor()
    
    override init(frame frameRect: NSRect) {
        super.init(frame: frameRect)

        trackingArea = NSTrackingArea(rect: bounds, options: opts, owner: self, userInfo: nil)
        self.addTrackingArea(trackingArea)
    }
    
    override func drawRect(dirtyRect: NSRect) {
        super.drawRect(dirtyRect)
        
        // Drawing code here.
    }
    
    override func mouseEntered(theEvent: NSEvent) {
        var cell = self.cell() as! NSButtonCell
        cell.backgroundColor = hoverBackgroundColor
        cell.image = hoverBackgroundImage
        println("hovered")
        
    }
    
    override func mouseExited(theEvent: NSEvent) {
        var cell = self.cell() as! NSButtonCell
        cell.backgroundColor = originalBackgroundColor
        cell.image = originalBackgroundImage
        println("exited")
    }
    
