Changes in uspace/lib/gfxfont/include/types/gfx/text.h [a130983:400a16d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfxfont/include/types/gfx/text.h
ra130983 r400a16d 1 1 /* 2 * Copyright (c) 202 2Jiri Svoboda2 * Copyright (c) 2020 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 37 37 #define _TYPES_GFX_TEXT_H 38 38 39 #include <stdbool.h>40 39 #include <types/gfx/coord.h> 41 40 #include <types/gfx/color.h> … … 67 66 /** Text formatting */ 68 67 typedef struct { 69 /** Text font */70 struct gfx_font *font;71 68 /** Text color */ 72 69 gfx_color_t *color; 73 70 /** Horizontal alignment */ 74 71 gfx_halign_t halign; 75 /** Width available for the text*/76 gfx_coord_t width;72 /** Justification width (for gfx_halign_justify) */ 73 gfx_coord_t justify_width; 77 74 /** Vertical alignment */ 78 75 gfx_valign_t valign; 79 /** Abbreviate the text with ellipsis if it does not fit @c width */80 bool abbreviate;81 /** Underline */82 bool underline;83 76 } gfx_text_fmt_t; 84 77
Note:
See TracChangeset
for help on using the changeset viewer.