bar styling, state color

This commit is contained in:
Luka Jankovic 2025-06-24 23:26:14 +02:00
parent 10d243055d
commit b2a5ede334
4 changed files with 14 additions and 3 deletions

View file

@ -57,6 +57,10 @@ const char *kubo_context_get_label(enum kubo_context_state state) {
return kubo_context_labels[state];
}
Color kubo_context_get_color(enum kubo_context_state state) {
return kubo_context_colors[state];
}
struct kubo_wall *kubo_context_get_pending_wall(struct kubo_context *context) {
if (context->state != KUBO_CONTEXT_WALL_NEW) {