diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /mp/src/public/vgui_controls/URLLabel.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/public/vgui_controls/URLLabel.h')
| -rw-r--r-- | mp/src/public/vgui_controls/URLLabel.h | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/mp/src/public/vgui_controls/URLLabel.h b/mp/src/public/vgui_controls/URLLabel.h index 3421b3d2..66112513 100644 --- a/mp/src/public/vgui_controls/URLLabel.h +++ b/mp/src/public/vgui_controls/URLLabel.h @@ -1,49 +1,49 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef URLLABEL_H
-#define URLLABEL_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include <vgui/VGUI.h>
-#include <vgui_controls/Label.h>
-
-namespace vgui
-{
-
-class URLLabel : public Label
-{
- DECLARE_CLASS_SIMPLE( URLLabel, Label );
-
-public:
- URLLabel(Panel *parent, const char *panelName, const char *text, const char *pszURL);
- URLLabel(Panel *parent, const char *panelName, const wchar_t *wszText, const char *pszURL);
- ~URLLabel();
-
- void SetURL(const char *pszURL);
-
-protected:
- virtual void OnMousePressed(MouseCode code);
- virtual void ApplySettings( KeyValues *inResourceData );
- virtual void GetSettings( KeyValues *outResourceData );
- virtual void ApplySchemeSettings(IScheme *pScheme);
- virtual const char *GetDescription( void );
-
- const char *GetURL( void ) { return m_pszURL; }
-
-private:
- char *m_pszURL;
- int m_iURLSize;
- bool m_bUnderline;
-};
-
-}
-
-#endif // URLLABEL_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef URLLABEL_H +#define URLLABEL_H + +#ifdef _WIN32 +#pragma once +#endif + +#include <vgui/VGUI.h> +#include <vgui_controls/Label.h> + +namespace vgui +{ + +class URLLabel : public Label +{ + DECLARE_CLASS_SIMPLE( URLLabel, Label ); + +public: + URLLabel(Panel *parent, const char *panelName, const char *text, const char *pszURL); + URLLabel(Panel *parent, const char *panelName, const wchar_t *wszText, const char *pszURL); + ~URLLabel(); + + void SetURL(const char *pszURL); + +protected: + virtual void OnMousePressed(MouseCode code); + virtual void ApplySettings( KeyValues *inResourceData ); + virtual void GetSettings( KeyValues *outResourceData ); + virtual void ApplySchemeSettings(IScheme *pScheme); + virtual const char *GetDescription( void ); + + const char *GetURL( void ) { return m_pszURL; } + +private: + char *m_pszURL; + int m_iURLSize; + bool m_bUnderline; +}; + +} + +#endif // URLLABEL_H |