minor refactor

This commit is contained in:
MihailRis
2024-05-05 17:02:11 +03:00
parent 5fcefaf52e
commit bad871b0a2
8 changed files with 21 additions and 27 deletions
+2
View File
@@ -172,6 +172,8 @@ namespace gui {
virtual void setResizing(bool flag);
virtual bool isResizing() const;
virtual glm::vec4 calcColor() const;
/* Get inner content offset. Used for scroll */
virtual glm::vec2 contentOffset() {return glm::vec2(0.0f);};
/* Calculate screen position of the element */