 class VChatDisplayDetail:UIView
 {
     weak var controller:CChatDisplayDetail!
+    weak var blur:UIView!
     weak var layoutImageTop:NSLayoutConstraint!
     weak var layoutImageBottom:NSLayoutConstraint!
     weak var layoutImageLeft:NSLayoutConstraint!

        let rightMargin:CGFloat = controller.imageRect.maxX - screenRect.maxX
        let bottomMargin:CGFloat = controller.imageRect.maxY - screenRect.maxY
        
        addSubview(imageView)
        addSubview(bar)
        
        let views:[String:AnyObject] = [
            "bar":bar]
        
        let metrics:[String:AnyObject] = [
            "barHeight":kBarHeight]
        
        addConstraints(NSLayoutConstraint.constraintsWithVisualFormat(
            "H:|-0-[bar]-0-|",
            options:[],
            metrics:metrics,
            views:views))

        { [weak self] in
            
            self?.layoutIfNeeded()
            self?.blur.alpha = 1
        }
    }
}