This commit is contained in:
2025-05-25 23:37:40 +03:00
commit 7f054e2904
79 changed files with 4850 additions and 0 deletions

27
public/fgui/fgui.h Normal file
View File

@@ -0,0 +1,27 @@
#ifndef FGUI_H
#define FGUI_H
#include "tier0/platform.h"
abstract_class fgui
{
struct Color_t
{
float r;
float g;
float b;
};
/* every position is resized to some degree of 1280x720 */
struct Vector_t
{
float x;
float y;
};
static void Init( void );
static void Frame( void );
static void Rectangle( Vector_t posPx, Vector_t posFl, Vector_t sizePx, Vector_t sizeFl );
static void Text( const char *psz, uint32_t nSize, Vector_t pos, Vector_t color );
};
#endif