summaryrefslogtreecommitdiff
path: root/shell/menu/font_drawing.h
blob: e18ea04132d0a9ecfeda3f3959b4bd4dcd5e5fc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef FONT_DRAWING_H
#define FONT_DRAWING_H

#include <stdint.h>
#include <string.h>

#define TextWhite 65535
#define TextRed ((255>>3)<<11) + ((0>>2)<<5) + (0>>3)
#define TextBlue ((0>>3)<<11) + ((0>>2)<<5) + (255>>3)

void print_string(const char *s, const uint16_t fg_color, const uint16_t bg_color, uint32_t x, uint32_t y, uint16_t* restrict buffer);

#endif