Example #1
0
 protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
 {
     if (args.Key == Key.ControlLeft)
     {
         legendContainer.FadeIn(100);
         processFrames = false;
     }
     return(base.OnKeyDown(state, args));
 }
Example #2
0
 protected override bool OnHover(InputState state)
 {
     HoverBackground.FadeIn(200);
     tooltipContainer.FadeIn(100);
     return(false);
 }