Esempio n. 1
0
 void Keyboard_KeyUp(KeyboardKeyEventArgs e)
 {
     m_AltDown = false;
     if (e.Key == Keys.F)
     {
         _currentFont = (_currentFont + 1) % defaultFonts.Count;
         //m_Skin.DefaultFont= new Font(m_Renderer, defaultFonts[_currentFont],12);
         m_Skin.SetDefaultFont(defaultFonts[_currentFont], 12);
         m_Canvas.Redraw();
     }
     else if (e.Key == Keys.C)
     {
         m_Skin.Colors.ModalBackground = new Color(200, 200, 200, 275);
     }
     m_Input.ProcessKeyUp(e);
 }