diff options
Diffstat (limited to 'apps/gui/line.h')
-rw-r--r-- | apps/gui/line.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/gui/line.h b/apps/gui/line.h index 9a0769de35..c14f04d9a2 100644 --- a/apps/gui/line.h +++ b/apps/gui/line.h | |||
@@ -74,11 +74,14 @@ struct line_desc { | |||
74 | enum line_styles style; | 74 | enum line_styles style; |
75 | /* whether the line can scroll */ | 75 | /* whether the line can scroll */ |
76 | bool scroll; | 76 | bool scroll; |
77 | /* height of the line separator (in pixels). 0 to disable drawing | ||
78 | * of the separator */ | ||
79 | int8_t separator_height; | ||
77 | }; | 80 | }; |
78 | 81 | ||
79 | /* default initializer, can be used for static initialitation also. | 82 | /* default initializer, can be used for static initialitation also. |
80 | * This initializer will result in single lines without style that don't scroll */ | 83 | * This initializer will result in single lines without style that don't scroll */ |
81 | #define LINE_DESC_DEFINIT { .style = STYLE_DEFAULT, .height = -1, .line = 0, .nlines = 1, .scroll = false } | 84 | #define LINE_DESC_DEFINIT { .style = STYLE_DEFAULT, .height = -1, .separator_height = 0, .line = 0, .nlines = 1, .scroll = false } |
82 | 85 | ||
83 | /** | 86 | /** |
84 | * Print a line at a given pixel postion, using decoration information from | 87 | * Print a line at a given pixel postion, using decoration information from |