mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
add textbox:indexByPos and :lineY methods
This commit is contained in:
parent
1e16ab5464
commit
65b4ac8262
5 changed files with 38 additions and 3 deletions
|
|
@ -267,7 +267,7 @@ namespace gui {
|
|||
virtual glm::vec4 calcColor() const;
|
||||
|
||||
/// @brief Get inner content offset. Used for scroll
|
||||
virtual glm::vec2 getContentOffset() {return glm::vec2(0.0f);};
|
||||
virtual glm::vec2 getContentOffset() const {return glm::vec2(0.0f);};
|
||||
/// @brief Calculate screen position of the element
|
||||
virtual glm::vec2 calcPos() const;
|
||||
virtual void setPos(const glm::vec2& pos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue