2024-12-03 07:29:36 -05:00
|
|
|
#pragma once
|
|
|
|
|
2024-12-11 14:54:03 -05:00
|
|
|
#include "icon.h"
|
2024-12-03 07:29:36 -05:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
struct vbe_interface {
|
|
|
|
uint32_t *buff;
|
|
|
|
uint16_t height;
|
|
|
|
uint16_t width;
|
2024-12-06 08:25:03 -05:00
|
|
|
uint32_t pitch;
|
2024-12-03 07:29:36 -05:00
|
|
|
uint8_t bpp;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern struct vbe_interface display;
|
2024-12-11 14:54:03 -05:00
|
|
|
|
|
|
|
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);
|