aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/vgui_controls/subrectimage.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/subrectimage.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/subrectimage.h')
-rw-r--r--mp/src/public/vgui_controls/subrectimage.h100
1 files changed, 50 insertions, 50 deletions
diff --git a/mp/src/public/vgui_controls/subrectimage.h b/mp/src/public/vgui_controls/subrectimage.h
index 7831f85e..b7738c4b 100644
--- a/mp/src/public/vgui_controls/subrectimage.h
+++ b/mp/src/public/vgui_controls/subrectimage.h
@@ -1,51 +1,51 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================
-
-#ifndef SUBRECTIMAGE_H
-#define SUBRECTIMAGE_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "vgui_controls/Image.h"
-#include "vgui/VGUI.h"
-
-
-//-----------------------------------------------------------------------------
-// Purpose: Check box image
-//-----------------------------------------------------------------------------
-class CSubRectImage : public vgui::Image
-{
-public:
- CSubRectImage( const char *filename, bool hardwareFiltered, int subx, int suby, int subw, int subh );
- virtual ~CSubRectImage();
-
- void GetSize( int &wide, int &tall );
- void GetContentSize( int &wide, int &tall );
- void SetSize( int x, int y );
- void SetPos( int x, int y );
- void SetColor( Color col );
- const char *GetName();
- void Paint();
- void ForceUpload();
- vgui::HTexture GetID();
- bool IsValid();
-
-private:
- vgui::HTexture _id;
- int sub[ 4 ];
- char *_filename;
- int _pos[2];
- int _wide,_tall;
- Color _color;
- bool _uploaded;
- bool _valid;
- bool _filtered;
-};
-
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================
+
+#ifndef SUBRECTIMAGE_H
+#define SUBRECTIMAGE_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "vgui_controls/Image.h"
+#include "vgui/VGUI.h"
+
+
+//-----------------------------------------------------------------------------
+// Purpose: Check box image
+//-----------------------------------------------------------------------------
+class CSubRectImage : public vgui::Image
+{
+public:
+ CSubRectImage( const char *filename, bool hardwareFiltered, int subx, int suby, int subw, int subh );
+ virtual ~CSubRectImage();
+
+ void GetSize( int &wide, int &tall );
+ void GetContentSize( int &wide, int &tall );
+ void SetSize( int x, int y );
+ void SetPos( int x, int y );
+ void SetColor( Color col );
+ const char *GetName();
+ void Paint();
+ void ForceUpload();
+ vgui::HTexture GetID();
+ bool IsValid();
+
+private:
+ vgui::HTexture _id;
+ int sub[ 4 ];
+ char *_filename;
+ int _pos[2];
+ int _wide,_tall;
+ Color _color;
+ bool _uploaded;
+ bool _valid;
+ bool _filtered;
+};
+
+
#endif // SUBRECTIMAGE_H \ No newline at end of file