Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2021-08-30T20:41:27Z (7 weeks ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
81ec7e1
Parents:
9b2e20c
Message:

Make use of code page 437 characters

To draw proper text boxes, for a nice round radio button light,
for a nice contiguous slider groove.

File:
1 edited

Legend:

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

    r9b2e20c rff6e91b  
    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/** Box style */
     69typedef enum {
     70        /** Single box */
     71        ui_box_single,
     72        /** Double box */
     73        ui_box_double
     74} ui_box_style_t;
     75
    5176#endif
    5277
Note: See TracChangeset for help on using the changeset viewer.