added ui rendering
This commit is contained in:
16
public/fgui/rect.h
Normal file
16
public/fgui/rect.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef FGUI_RECT_H
|
||||
#define FGUI_RECT_H
|
||||
#include "widget.h"
|
||||
|
||||
class CFGUI_Rect: public CFGUI_Widget
|
||||
{
|
||||
public:
|
||||
void SetBoxColor( float r, float g, float b, float a );
|
||||
|
||||
virtual void Event( FGUI_Event_t event ) override;
|
||||
virtual void Draw() override;
|
||||
|
||||
float m_fBoxColor[4];
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user