@@ -2575,8 +2575,8 @@ Ref<Texture2D> Control::get_theme_icon(const StringName &p_name, const StringNam
2575
2575
return data.theme_icon_cache [p_theme_type][p_name];
2576
2576
}
2577
2577
2578
- List <StringName> theme_types;
2579
- data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, & theme_types);
2578
+ Vector <StringName> theme_types;
2579
+ data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, theme_types);
2580
2580
Ref<Texture2D> icon = data.theme_owner ->get_theme_item_in_types (Theme::DATA_TYPE_ICON, p_name, theme_types);
2581
2581
data.theme_icon_cache [p_theme_type][p_name] = icon;
2582
2582
return icon;
@@ -2599,8 +2599,8 @@ Ref<StyleBox> Control::get_theme_stylebox(const StringName &p_name, const String
2599
2599
return data.theme_style_cache [p_theme_type][p_name];
2600
2600
}
2601
2601
2602
- List <StringName> theme_types;
2603
- data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, & theme_types);
2602
+ Vector <StringName> theme_types;
2603
+ data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, theme_types);
2604
2604
Ref<StyleBox> style = data.theme_owner ->get_theme_item_in_types (Theme::DATA_TYPE_STYLEBOX, p_name, theme_types);
2605
2605
data.theme_style_cache [p_theme_type][p_name] = style;
2606
2606
return style;
@@ -2623,8 +2623,8 @@ Ref<Font> Control::get_theme_font(const StringName &p_name, const StringName &p_
2623
2623
return data.theme_font_cache [p_theme_type][p_name];
2624
2624
}
2625
2625
2626
- List <StringName> theme_types;
2627
- data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, & theme_types);
2626
+ Vector <StringName> theme_types;
2627
+ data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, theme_types);
2628
2628
Ref<Font> font = data.theme_owner ->get_theme_item_in_types (Theme::DATA_TYPE_FONT, p_name, theme_types);
2629
2629
data.theme_font_cache [p_theme_type][p_name] = font;
2630
2630
return font;
@@ -2647,8 +2647,8 @@ int Control::get_theme_font_size(const StringName &p_name, const StringName &p_t
2647
2647
return data.theme_font_size_cache [p_theme_type][p_name];
2648
2648
}
2649
2649
2650
- List <StringName> theme_types;
2651
- data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, & theme_types);
2650
+ Vector <StringName> theme_types;
2651
+ data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, theme_types);
2652
2652
int font_size = data.theme_owner ->get_theme_item_in_types (Theme::DATA_TYPE_FONT_SIZE, p_name, theme_types);
2653
2653
data.theme_font_size_cache [p_theme_type][p_name] = font_size;
2654
2654
return font_size;
@@ -2671,8 +2671,8 @@ Color Control::get_theme_color(const StringName &p_name, const StringName &p_the
2671
2671
return data.theme_color_cache [p_theme_type][p_name];
2672
2672
}
2673
2673
2674
- List <StringName> theme_types;
2675
- data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, & theme_types);
2674
+ Vector <StringName> theme_types;
2675
+ data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, theme_types);
2676
2676
Color color = data.theme_owner ->get_theme_item_in_types (Theme::DATA_TYPE_COLOR, p_name, theme_types);
2677
2677
data.theme_color_cache [p_theme_type][p_name] = color;
2678
2678
return color;
@@ -2695,8 +2695,8 @@ int Control::get_theme_constant(const StringName &p_name, const StringName &p_th
2695
2695
return data.theme_constant_cache [p_theme_type][p_name];
2696
2696
}
2697
2697
2698
- List <StringName> theme_types;
2699
- data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, & theme_types);
2698
+ Vector <StringName> theme_types;
2699
+ data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, theme_types);
2700
2700
int constant = data.theme_owner ->get_theme_item_in_types (Theme::DATA_TYPE_CONSTANT, p_name, theme_types);
2701
2701
data.theme_constant_cache [p_theme_type][p_name] = constant;
2702
2702
return constant;
@@ -2741,8 +2741,8 @@ bool Control::has_theme_icon(const StringName &p_name, const StringName &p_theme
2741
2741
}
2742
2742
}
2743
2743
2744
- List <StringName> theme_types;
2745
- data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, & theme_types);
2744
+ Vector <StringName> theme_types;
2745
+ data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, theme_types);
2746
2746
return data.theme_owner ->has_theme_item_in_types (Theme::DATA_TYPE_ICON, p_name, theme_types);
2747
2747
}
2748
2748
@@ -2758,8 +2758,8 @@ bool Control::has_theme_stylebox(const StringName &p_name, const StringName &p_t
2758
2758
}
2759
2759
}
2760
2760
2761
- List <StringName> theme_types;
2762
- data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, & theme_types);
2761
+ Vector <StringName> theme_types;
2762
+ data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, theme_types);
2763
2763
return data.theme_owner ->has_theme_item_in_types (Theme::DATA_TYPE_STYLEBOX, p_name, theme_types);
2764
2764
}
2765
2765
@@ -2775,8 +2775,8 @@ bool Control::has_theme_font(const StringName &p_name, const StringName &p_theme
2775
2775
}
2776
2776
}
2777
2777
2778
- List <StringName> theme_types;
2779
- data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, & theme_types);
2778
+ Vector <StringName> theme_types;
2779
+ data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, theme_types);
2780
2780
return data.theme_owner ->has_theme_item_in_types (Theme::DATA_TYPE_FONT, p_name, theme_types);
2781
2781
}
2782
2782
@@ -2792,8 +2792,8 @@ bool Control::has_theme_font_size(const StringName &p_name, const StringName &p_
2792
2792
}
2793
2793
}
2794
2794
2795
- List <StringName> theme_types;
2796
- data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, & theme_types);
2795
+ Vector <StringName> theme_types;
2796
+ data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, theme_types);
2797
2797
return data.theme_owner ->has_theme_item_in_types (Theme::DATA_TYPE_FONT_SIZE, p_name, theme_types);
2798
2798
}
2799
2799
@@ -2809,8 +2809,8 @@ bool Control::has_theme_color(const StringName &p_name, const StringName &p_them
2809
2809
}
2810
2810
}
2811
2811
2812
- List <StringName> theme_types;
2813
- data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, & theme_types);
2812
+ Vector <StringName> theme_types;
2813
+ data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, theme_types);
2814
2814
return data.theme_owner ->has_theme_item_in_types (Theme::DATA_TYPE_COLOR, p_name, theme_types);
2815
2815
}
2816
2816
@@ -2826,8 +2826,8 @@ bool Control::has_theme_constant(const StringName &p_name, const StringName &p_t
2826
2826
}
2827
2827
}
2828
2828
2829
- List <StringName> theme_types;
2830
- data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, & theme_types);
2829
+ Vector <StringName> theme_types;
2830
+ data.theme_owner ->get_theme_type_dependencies (this , p_theme_type, theme_types);
2831
2831
return data.theme_owner ->has_theme_item_in_types (Theme::DATA_TYPE_CONSTANT, p_name, theme_types);
2832
2832
}
2833
2833
0 commit comments