separate command handling
This commit is contained in:
parent
90db87bec9
commit
0be3768867
11 changed files with 143 additions and 52 deletions
|
|
@ -18,9 +18,8 @@
|
|||
|
||||
#include "kubo_command_bar.h"
|
||||
|
||||
void kubo_command_bar_render(struct kubo_context *context, int x, int y,
|
||||
int font_size) {
|
||||
char *cmd = kubo_char_arr_build_str(&context->command);
|
||||
void kubo_command_bar_render(int x, int y, int font_size) {
|
||||
char *cmd = kubo_command_get_str();
|
||||
DrawText(cmd, x, y, font_size, WHITE);
|
||||
|
||||
x += MeasureText(cmd, font_size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue