Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/types/ui/paint.h

    r7020d1f r81ec7e1  
    4949} ui_fcircle_part_t;
    5050
     51/** Box characters for a particular box style.
     52 *
     53 * The first coordinate selects top, center, bottom,
     54 * the second coordinate selects left, center, right.
     55 * The top/bottom, left/right characters correpsond to corners,
     56 * the characters with one center coordinate correspond to edges:
     57 *
     58 *    0   1   2
     59 * 0 '+' '-' '+'
     60 * 1 ' |' ' ' '|'
     61 * 2 '+' '-' '+'
     62 *
     63 */
     64typedef struct {
     65        const char *c[3][3];
     66} ui_box_chars_t;
     67
     68/** Horizontal brace characters for a particular box style. */
     69typedef struct {
     70        const char *start;
     71        const char *middle;
     72        const char *end;
     73} ui_brace_chars_t;
     74
     75/** Box style */
     76typedef enum {
     77        /** Single box */
     78        ui_box_single,
     79        /** Double box */
     80        ui_box_double
     81} ui_box_style_t;
     82
    5183#endif
    5284
Note: See TracChangeset for help on using the changeset viewer.