bar styling, state color
This commit is contained in:
parent
10d243055d
commit
b2a5ede334
4 changed files with 14 additions and 3 deletions
|
|
@ -35,6 +35,8 @@ enum kubo_context_state {
|
|||
|
||||
static const char *kubo_context_labels[] = {"Wall New", "Wall Select"};
|
||||
|
||||
static const Color kubo_context_colors[] = {BLACK, BLUE};
|
||||
|
||||
struct kubo_context {
|
||||
bool exit_pending;
|
||||
struct kubo_wall_arr walls;
|
||||
|
|
@ -50,6 +52,7 @@ void kubo_context_cleanup(struct kubo_context *context);
|
|||
void kubo_context_set_state(struct kubo_context *context,
|
||||
enum kubo_context_state state);
|
||||
const char *kubo_context_get_label(enum kubo_context_state state);
|
||||
Color kubo_context_get_color(enum kubo_context_state state);
|
||||
|
||||
struct kubo_wall *kubo_context_get_pending_wall(struct kubo_context *context);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue