19 lines
292 B
C
19 lines
292 B
C
#pragma once
|
|
|
|
#include "icon.h"
|
|
#include "types.h"
|
|
#include <stdint.h>
|
|
|
|
struct vbe_interface {
|
|
u32 *buff;
|
|
u16 height;
|
|
u16 width;
|
|
u32 pitch;
|
|
u8 bpp;
|
|
};
|
|
|
|
extern struct vbe_interface display;
|
|
|
|
void draw_icon(u32 pos_x, u32 pos_y, struct icon *img);
|
|
void put_pixel(u32 color, u32 x, u32 y);
|