From 8d93aab062739072680bcd5c04df38572c2bf84a Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 25 Jun 2019 15:35:50 +0200 Subject: [PATCH] gg: update colors --- gg/gg.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gg/gg.v b/gg/gg.v index ccd9d6f21b..32f7a7a57d 100644 --- a/gg/gg.v +++ b/gg/gg.v @@ -566,7 +566,7 @@ fn (ctx &GG) _draw_text(_x, _y int, utext ustring, cfg gx.TextCfg) { fn (ctx &GG) draw_text_def(x, y int, text string) { cfg := gx.TextCfg { - color: gx.BLACK, + color: gx.Black, size: DEFAULT_FONT_SIZE, align: gx.ALIGN_LEFT, } @@ -666,7 +666,7 @@ pub fn (ctx &GG) draw_line_c(x, y, x2, y2 int, color gx.Color) { } pub fn (c &GG) draw_line(x, y, x2, y2 int) { - c.draw_line_c(x, y, x2, y2, gx.GRAY) + c.draw_line_c(x, y, x2, y2, gx.Gray) } pub fn (c &GG) draw_vertical(x, y, height int) {