Ejemplo n.º 1
0
 private void StartEditList()
 {
     listEditing = true;
     MoveAnimation.MoveTo(this.myThemeListBox, 0d, 0d, 200d, easingFunction,
                          fe =>
     {
     });
     FadeAnimation.Fade(this.switchMask, 0d, 1d, 200d);
     BuildBottomAppBar_Edit();
 }
Ejemplo n.º 2
0
        private void EndEditList()
        {
            MoveAnimation.MoveTo(this.myThemeListBox, -64d, 0d, 200d, easingFunction, null);
            FadeAnimation.Fade(this.switchMask, 1d, 0d, 200d);
            foreach (var theme in myThemeData.myThemes)
            {
                theme.Selected = false;
            }

            BuildBottomAppBar_Normal();
            listEditing = false;
        }
Ejemplo n.º 3
0
 private void KnobMove(bool right, bool useTransition)
 {
     if (knob != null)
     {
         double pos_x = this.Width * (right ? 0.5 : 0);
         if (useTransition)
         {
             MoveAnimation.MoveTo(knob, pos_x, 0, 200d);
         }
         else
         {
             MoveAnimation.SetPosition(knob, pos_x, 0);
         }
     }
 }