summaryrefslogtreecommitdiffstats
path: root/scene/gui/item_list.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-06-15 11:01:45 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-06-16 16:49:37 +0300
commitb5c96df2771113cd9c5cb24b07b199a08a8ad917 (patch)
tree7dc5b5f47f3cefde77306c48619919060f576ea8 /scene/gui/item_list.h
parentef6511fbb4b280ca81f18f89d89be7a7b6c706ec (diff)
downloadredot-engine-b5c96df2771113cd9c5cb24b07b199a08a8ad917.tar.gz
Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the TextServer.
Diffstat (limited to 'scene/gui/item_list.h')
-rw-r--r--scene/gui/item_list.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/gui/item_list.h b/scene/gui/item_list.h
index ffbe7d055a..a15b090149 100644
--- a/scene/gui/item_list.h
+++ b/scene/gui/item_list.h
@@ -99,7 +99,7 @@ private:
SelectMode select_mode = SELECT_SINGLE;
IconMode icon_mode = ICON_MODE_LEFT;
VScrollBar *scroll_bar = nullptr;
- TextParagraph::OverrunBehavior text_overrun_behavior = TextParagraph::OVERRUN_TRIM_ELLIPSIS;
+ TextServer::OverrunBehavior text_overrun_behavior = TextServer::OVERRUN_TRIM_ELLIPSIS;
uint64_t search_time_msec = 0;
String search_string;
@@ -188,8 +188,8 @@ public:
void set_item_custom_fg_color(int p_idx, const Color &p_custom_fg_color);
Color get_item_custom_fg_color(int p_idx) const;
- void set_text_overrun_behavior(TextParagraph::OverrunBehavior p_behavior);
- TextParagraph::OverrunBehavior get_text_overrun_behavior() const;
+ void set_text_overrun_behavior(TextServer::OverrunBehavior p_behavior);
+ TextServer::OverrunBehavior get_text_overrun_behavior() const;
void select(int p_idx, bool p_single = true);
void deselect(int p_idx);