diff options
author | Marvin Borner | 2020-08-15 18:02:49 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-15 18:02:49 +0200 |
commit | 9a827eb5f6ff58bf801bc98bcb653876428ebe69 (patch) | |
tree | 6fd75fd29a2bd55fd4e1ebb7271176abb3936115 /libgui/inc/vesa.h | |
parent | 9f16b032d38613ca95e321e1d1e652c43129c68b (diff) |
Removed vesa from kernel
Diffstat (limited to 'libgui/inc/vesa.h')
-rw-r--r-- | libgui/inc/vesa.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/libgui/inc/vesa.h b/libgui/inc/vesa.h index e34cdc0..bd758a5 100644 --- a/libgui/inc/vesa.h +++ b/libgui/inc/vesa.h @@ -37,21 +37,14 @@ struct vbe { u8 reserved_position; u8 direct_color_attributes; - u32 framebuffer; + u8 *fb; u32 off_screen_mem_off; u16 off_screen_mem_size; u8 reserved1[206]; }; -struct vbe *vbe; -int vbe_width; -int vbe_height; -int vbe_bpl; -int vbe_pitch; -u8 *fb; - -void vesa_fill(const u32 color[3]); -void vesa_set_pixel(u16 x, u16 y, const u32 color[3]); -void vesa_init(struct vbe *info); +void vesa_draw_rectangle(struct vbe *vbe, int x1, int y1, int x2, int y2, const u32 color[3]); +void vesa_fill(struct vbe *vbe, const u32 color[3]); +void vesa_set_pixel(struct vbe *vbe, u16 x, u16 y, const u32 color[3]); #endif |