summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2023-08-29 13:03:09 +0200
committercgzones <cgzones@googlemail.com>2024-03-27 19:49:23 +0100
commitcbcfc5f7d08e210a3477071607a3195fa31f06a3 (patch)
treebda4950904fd66c6c0f0f26dda80d8eb7847446d /Process.h
parentb61685779cdf696ba4135a97ce66075c337c7562 (diff)
Introduce autoTitleRightAlign column flag
Instead of handling PERCENT_CPU as a special case for whether to align the title of a dynamically sized column to the right or the left introduce a new flag, which can be reused by other columns.
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Process.h b/Process.h
index 3903a407..6a80bc51 100644
--- a/Process.h
+++ b/Process.h
@@ -210,6 +210,9 @@ typedef struct ProcessFieldData_ {
/* Whether the column width is dynamically adjusted (the minimum width is determined by the title length) */
bool autoWidth;
+
+ /* Whether the title of a column with dynamically adjusted width is right aligned (default is left aligned) */
+ bool autoTitleRightAlign;
} ProcessFieldData;
#define LAST_PROCESSFIELD LAST_RESERVED_FIELD

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