Cleanup and ui bar
This commit is contained in:
@@ -1,6 +1,19 @@
|
||||
#ifndef UI_BAR_H
|
||||
#define UI_BAR_H
|
||||
|
||||
#include "editor/editor.h"
|
||||
#include "io/sysio.h"
|
||||
#include "utils/utils.h"
|
||||
|
||||
struct Bar {
|
||||
Coord screen;
|
||||
std::string command = "";
|
||||
int cursor = 0;
|
||||
|
||||
Bar(Coord screen) : screen(screen) {}
|
||||
void render();
|
||||
void handle(KeyEvent event);
|
||||
void log(std::string message);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user