diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-02 12:24:13 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-02 12:24:13 +0100 |
commit | 3ce539cad9e5ea3b593797ff04bdd375a55e55ff (patch) | |
tree | f7ada4a99e284abf0ab797dee6a5ffd4e9c8df4f /scene/gui/rich_text_effect.h | |
parent | e9b67569f7c067d3fb3e5095697ef5ebcd293d90 (diff) | |
parent | 0541c746eefab98e5fd0786bbca0639c1a47390d (diff) |
Merge pull request #69475 from bruvzg/rtl_fx_idx
[RichTextEffect] Restore missing `relative_index` property.
Diffstat (limited to 'scene/gui/rich_text_effect.h')
-rw-r--r-- | scene/gui/rich_text_effect.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/rich_text_effect.h b/scene/gui/rich_text_effect.h index 4532a812ee..66b8a21760 100644 --- a/scene/gui/rich_text_effect.h +++ b/scene/gui/rich_text_effect.h @@ -52,6 +52,7 @@ public: uint32_t glyph_index = 0; uint16_t glyph_flags = 0; uint8_t glyph_count = 0; + int32_t relative_index = 0; RID font; CharFXTransform(); @@ -84,6 +85,9 @@ public: uint8_t get_glyph_count() const { return glyph_count; }; void set_glyph_count(uint8_t p_glyph_count) { glyph_count = p_glyph_count; }; + int32_t get_relative_index() const { return relative_index; }; + void set_relative_index(int32_t p_relative_index) { relative_index = p_relative_index; }; + RID get_font() const { return font; }; void set_font(RID p_font) { font = p_font; }; |