aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/client/achievement_notification_panel.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/game/client/achievement_notification_panel.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/game/client/achievement_notification_panel.h')
-rw-r--r--mp/src/game/client/achievement_notification_panel.h112
1 files changed, 56 insertions, 56 deletions
diff --git a/mp/src/game/client/achievement_notification_panel.h b/mp/src/game/client/achievement_notification_panel.h
index 88ed358f..2af9f109 100644
--- a/mp/src/game/client/achievement_notification_panel.h
+++ b/mp/src/game/client/achievement_notification_panel.h
@@ -1,57 +1,57 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef ACHIEVEMENT_NOTIFICATION_PANEL_H
-#define ACHIEVEMENT_NOTIFICATION_PANEL_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include <vgui_controls/EditablePanel.h>
-#include "hudelement.h"
-
-using namespace vgui;
-
-class CAchievementNotificationPanel : public CHudElement, public EditablePanel
-{
- DECLARE_CLASS_SIMPLE( CAchievementNotificationPanel, EditablePanel );
-
-public:
- CAchievementNotificationPanel( const char *pElementName );
-
- virtual void Init();
- virtual void ApplySchemeSettings( IScheme *scheme );
- virtual bool ShouldDraw( void );
- virtual void PerformLayout( void );
- virtual void LevelInit( void ) { m_flHideTime = 0; }
- virtual void FireGameEvent( IGameEvent * event );
- virtual void OnTick( void );
-
- void AddNotification( const char *szIconBaseName, const wchar_t *pHeading, const wchar_t *pTitle );
-
-private:
- void ShowNextNotification();
- void SetXAndWide( Panel *pPanel, int x, int wide );
-
- float m_flHideTime;
-
- Label *m_pLabelHeading;
- Label *m_pLabelTitle;
- EditablePanel *m_pPanelBackground;
- ImagePanel *m_pIcon;
-
- struct Notification_t
- {
- char szIconBaseName[255];
- wchar_t szHeading[255];
- wchar_t szTitle[255];
- };
-
- CUtlLinkedList<Notification_t> m_queueNotification;
-};
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef ACHIEVEMENT_NOTIFICATION_PANEL_H
+#define ACHIEVEMENT_NOTIFICATION_PANEL_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include <vgui_controls/EditablePanel.h>
+#include "hudelement.h"
+
+using namespace vgui;
+
+class CAchievementNotificationPanel : public CHudElement, public EditablePanel
+{
+ DECLARE_CLASS_SIMPLE( CAchievementNotificationPanel, EditablePanel );
+
+public:
+ CAchievementNotificationPanel( const char *pElementName );
+
+ virtual void Init();
+ virtual void ApplySchemeSettings( IScheme *scheme );
+ virtual bool ShouldDraw( void );
+ virtual void PerformLayout( void );
+ virtual void LevelInit( void ) { m_flHideTime = 0; }
+ virtual void FireGameEvent( IGameEvent * event );
+ virtual void OnTick( void );
+
+ void AddNotification( const char *szIconBaseName, const wchar_t *pHeading, const wchar_t *pTitle );
+
+private:
+ void ShowNextNotification();
+ void SetXAndWide( Panel *pPanel, int x, int wide );
+
+ float m_flHideTime;
+
+ Label *m_pLabelHeading;
+ Label *m_pLabelTitle;
+ EditablePanel *m_pPanelBackground;
+ ImagePanel *m_pIcon;
+
+ struct Notification_t
+ {
+ char szIconBaseName[255];
+ wchar_t szHeading[255];
+ wchar_t szTitle[255];
+ };
+
+ CUtlLinkedList<Notification_t> m_queueNotification;
+};
+
#endif // ACHIEVEMENT_NOTIFICATION_PANEL_H \ No newline at end of file