12345678910111213141516171819202122232425262728293031323334 |
- #pragma once
- #define PAD_ZERO 1
- #define LEFT 2
- #define RIGHT 4
- #define PLUS 8
- #define SPACE 16
- #define SPECIAL 32
- #define is_digit(c) ((c) >= '0' && (c) <= '9')
- #include "font.h"
- #include "glib.h"
- #include <stdarg.h>
- struct screen_info
- {
- int width, height;
- int x, y;
- int char_size_x, char_size_y;
- unsigned int *FB_address;
- unsigned long FB_length;
- } pos;
- extern unsigned char font_ascii[256][16];
- char buf[4096];
|