summaryrefslogtreecommitdiff
path: root/libkmstest/kmstest.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-03-08 15:27:27 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-03-08 15:42:47 +0200
commita41cbe24c45975aab44389e7e894582ee2622806 (patch)
tree2a12638e08a0f64b1714e7792f2cacb07f0b4c81 /libkmstest/kmstest.h
parent3f0a0230676d9d38ec677f88143222ffd70a9f7d (diff)
libkmstest: color & draw_rect
Diffstat (limited to 'libkmstest/kmstest.h')
-rw-r--r--libkmstest/kmstest.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libkmstest/kmstest.h b/libkmstest/kmstest.h
index 0482072..0564ab5 100644
--- a/libkmstest/kmstest.h
+++ b/libkmstest/kmstest.h
@@ -1,5 +1,7 @@
#pragma once
+#include "color.h"
+
namespace kms
{
class MappedBuffer;
@@ -9,4 +11,7 @@ void draw_color_bar(kms::DumbFramebuffer& buf, int old_xpos, int xpos, int width
void draw_test_pattern(MappedBuffer& fb);
void draw_test_pattern(DumbFramebuffer &fb);
+
+void draw_rect(MappedBuffer &fb, uint32_t x, uint32_t y, uint32_t w, uint32_t h, RGB color);
+void draw_rect(DumbFramebuffer &fb, uint32_t x, uint32_t y, uint32_t w, uint32_t h, RGB color);
}