aboutsummaryrefslogtreecommitdiff
path: root/sp/src/public/vgui_controls/QueryBox.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 /sp/src/public/vgui_controls/QueryBox.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 'sp/src/public/vgui_controls/QueryBox.h')
-rw-r--r--sp/src/public/vgui_controls/QueryBox.h124
1 files changed, 62 insertions, 62 deletions
diff --git a/sp/src/public/vgui_controls/QueryBox.h b/sp/src/public/vgui_controls/QueryBox.h
index d3df48d5..40e6e46f 100644
--- a/sp/src/public/vgui_controls/QueryBox.h
+++ b/sp/src/public/vgui_controls/QueryBox.h
@@ -1,62 +1,62 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose: Creates a Message box with a question in it and yes/no buttons
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef QUERYBOX_H
-#define QUERYBOX_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include <KeyValues.h>
-#include <vgui_controls/MessageBox.h>
-#include <vgui_controls/Button.h>
-
-namespace vgui
-{
-
-//-----------------------------------------------------------------------------
-// Purpose: Creates A Message box with a question in it and yes/no buttons
-//-----------------------------------------------------------------------------
-class QueryBox : public MessageBox
-{
- DECLARE_CLASS_SIMPLE( QueryBox, MessageBox );
-
-public:
- QueryBox(const char *title, const char *queryText,vgui::Panel *parent = NULL );
- QueryBox(const wchar_t *wszTitle, const wchar_t *wszQueryText,vgui::Panel *parent = NULL);
- ~QueryBox();
-
- // Layout the window for drawing
- virtual void PerformLayout();
-
- // Set the keyvalues to send when ok button is hit
- void SetOKCommand(KeyValues *keyValues);
-
- // Set the keyvalues to send when the cancel button is hit
- void SetCancelCommand(KeyValues *keyValues);
-
- // Set the text on the Cancel button
- void SetCancelButtonText(const char *buttonText);
- void SetCancelButtonText(const wchar_t *wszButtonText);
-
- // Set a value of the ok command
- void SetOKCommandValue(const char *keyName, int value);
-
-protected:
- virtual void OnKeyCodeTyped( KeyCode code );
- virtual void OnKeyCodePressed( KeyCode code );
- virtual void OnCommand(const char *command);
- Button *m_pCancelButton;
-
-private:
- KeyValues *m_pCancelCommand;
- KeyValues *m_pOkCommand;
-};
-
-}
-#endif // QUERYBOX_H
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: Creates a Message box with a question in it and yes/no buttons
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef QUERYBOX_H
+#define QUERYBOX_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include <KeyValues.h>
+#include <vgui_controls/MessageBox.h>
+#include <vgui_controls/Button.h>
+
+namespace vgui
+{
+
+//-----------------------------------------------------------------------------
+// Purpose: Creates A Message box with a question in it and yes/no buttons
+//-----------------------------------------------------------------------------
+class QueryBox : public MessageBox
+{
+ DECLARE_CLASS_SIMPLE( QueryBox, MessageBox );
+
+public:
+ QueryBox(const char *title, const char *queryText,vgui::Panel *parent = NULL );
+ QueryBox(const wchar_t *wszTitle, const wchar_t *wszQueryText,vgui::Panel *parent = NULL);
+ ~QueryBox();
+
+ // Layout the window for drawing
+ virtual void PerformLayout();
+
+ // Set the keyvalues to send when ok button is hit
+ void SetOKCommand(KeyValues *keyValues);
+
+ // Set the keyvalues to send when the cancel button is hit
+ void SetCancelCommand(KeyValues *keyValues);
+
+ // Set the text on the Cancel button
+ void SetCancelButtonText(const char *buttonText);
+ void SetCancelButtonText(const wchar_t *wszButtonText);
+
+ // Set a value of the ok command
+ void SetOKCommandValue(const char *keyName, int value);
+
+protected:
+ virtual void OnKeyCodeTyped( KeyCode code );
+ virtual void OnKeyCodePressed( KeyCode code );
+ virtual void OnCommand(const char *command);
+ Button *m_pCancelButton;
+
+private:
+ KeyValues *m_pCancelCommand;
+ KeyValues *m_pOkCommand;
+};
+
+}
+#endif // QUERYBOX_H