Remove unneeded RTL settings

This commit is contained in:
Benau
2019-06-17 01:22:34 +08:00
parent 8995342b94
commit bb63a85d6f
6 changed files with 3 additions and 63 deletions

View File

@@ -118,17 +118,6 @@ namespace gui
//! Checks if the text in this label should be clipped if it goes outside bounds
virtual bool isTextRestrainedInside() const = 0;
//! Set whether the string should be interpreted as right-to-left (RTL) text
/** \note This component does not implement the Unicode bidi standard, the
text of the component should be already RTL if you call this. The
main difference when RTL is enabled is that the linebreaks for multiline
elements are performed starting from the end.
*/
virtual void setRightToLeft(bool rtl) = 0;
//! Checks whether the text in this element should be interpreted as right-to-left
virtual bool isRightToLeft() const = 0;
virtual const std::vector<GlyphLayout>& getGlyphLayouts() const = 0;
virtual void setGlyphLayouts(std::vector<GlyphLayout>& gls) = 0;
virtual void clearGlyphLayouts() = 0;