summaryrefslogtreecommitdiff
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 50f139637c..54267e99c0 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -38,6 +38,7 @@
38#include "fat.h" /* For dotfile settings */ 38#include "fat.h" /* For dotfile settings */
39#include "sleeptimer.h" 39#include "sleeptimer.h"
40#include "powermgmt.h" 40#include "powermgmt.h"
41#include "bidi.h"
41#include "rtc.h" 42#include "rtc.h"
42#include "ata.h" 43#include "ata.h"
43#include "tree.h" 44#include "tree.h"
@@ -279,6 +280,18 @@ static bool invert_cursor(void)
279} 280}
280 281
281/** 282/**
283 * Menu to reverse Hebrew and Arabic text according to BiDi algorythm
284 */
285static bool bidi_support(void)
286{
287 return set_bool_options( str(LANG_BIDI_SUPPORT),
288 &global_settings.bidi_support,
289 STR(LANG_SET_BOOL_YES),
290 STR(LANG_SET_BOOL_NO),
291 set_bidi_support);
292}
293
294/**
282 * Menu to configure the battery display on status bar 295 * Menu to configure the battery display on status bar
283 */ 296 */
284static bool battery_display(void) 297static bool battery_display(void)
@@ -1421,6 +1434,7 @@ static bool lcd_settings_menu(void)
1421 { ID2P(LANG_INVERT), invert }, 1434 { ID2P(LANG_INVERT), invert },
1422 { ID2P(LANG_FLIP_DISPLAY), flip_display }, 1435 { ID2P(LANG_FLIP_DISPLAY), flip_display },
1423 { ID2P(LANG_INVERT_CURSOR), invert_cursor }, 1436 { ID2P(LANG_INVERT_CURSOR), invert_cursor },
1437 { ID2P(LANG_BIDI_SUPPORT), bidi_support },
1424#endif 1438#endif
1425 }; 1439 };
1426 1440