Changes in uspace/lib/gfxfont/include/types/gfx/text.h [400a16d:a130983] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfxfont/include/types/gfx/text.h
r400a16d ra130983 1 1 /* 2 * Copyright (c) 202 0Jiri Svoboda2 * Copyright (c) 2022 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 37 37 #define _TYPES_GFX_TEXT_H 38 38 39 #include <stdbool.h> 39 40 #include <types/gfx/coord.h> 40 41 #include <types/gfx/color.h> … … 66 67 /** Text formatting */ 67 68 typedef struct { 69 /** Text font */ 70 struct gfx_font *font; 68 71 /** Text color */ 69 72 gfx_color_t *color; 70 73 /** Horizontal alignment */ 71 74 gfx_halign_t halign; 72 /** Justification width (for gfx_halign_justify)*/73 gfx_coord_t justify_width;75 /** Width available for the text */ 76 gfx_coord_t width; 74 77 /** Vertical alignment */ 75 78 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; 76 83 } gfx_text_fmt_t; 77 84
Note:
See TracChangeset
for help on using the changeset viewer.