networking
This commit is contained in:
26
public/fgui/label.h
Normal file
26
public/fgui/label.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef FGUI_LABEL_H
|
||||
#define FGUI_LABEL_H
|
||||
#include "widget.h"
|
||||
#include "tier1/utlstring.h"
|
||||
#include "rendering.h"
|
||||
|
||||
class CFGUI_Label: public CFGUI_Widget
|
||||
{
|
||||
public:
|
||||
CFGUI_Label();
|
||||
~CFGUI_Label();
|
||||
|
||||
CUtlString m_szText;
|
||||
float m_fLabelColor[3];
|
||||
|
||||
void SetFont( CUtlString font );
|
||||
void SetLabel( CUtlString text );
|
||||
void SetLabelSize( uint32_t nSize );
|
||||
|
||||
virtual void Event( FGUI_Event_t event ) override;
|
||||
virtual void Draw() override;
|
||||
|
||||
uint32_t m_fGlyphSize[2];
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user