diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/hl1/hl1_hud_numbers.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/hl1/hl1_hud_numbers.h')
| -rw-r--r-- | game/client/hl1/hl1_hud_numbers.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/game/client/hl1/hl1_hud_numbers.h b/game/client/hl1/hl1_hud_numbers.h new file mode 100644 index 0000000..e5deec1 --- /dev/null +++ b/game/client/hl1/hl1_hud_numbers.h @@ -0,0 +1,35 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef HL1_HUD_NUMBERS_H +#define HL1_HUD_NUMBERS_H +#ifdef _WIN32 +#pragma once +#endif + + +#include <vgui_controls/Panel.h> + + +class CHL1HudNumbers : public vgui::Panel +{ + DECLARE_CLASS_SIMPLE( CHL1HudNumbers, vgui::Panel ); + +public: + CHL1HudNumbers( vgui::Panel *parent, const char *name ); + void VidInit( void ); + +protected: + int DrawHudNumber( int x, int y, int iNumber, Color &clrDraw ); + int GetNumberFontHeight( void ); + int GetNumberFontWidth( void ); + +private: + CHudTexture *icon_digits[ 10 ]; +}; + + +#endif // HL1_HUD_NUMBERS_H |