From 8277c976a87e9c6ca46ea12daa649414b6e4fa51 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sun, 7 Jun 2020 15:20:32 +0200 Subject: [PATCH] gg: draw_image,draw_rounded_rect placeholder fns --- vlib/gg/gg.v | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vlib/gg/gg.v b/vlib/gg/gg.v index dd0fbbfc53..cb0a0ebdf4 100644 --- a/vlib/gg/gg.v +++ b/vlib/gg/gg.v @@ -249,6 +249,14 @@ pub fn (ctx &Context) draw_line(x, y, x2, y2 f32, c gx.Color) { sgl.end() } +pub fn (ctx &Context) draw_image(x, y, width, height f32, image u32) { +} + +pub fn (ctx &Context) draw_rounded_rect(x, y, width, height, radius f32, color gx.Color) { + } +pub fn (ctx &Context) draw_empty_rounded_rect(x, y, width, height, radius f32, border_color gx.Color) { +} + fn C.WaitMessage()