summaryrefslogtreecommitdiffstats
path: root/scene/resources/text_line.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-12-08 22:01:07 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-12-15 23:16:02 +0200
commit53c76fa5d16cd71f98081c307256e35e27212c11 (patch)
tree34dbaa70cd614f0bb674603dd136df1fe4b0d85b /scene/resources/text_line.h
parent15631e24f740872c2be7cf81dd252c38b4aa174e (diff)
downloadredot-engine-53c76fa5d16cd71f98081c307256e35e27212c11.tar.gz
[RTL/TextServer] Add baseline inline alignment mode for objects and RTL tables.
Diffstat (limited to 'scene/resources/text_line.h')
-rw-r--r--scene/resources/text_line.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/text_line.h b/scene/resources/text_line.h
index e70e82cf2b..801a8a8c11 100644
--- a/scene/resources/text_line.h
+++ b/scene/resources/text_line.h
@@ -76,8 +76,8 @@ public:
bool get_preserve_control() const;
bool add_string(const String &p_text, const Ref<Font> &p_font, int p_font_size, const String &p_language = "", const Variant &p_meta = Variant());
- bool add_object(Variant p_key, const Size2 &p_size, InlineAlignment p_inline_align = INLINE_ALIGNMENT_CENTER, int p_length = 1);
- bool resize_object(Variant p_key, const Size2 &p_size, InlineAlignment p_inline_align = INLINE_ALIGNMENT_CENTER);
+ bool add_object(Variant p_key, const Size2 &p_size, InlineAlignment p_inline_align = INLINE_ALIGNMENT_CENTER, int p_length = 1, float p_baseline = 0.0);
+ bool resize_object(Variant p_key, const Size2 &p_size, InlineAlignment p_inline_align = INLINE_ALIGNMENT_CENTER, float p_baseline = 0.0);
void set_horizontal_alignment(HorizontalAlignment p_alignment);
HorizontalAlignment get_horizontal_alignment() const;