Add support to change numeric options in settings screen

Like delay or highlightDelaySecs
This commit is contained in:
Christian Göttsche
2020-11-21 21:40:08 +01:00
committed by cgzones
parent adf9185209
commit 267014cbfe
12 changed files with 330 additions and 153 deletions

4
CRT.h
View File

@ -142,8 +142,6 @@ extern bool CRT_utf8;
extern const char* const* CRT_treeStr;
extern int CRT_delay;
extern const int* CRT_colors;
extern int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT];
@ -175,7 +173,7 @@ static inline void CRT_restorePrivileges(void) { }
#endif /* HAVE_SETUID_ENABLED */
void CRT_init(int delay, int colorScheme, bool allowUnicode);
void CRT_init(const int* delay, int colorScheme, bool allowUnicode);
void CRT_done(void);