summaryrefslogtreecommitdiffstats
path: root/CRT.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-26 10:15:00 +1000
committerNathan Scott <nathans@redhat.com>2020-08-26 10:39:43 +1000
commit728b04bbb5667291f1e56058240fcd7e03cbfe74 (patch)
treead199ce3a3303e723eb9332aa6cb847b9530084a /CRT.h
parentd0f31ede5624ed2f35ca25043f6a28adfe3bc171 (diff)
Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into bertwesarg-ci-hwloc-job
Diffstat (limited to 'CRT.h')
-rw-r--r--CRT.h28
1 files changed, 26 insertions, 2 deletions
diff --git a/CRT.h b/CRT.h
index 80022f70..5fb2f09c 100644
--- a/CRT.h
+++ b/CRT.h
@@ -47,6 +47,19 @@ typedef enum TreeStr_ {
TREE_STR_COUNT
} TreeStr;
+typedef enum CheckStr_ {
+ CHECK_STR_NONE,
+ CHECK_STR_PARTIAL,
+ CHECK_STR_FULL,
+ CHECK_STR_COUNT
+} CheckStr;
+
+typedef enum CollapStr_ {
+ COLLAP_STR_OPEN,
+ COLLAP_STR_CLOSED,
+ COLLAP_STR_COUNT
+} CollapStr;
+
typedef enum ColorSchemes_ {
COLORSCHEME_DEFAULT = 0,
COLORSCHEME_MONOCHROME = 1,
@@ -101,7 +114,6 @@ typedef enum ColorElements_ {
LOAD_AVERAGE_FIFTEEN,
LOAD_AVERAGE_FIVE,
LOAD_AVERAGE_ONE,
- CHECK_BOX,
CHECK_MARK,
CHECK_TEXT,
CLOCK,
@@ -138,16 +150,28 @@ extern void CRT_handleSIGSEGV(int sgn);
extern const char *CRT_treeStrAscii[TREE_STR_COUNT];
+extern const char *CRT_checkStrAscii[CHECK_STR_COUNT];
+
+extern const char *CRT_collapStrAscii[COLLAP_STR_COUNT];
+
#ifdef HAVE_LIBNCURSESW
extern const char *CRT_treeStrUtf8[TREE_STR_COUNT];
-extern bool CRT_utf8;
+extern const char *CRT_checkStrUtf8[CHECK_STR_COUNT];
+
+extern const char *CRT_collapStrUtf8[COLLAP_STR_COUNT];
#endif
+extern bool CRT_utf8;
+
extern const char **CRT_treeStr;
+extern const char **CRT_checkStr;
+
+extern const char **CRT_collapStr;
+
extern int CRT_delay;
extern int* CRT_colors;

© 2014-2024 Faster IT GmbH | imprint | privacy policy