Merge pull request #97378 from rune-scape/less-const-cast
Get rid of easily removable uses of `const_cast`
This commit is contained in:
@ -517,8 +517,8 @@ private:
|
||||
int get_item_height(TreeItem *p_item) const;
|
||||
void _update_all();
|
||||
void update_column(int p_col);
|
||||
void update_item_cell(TreeItem *p_item, int p_col);
|
||||
void update_item_cache(TreeItem *p_item);
|
||||
void update_item_cell(TreeItem *p_item, int p_col) const;
|
||||
void update_item_cache(TreeItem *p_item) const;
|
||||
//void draw_item_text(String p_text,const Ref<Texture2D>& p_icon,int p_icon_max_w,bool p_tool,Rect2i p_rect,const Color& p_color);
|
||||
void draw_item_rect(TreeItem::Cell &p_cell, const Rect2i &p_rect, const Color &p_color, const Color &p_icon_color, int p_ol_size, const Color &p_ol_color);
|
||||
int draw_item(const Point2i &p_pos, const Point2 &p_draw_ofs, const Size2 &p_draw_size, TreeItem *p_item, int &r_self_height);
|
||||
|
||||
Reference in New Issue
Block a user