You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
339 B
23 lines
339 B
#include <cairo.h>
|
|
#include <cairo-ft.h>
|
|
#include <stdbool.h>
|
|
|
|
#define VERIF_FONT 0
|
|
#define WRONG_FONT 1
|
|
#define LAYOUT_FONT 2
|
|
#define TIME_FONT 3
|
|
#define DATE_FONT 4
|
|
|
|
typedef struct text {
|
|
bool show;
|
|
|
|
char str[40];
|
|
double size;
|
|
|
|
cairo_font_face_t *font;
|
|
|
|
rgba_t color;
|
|
double x, y;
|
|
|
|
int align;
|
|
} text_t;
|
|
|