From 409645621c5cee421f8750161b5dca8f25541b94 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Tue, 12 Nov 2024 23:10:51 -0700 Subject: [PATCH] Added current color rect to color pick ui --- client/src/main.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/client/src/main.c b/client/src/main.c index e606a35..9d5d266 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -182,6 +182,16 @@ VkResult color_ui(ClientContext* context) { .color = {{0, 1, 1, 1}, {0, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}}, .events = UI_EVENT_BUTTON | UI_EVENT_SCROLL, }, + { + .pos = {9, 9}, + .size = {7, 7}, + .color = {{0, 0, 0, 1}, {0, 0, 0, 1}, {0, 0, 0, 1}, {0, 0, 0, 1}}, + }, + { + .pos = {10, 10}, + .size = {5, 5}, + .color = {{1, 0, 0, 1}, {1, 0, 0, 1}, {1, 0, 0, 1}, {1, 0, 0, 1}}, + }, { .pos = {20, 134}, .size = {95, 15},