Added current color rect to color pick ui

main
noah metz 2024-11-12 23:10:51 -07:00
parent 97b776e6f0
commit 409645621c
1 changed files with 10 additions and 0 deletions

@ -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},