added main menus, improved shading

This commit is contained in:
2025-07-18 20:37:52 +03:00
parent dddf1b5881
commit 070c3ff309
45 changed files with 859 additions and 271 deletions

View File

@@ -10,17 +10,21 @@ public:
CFGUI_Label();
~CFGUI_Label();
CUtlString m_szText;
float m_fLabelColor[3];
void SetFont( CUtlString font );
void SetColor( float r, float g, float b );
void SetLabel( CUtlString text );
void SetLabelSize( uint32_t nSize );
void SetGlyphSize( uint32_t nSize );
void SetGlyphSize( uint32_t nSizeX, uint32_t nSizeY );
virtual void Event( FGUI_Event_t event ) override;
virtual void Draw() override;
virtual void Frame() override;
private:
CUtlString m_szText;
float m_fLabelColor[3];
float m_fGlyphScale[2] = {1,1};
CFont *m_pFont;
};