core: remove bozo typedef for types
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
#include "font.h"
|
||||
#include "icon.h"
|
||||
#include "keyboard.h"
|
||||
#include "types.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
@ -19,10 +19,10 @@
|
||||
struct screen {
|
||||
size_t row;
|
||||
size_t column;
|
||||
u32 fg_color;
|
||||
u32 bg_color;
|
||||
u8 buffer[VGA_WIDTH * VGA_HEIGHT];
|
||||
u32 default_color;
|
||||
uint32_t fg_color;
|
||||
uint32_t bg_color;
|
||||
uint8_t buffer[VGA_WIDTH * VGA_HEIGHT];
|
||||
uint32_t default_color;
|
||||
struct icon *background;
|
||||
struct font *font;
|
||||
char line[256];
|
||||
@ -50,8 +50,8 @@ typedef enum {
|
||||
enum cursor_direction { LEFT, RIGHT, UP, DOWN };
|
||||
|
||||
void terminal_initialize(void);
|
||||
void terminal_set_bg_color(u32 color);
|
||||
void terminal_set_fg_color(u32 color);
|
||||
void terminal_set_bg_color(uint32_t color);
|
||||
void terminal_set_fg_color(uint32_t color);
|
||||
int terminal_putchar(char c);
|
||||
int terminal_write(const char *data, size_t size);
|
||||
int terminal_writestring(const char *data);
|
||||
@ -63,9 +63,9 @@ struct key_event terminal_getkey(void);
|
||||
void update_cursor(void);
|
||||
void move_cursor(int direction);
|
||||
void set_color_level(int level);
|
||||
void terminal_set_default_fg_color(u32 fg_color);
|
||||
void terminal_set_default_bg_color(u32 fg_color);
|
||||
void terminal_change_default_fg_color(u32 color);
|
||||
u32 terminal_get_default_color(void);
|
||||
u8 terminal_get_char(int column, int row);
|
||||
void terminal_set_default_fg_color(uint32_t fg_color);
|
||||
void terminal_set_default_bg_color(uint32_t fg_color);
|
||||
void terminal_change_default_fg_color(uint32_t color);
|
||||
uint32_t terminal_get_default_color(void);
|
||||
uint8_t terminal_get_char(int column, int row);
|
||||
void terminal_remove_last_char(void);
|
||||
|
Reference in New Issue
Block a user