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

Ignore:
Timestamp:
2021-02-26T16:23:36Z (9 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
77ffa01
Parents:
fe40b67
Message:

Puttext needs to know the color of the text being printed

So far we were using the GC's current drawing color. But unless there
was a way to read it, we could not render text-mode text in the correct
color.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfxfont/include/types/gfx/text.h

    rfe40b67 rb433f68  
    3838
    3939#include <types/gfx/coord.h>
     40#include <types/gfx/color.h>
    4041
    4142/** Text horizontal alignment */
     
    6566/** Text formatting */
    6667typedef struct {
     68        /** Text color */
     69        gfx_color_t *color;
    6770        /** Horizontal alignment */
    6871        gfx_halign_t halign;
Note: See TracChangeset for help on using the changeset viewer.