parse command input
This commit is contained in:
parent
9911031f98
commit
b7b8bd8b1e
7 changed files with 39 additions and 13 deletions
|
|
@ -31,7 +31,7 @@ void kubo_bar_render(struct kubo_context *context) {
|
|||
bar_text_x += 2 * KUBO_BAR_PADDING;
|
||||
|
||||
if (context->state.id == KUBO_CONTEXT_COMMAND) {
|
||||
kubo_command_render(context, bar_text_x, bar_y + (KUBO_BAR_PADDING / 2),
|
||||
kubo_command_bar_render(context, bar_text_x, bar_y + (KUBO_BAR_PADDING / 2),
|
||||
KUBO_BAR_HEIGHT - KUBO_BAR_PADDING);
|
||||
}
|
||||
}
|
||||
|
|
@ -45,4 +45,3 @@ static inline int push_text(int x, int y, const char *text, Color bg_color) {
|
|||
DrawText(text, x, y + (KUBO_BAR_PADDING / 2), font_size, WHITE);
|
||||
return x + text_width;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue