mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #110055 from dagarsar/tree-rtl
Add helper methods to convert right-to-left `Rect2i` and `Point2i` in `Tree`'s `draw_item`
This commit is contained in:
commit
6b9acd7e9e
2 changed files with 31 additions and 44 deletions
|
|
@ -549,6 +549,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