0564ab5a2ab47399bdbaafa8ed7148c1c6948b3b
1 #pragma once
3 #include "color.h"
5 namespace kms
6 {
7 class MappedBuffer;
8 class DumbFramebuffer;
10 void draw_color_bar(kms::DumbFramebuffer& buf, int old_xpos, int xpos, int width);
12 void draw_test_pattern(MappedBuffer& fb);
13 void draw_test_pattern(DumbFramebuffer &fb);
15 void draw_rect(MappedBuffer &fb, uint32_t x, uint32_t y, uint32_t w, uint32_t h, RGB color);
16 void draw_rect(DumbFramebuffer &fb, uint32_t x, uint32_t y, uint32_t w, uint32_t h, RGB color);
17 }