introduction of config nodes
This commit is contained in:
@@ -98,14 +98,10 @@ namespace VISEQ::APP::UI{
|
||||
DrawText(std::format("{}", gm->nodes.size()).c_str(), 20, settings->height - 70, 15, VS_COLOR_WHITE);
|
||||
DrawFPS(20, settings->height - 30);
|
||||
}
|
||||
|
||||
void drawPropertiesBar(){
|
||||
|
||||
float left = settings->width - 280.f;
|
||||
|
||||
GuiPanel((Rectangle){left,-30,280,(float)settings->height + 31}, "");
|
||||
const int s_controls = 25;
|
||||
|
||||
|
||||
void DrawCenteredText(std::string text, Vec2Df position, int size, Color color){
|
||||
float offset = MeasureText(text.c_str(), size);
|
||||
DrawText(text.c_str(), position.x-offset/2.0f, position.y-(float)size/2.0f+1, size, color );
|
||||
}
|
||||
|
||||
void drawPerNodeConfig(Camera2D *camera){
|
||||
|
||||
Reference in New Issue
Block a user