| 3483 | } |
| 3484 | |
| 3485 | void Clay__RenderDebugViewColor(Clay_Color color, Clay_TextElementConfig textConfig) { |
| 3486 | CLAY_AUTO_ID({ .layout = { .childAlignment = {.y = CLAY_ALIGN_Y_CENTER} } }) { |
| 3487 | CLAY_TEXT(CLAY_STRING("{ r: "), textConfig); |
| 3488 | CLAY_TEXT(Clay__IntToString(color.r), textConfig); |
| 3489 | CLAY_TEXT(CLAY_STRING(", g: "), textConfig); |
| 3490 | CLAY_TEXT(Clay__IntToString(color.g), textConfig); |
| 3491 | CLAY_TEXT(CLAY_STRING(", b: "), textConfig); |
| 3492 | CLAY_TEXT(Clay__IntToString(color.b), textConfig); |
| 3493 | CLAY_TEXT(CLAY_STRING(", a: "), textConfig); |
| 3494 | CLAY_TEXT(Clay__IntToString(color.a), textConfig); |
| 3495 | CLAY_TEXT(CLAY_STRING(" }"), textConfig); |
| 3496 | CLAY_AUTO_ID({ .layout = { .sizing = { .width = CLAY_SIZING_FIXED(10) } } }) {} |
| 3497 | CLAY_AUTO_ID({ .layout = { .sizing = { CLAY_SIZING_FIXED(CLAY__DEBUGVIEW_ROW_HEIGHT - 8), CLAY_SIZING_FIXED(CLAY__DEBUGVIEW_ROW_HEIGHT - 8)} }, .backgroundColor = color, .cornerRadius = CLAY_CORNER_RADIUS(4), .border = { .color = CLAY__DEBUGVIEW_COLOR_4, .width = { 1, 1, 1, 1, 0 } } }) {} |
| 3498 | } |
| 3499 | } |
| 3500 | |
| 3501 | void Clay__RenderDebugViewCornerRadius(Clay_CornerRadius cornerRadius, Clay_TextElementConfig textConfig) { |
| 3502 | CLAY_AUTO_ID({ .layout = { .childAlignment = {.y = CLAY_ALIGN_Y_CENTER} } }) { |
no test coverage detected