|
|
@ -117,96 +117,97 @@ VkResult color_ui(ClientContext* context) {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {0, 0},
|
|
|
|
.pos = {0, 0},
|
|
|
|
.size = {190, 150},
|
|
|
|
.size = {190, 150},
|
|
|
|
.color = {0.4, 0.4, 0.4, 0.4},
|
|
|
|
.color = {{0.4, 0.4, 0.4, 0.4}, {0.4, 0.4, 0.4, 0.4}, {0.4, 0.4, 0.4, 0.4}, {0.4, 0.4, 0.4, 0.4}},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
.type = 0x03,
|
|
|
|
.pos = {2, 2},
|
|
|
|
.pos = {2, 2},
|
|
|
|
.size = {130, 130},
|
|
|
|
.size = {130, 130},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{0, 0, 1, 1}, {0, 1, 1, 1}, {0, 0, 0, 1}, {0, 1, 0, 1}},
|
|
|
|
.id = 0x01,
|
|
|
|
.id = 0x01,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
.type = 0x03,
|
|
|
|
.pos = {134, 2},
|
|
|
|
.pos = {134, 2},
|
|
|
|
.size = {10, 130},
|
|
|
|
.size = {10, 130},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{0, 1, 1, 1}, {0, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x02,
|
|
|
|
.id = 0x02,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {20, 134},
|
|
|
|
.pos = {20, 134},
|
|
|
|
.size = {95, 15},
|
|
|
|
.size = {95, 15},
|
|
|
|
.color = {0, 0, 1, 0},
|
|
|
|
|
|
|
|
.id = 0x03,
|
|
|
|
.id = 0x03,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {146, 2},
|
|
|
|
.pos = {146, 2},
|
|
|
|
.size = {20, 20},
|
|
|
|
.size = {20, 20},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x04,
|
|
|
|
.id = 0x04,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {168, 2},
|
|
|
|
.pos = {168, 2},
|
|
|
|
.size = {20, 20},
|
|
|
|
.size = {20, 20},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x05,
|
|
|
|
.id = 0x05,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {146, 24},
|
|
|
|
.pos = {146, 24},
|
|
|
|
.size = {20, 20},
|
|
|
|
.size = {20, 20},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x06,
|
|
|
|
.id = 0x06,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {168, 24},
|
|
|
|
.pos = {168, 24},
|
|
|
|
.size = {20, 20},
|
|
|
|
.size = {20, 20},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x07,
|
|
|
|
.id = 0x07,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {146, 46},
|
|
|
|
.pos = {146, 46},
|
|
|
|
.size = {20, 20},
|
|
|
|
.size = {20, 20},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x08,
|
|
|
|
.id = 0x08,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {168, 46},
|
|
|
|
.pos = {168, 46},
|
|
|
|
.size = {20, 20},
|
|
|
|
.size = {20, 20},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x09,
|
|
|
|
.id = 0x09,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {146, 68},
|
|
|
|
.pos = {146, 68},
|
|
|
|
.size = {20, 20},
|
|
|
|
.size = {20, 20},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x0A,
|
|
|
|
.id = 0x0A,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {168, 68},
|
|
|
|
.pos = {168, 68},
|
|
|
|
.size = {20, 20},
|
|
|
|
.size = {20, 20},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x0B,
|
|
|
|
.id = 0x0B,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {146, 90},
|
|
|
|
.pos = {146, 90},
|
|
|
|
.size = {20, 20},
|
|
|
|
.size = {20, 20},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x0C,
|
|
|
|
.id = 0x0C,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {168, 90},
|
|
|
|
.pos = {168, 90},
|
|
|
|
.size = {20, 20},
|
|
|
|
.size = {20, 20},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x0D,
|
|
|
|
.id = 0x0D,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {146, 112},
|
|
|
|
.pos = {146, 112},
|
|
|
|
.size = {20, 20},
|
|
|
|
.size = {20, 20},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x0E,
|
|
|
|
.id = 0x0E,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {168, 112},
|
|
|
|
.pos = {168, 112},
|
|
|
|
.size = {20, 20},
|
|
|
|
.size = {20, 20},
|
|
|
|
.color = {1, 1, 1, 1},
|
|
|
|
.color = {{1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
|
|
|
.id = 0x0F,
|
|
|
|
.id = 0x0F,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -309,7 +310,7 @@ VkResult hex_info_ui(ClientContext* context) {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {0, 0},
|
|
|
|
.pos = {0, 0},
|
|
|
|
.size = {150, 175},
|
|
|
|
.size = {150, 175},
|
|
|
|
.color = {0.4, 0.4, 0.4, 0.4},
|
|
|
|
.color = {{0.4, 0.4, 0.4, 0.4}, {0.4, 0.4, 0.4, 0.4}, {0.4, 0.4, 0.4, 0.4}, {0.4, 0.4, 0.4, 0.4}},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -375,7 +376,7 @@ VkResult region_info_ui(ClientContext* context) {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
.pos = {0, 0},
|
|
|
|
.pos = {0, 0},
|
|
|
|
.size = {225, 155},
|
|
|
|
.size = {225, 155},
|
|
|
|
.color = {0.4, 0.4, 0.4, 0.4},
|
|
|
|
.color = {{0.4, 0.4, 0.4, 0.4}, {0.4, 0.4, 0.4, 0.4}, {0.4, 0.4, 0.4, 0.4}, {0.4, 0.4, 0.4, 0.4}},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|