2024-12-03 07:29:36 -05:00
|
|
|
#pragma once
|
|
|
|
|
2024-12-11 14:54:03 -05:00
|
|
|
#include "icon.h"
|
2025-01-27 05:26:15 -05:00
|
|
|
#include "types.h"
|
2024-12-03 07:29:36 -05:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
struct vbe_interface {
|
2025-01-27 05:26:15 -05:00
|
|
|
u32 *buff;
|
|
|
|
u16 height;
|
|
|
|
u16 width;
|
|
|
|
u32 pitch;
|
|
|
|
u8 bpp;
|
2024-12-03 07:29:36 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
extern struct vbe_interface display;
|
2024-12-11 14:54:03 -05:00
|
|
|
|
2025-01-27 05:26:15 -05:00
|
|
|
void draw_icon(u32 pos_x, u32 pos_y, struct icon *img);
|
|
|
|
void put_pixel(u32 color, u32 x, u32 y);
|