aboutsummaryrefslogtreecommitdiff
path: root/sp/src/game/client/vgui_bitmapbutton.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/game/client/vgui_bitmapbutton.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/game/client/vgui_bitmapbutton.h')
-rw-r--r--sp/src/game/client/vgui_bitmapbutton.h128
1 files changed, 64 insertions, 64 deletions
diff --git a/sp/src/game/client/vgui_bitmapbutton.h b/sp/src/game/client/vgui_bitmapbutton.h
index 95d05195..a52e7667 100644
--- a/sp/src/game/client/vgui_bitmapbutton.h
+++ b/sp/src/game/client/vgui_bitmapbutton.h
@@ -1,65 +1,65 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose: This is a panel which is rendered image on top of an entity
-//
-// $Revision: $
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef VGUI_BITMAPBUTTON_H
-#define VGUI_BITMAPBUTTON_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include <vgui_controls/Button.h>
-#include "vgui_bitmapimage.h"
-
-//-----------------------------------------------------------------------------
-// forward declarations
-//-----------------------------------------------------------------------------
-class KeyValues;
-
-//-----------------------------------------------------------------------------
-// A button that renders images instead of standard vgui stuff...
-//-----------------------------------------------------------------------------
-class CBitmapButton : public vgui::Button
-{
- typedef vgui::Button BaseClass;
-
-public:
- enum ButtonImageType_t
- {
- BUTTON_ENABLED = 0,
- BUTTON_ENABLED_MOUSE_OVER,
- BUTTON_PRESSED,
- BUTTON_DISABLED,
-
- BUTTON_STATE_COUNT
- };
-
- // constructor
- CBitmapButton( vgui::Panel *pParent, const char *pName, const char *pText );
- ~CBitmapButton();
-
- // initialization
- bool Init( KeyValues* pInitData );
-
- void SetImage( ButtonImageType_t type, const char *pMaterialName, color32 color );
- bool IsImageLoaded( ButtonImageType_t type ) const;
-
- // initialization from build-mode dialog style .res files
- virtual void ApplySettings(KeyValues *inResourceData);
-
- virtual void Paint( void );
- virtual void PaintBackground( void ) {}
-
-private:
-
- BitmapImage m_pImage[BUTTON_STATE_COUNT];
- bool m_bImageLoaded[BUTTON_STATE_COUNT];
-};
-
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: This is a panel which is rendered image on top of an entity
+//
+// $Revision: $
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef VGUI_BITMAPBUTTON_H
+#define VGUI_BITMAPBUTTON_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include <vgui_controls/Button.h>
+#include "vgui_bitmapimage.h"
+
+//-----------------------------------------------------------------------------
+// forward declarations
+//-----------------------------------------------------------------------------
+class KeyValues;
+
+//-----------------------------------------------------------------------------
+// A button that renders images instead of standard vgui stuff...
+//-----------------------------------------------------------------------------
+class CBitmapButton : public vgui::Button
+{
+ typedef vgui::Button BaseClass;
+
+public:
+ enum ButtonImageType_t
+ {
+ BUTTON_ENABLED = 0,
+ BUTTON_ENABLED_MOUSE_OVER,
+ BUTTON_PRESSED,
+ BUTTON_DISABLED,
+
+ BUTTON_STATE_COUNT
+ };
+
+ // constructor
+ CBitmapButton( vgui::Panel *pParent, const char *pName, const char *pText );
+ ~CBitmapButton();
+
+ // initialization
+ bool Init( KeyValues* pInitData );
+
+ void SetImage( ButtonImageType_t type, const char *pMaterialName, color32 color );
+ bool IsImageLoaded( ButtonImageType_t type ) const;
+
+ // initialization from build-mode dialog style .res files
+ virtual void ApplySettings(KeyValues *inResourceData);
+
+ virtual void Paint( void );
+ virtual void PaintBackground( void ) {}
+
+private:
+
+ BitmapImage m_pImage[BUTTON_STATE_COUNT];
+ bool m_bImageLoaded[BUTTON_STATE_COUNT];
+};
+
+
#endif // VGUI_BITMAPBUTTON_H \ No newline at end of file