             for:UIControlState.normal)
         buttonDone.titleLabel!.font = UIFont.bold(size:14)
         buttonDone.layer.cornerRadius = kButtonHeight / 2.0
+        buttonDone.addTarget(
+            self,
+            action:#selector(actionDone(sender:)),
+            for:UIControlEvents.touchUpInside)
+        
+        let slider:UISlider = UISlider()
+        slider.translatesAutoresizingMaskIntoConstraints = false
+        slider.minimumTrackTintColor = UIColor.cartesianBlue
+        slider.maximumTrackTintColor = UIColor.cartesianBlue
+        slider.minimumValue = -kMaxValue
+        slider.maximumValue = kMaxValue
+        slider.isContinuous = true
+        slider.value = node.rotation
+        self.slider = slider
         
         addSubview(blur)
         addSubview(buttonDone)
         addSubview(buttonReset)
+        addSubview(slider)
         
         NSLayoutConstraint.equals(
             view:blur,

            NSLocalizedString("VDrawProjectRotate_buttonReset", comment:""),
            for:UIControlState.normal)
        buttonReset.titleLabel!.font = UIFont.regular(size:14)
        
        let buttonDone:UIButton = UIButton()
        buttonDone.translatesAutoresizingMaskIntoConstraints = false

{
    private weak var controller:CDrawProject!
    private weak var node:DNode?
    private weak var slider:UISlider!
    private weak var layoutDoneLeft:NSLayoutConstraint!
    private weak var layoutResetLeft:NSLayoutConstraint!
    private let kAnimationDuration:TimeInterval = 0.3
    private let kButtonWidth:CGFloat = 120
    private let kButtonHeight:CGFloat = 36
    private let kButtonBottom:CGFloat = -20
    private let kSliderMargin:CGFloat = 15
    private let kSliderHeight:CGFloat = 50
    private let kMaxValue:Float = 180
    
    init(
        controller:CDrawProject,
