OSDN Git Service

RAD-252: Implement Ctrl+Alt+Shift+H Hippos! (SL Viewer VWR-11118)
authorLatif Khalifa <latifer@streamgrid.net>
Tue, 12 Apr 2011 14:39:03 +0000 (14:39 +0000)
committerLatif Khalifa <latifer@streamgrid.net>
Tue, 12 Apr 2011 14:39:03 +0000 (14:39 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@828 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/GUI/Dialogs/MainForm.cs

index d8b55ad..ca47696 100644 (file)
@@ -572,6 +572,14 @@ namespace Radegast
 
         private void frmMain_KeyDown(object sender, KeyEventArgs e)
         {
+            // Ctrl-Alt-Shift-H Say "Hippos!" in chat
+            if (e.Modifiers == (Keys.Control | Keys.Shift | Keys.Alt) && e.KeyCode == Keys.H)
+            {
+                e.Handled = e.SuppressKeyPress = true;
+                netcom.ChatOut("Hippos!", ChatType.Normal, 0);
+                return;
+            }
+
             // Ctrl-Shift-1 (sim/parcel info)
             if (e.Modifiers == (Keys.Control | Keys.Shift) && e.KeyCode == Keys.D1)
             {