MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / rtl

Method rtl

app/src/Misc/Translator.cpp:69–72  ·  view source on GitHub ↗

* @brief Returns true if the active language uses a right-to-left script. */

Source from the content-addressed store, hash-verified

67 * @brief Returns true if the active language uses a right-to-left script.
68 */
69bool Misc::Translator::rtl() const
70{
71 return m_language == Arabic || m_language == Hebrew;
72}
73
74/**
75 * @brief Returns the language enum that matches the host operating system locale.

Callers 5

drawSegmentSelectionMethod · 0.80
drawCursorMethod · 0.80
paintTextContentMethod · 0.80
paintScrollbarMethod · 0.80
positionToCursorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected