mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-06-08 08:18:13 +00:00
24 lines
652 B
C++
24 lines
652 B
C++
#ifndef _INCLUDED_ASW_HUDELEMENT_H
|
|
#define _INCLUDED_ASW_HUDELEMENT_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "hudelement.h"
|
|
|
|
class CASW_HudElement : public CHudElement
|
|
{
|
|
public:
|
|
// DECLARE_CLASS_SIMPLE( CASW_HudElement, CHudElement );
|
|
|
|
CASW_HudElement( const char *pElementName );
|
|
|
|
// Return true if this hud element should be visible in the current hud state
|
|
virtual bool ShouldDraw( void );
|
|
|
|
protected:
|
|
/// simple convenience for printing unformatted text with a drop shadow
|
|
static void DrawColoredTextWithDropShadow( const vgui::HFont &font, int x, int y, int r, int g, int b, int a, char *fmt );
|
|
};
|
|
|
|
#endif //_INCLUDED_ASW_HUDELEMENT_H
|