core: change types from uint32_t to u32 (e.g)

This commit is contained in:
2025-01-27 11:26:15 +01:00
parent 95fec015f2
commit d7626df19c
51 changed files with 422 additions and 374 deletions

View File

@ -1,17 +1,18 @@
#pragma once
#include "icon.h"
#include "types.h"
#include <stdint.h>
struct vbe_interface {
uint32_t *buff;
uint16_t height;
uint16_t width;
uint32_t pitch;
uint8_t bpp;
u32 *buff;
u16 height;
u16 width;
u32 pitch;
u8 bpp;
};
extern struct vbe_interface display;
void draw_icon(uint32_t pos_x, uint32_t pos_y, struct icon *img);
void put_pixel(uint32_t color, uint32_t x, uint32_t y);
void draw_icon(u32 pos_x, u32 pos_y, struct icon *img);
void put_pixel(u32 color, u32 x, u32 y);