mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
minor refactor
This commit is contained in:
parent
5fcefaf52e
commit
bad871b0a2
8 changed files with 21 additions and 27 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue