mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Add helper methods and simplify logic
This commit is contained in:
parent
b7c5fcaf1e
commit
bc9c14da7a
2 changed files with 31 additions and 44 deletions
|
|
@ -548,6 +548,8 @@ private:
|
|||
|
||||
int compute_item_height(TreeItem *p_item) const;
|
||||
int get_item_height(TreeItem *p_item) const;
|
||||
Point2i convert_rtl_position(const Point2i &pos, int width = 0) const;
|
||||
Rect2i convert_rtl_rect(const Rect2i &Rect2) const;
|
||||
void _update_all();
|
||||
void update_column(int p_col);
|
||||
void update_item_cell(TreeItem *p_item, int p_col) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue