implemented depth configuration for 2D elements

fixed text offset configuration
This commit is contained in:
devZoGok
2021-10-18 19:06:40 +03:00
parent 9479e3324f
commit 43d4019384
10 changed files with 55 additions and 39 deletions
+2
View File
@@ -25,6 +25,8 @@ namespace vb01{
void update();
void setText(std::string);
inline void setNode(Node *node){this->node=node;}
inline void setScale(float s){this->scale=s;}
inline void setColor(Vector4 c){this->color=c;}
private:
Node *node=nullptr;
std::string entry;