aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/vgui_controls/KeyBindingHelpDialog.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/public/vgui_controls/KeyBindingHelpDialog.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/public/vgui_controls/KeyBindingHelpDialog.h')
-rw-r--r--mp/src/public/vgui_controls/KeyBindingHelpDialog.h126
1 files changed, 63 insertions, 63 deletions
diff --git a/mp/src/public/vgui_controls/KeyBindingHelpDialog.h b/mp/src/public/vgui_controls/KeyBindingHelpDialog.h
index 284cfc08..3e4d0ede 100644
--- a/mp/src/public/vgui_controls/KeyBindingHelpDialog.h
+++ b/mp/src/public/vgui_controls/KeyBindingHelpDialog.h
@@ -1,63 +1,63 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================
-
-#ifndef KEYBINDINGHELPDIALOG_H
-#define KEYBINDINGHELPDIALOG_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "vgui_controls/Frame.h"
-#include "vgui/KeyCode.h"
-
-namespace vgui
-{
-
-class ListPanel;
-class CKeyBoardEditorDialog;
-
-//-----------------------------------------------------------------------------
-// Purpose: Dialog for use in editing keybindings
-//-----------------------------------------------------------------------------
-class CKeyBindingHelpDialog : public Frame
-{
- DECLARE_CLASS_SIMPLE( CKeyBindingHelpDialog, Frame );
-
-public:
- CKeyBindingHelpDialog( Panel *parent, Panel *panelToView, KeyBindingContextHandle_t handle, KeyCode code, int modifiers );
- ~CKeyBindingHelpDialog();
-
- virtual void OnCommand( char const *cmd );
- virtual void OnKeyCodeTyped(vgui::KeyCode code);
-
- // The key originally bound to help was pressed
- void HelpKeyPressed();
-private:
-
- virtual void OnTick();
-
- bool IsHelpKeyStillBeingHeld();
-
- void PopulateList();
- void GetMappingList( Panel *panel, CUtlVector< PanelKeyBindingMap * >& maps );
-
- void AnsiText( char const *token, char *out, size_t buflen );
-
- vgui::PHandle m_hPanel;
- KeyBindingContextHandle_t m_Handle;
- KeyCode m_KeyCode;
- int m_Modifiers;
-
- ListPanel *m_pList;
- double m_flShowTime;
- bool m_bPermanent;
-
- DHANDLE< CKeyBoardEditorDialog > m_hKeyBindingsEditor;
-};
-
-}
-
-#endif // KEYBINDINGHELPDIALOG_H
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================
+
+#ifndef KEYBINDINGHELPDIALOG_H
+#define KEYBINDINGHELPDIALOG_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "vgui_controls/Frame.h"
+#include "vgui/KeyCode.h"
+
+namespace vgui
+{
+
+class ListPanel;
+class CKeyBoardEditorDialog;
+
+//-----------------------------------------------------------------------------
+// Purpose: Dialog for use in editing keybindings
+//-----------------------------------------------------------------------------
+class CKeyBindingHelpDialog : public Frame
+{
+ DECLARE_CLASS_SIMPLE( CKeyBindingHelpDialog, Frame );
+
+public:
+ CKeyBindingHelpDialog( Panel *parent, Panel *panelToView, KeyBindingContextHandle_t handle, KeyCode code, int modifiers );
+ ~CKeyBindingHelpDialog();
+
+ virtual void OnCommand( char const *cmd );
+ virtual void OnKeyCodeTyped(vgui::KeyCode code);
+
+ // The key originally bound to help was pressed
+ void HelpKeyPressed();
+private:
+
+ virtual void OnTick();
+
+ bool IsHelpKeyStillBeingHeld();
+
+ void PopulateList();
+ void GetMappingList( Panel *panel, CUtlVector< PanelKeyBindingMap * >& maps );
+
+ void AnsiText( char const *token, char *out, size_t buflen );
+
+ vgui::PHandle m_hPanel;
+ KeyBindingContextHandle_t m_Handle;
+ KeyCode m_KeyCode;
+ int m_Modifiers;
+
+ ListPanel *m_pList;
+ double m_flShowTime;
+ bool m_bPermanent;
+
+ DHANDLE< CKeyBoardEditorDialog > m_hKeyBindingsEditor;
+};
+
+}
+
+#endif // KEYBINDINGHELPDIALOG_H