28 lines
445 B
C++
28 lines
445 B
C++
#ifndef YAZE_CLI_TUI_H
|
|
#define YAZE_CLI_TUI_H
|
|
|
|
#include <ftxui/component/component.hpp>
|
|
#include <ftxui/dom/elements.hpp>
|
|
#include <ftxui/screen/screen.hpp>
|
|
|
|
#include "app/rom.h"
|
|
|
|
namespace yaze {
|
|
namespace cli {
|
|
|
|
struct Context {
|
|
bool is_loaded = false;
|
|
|
|
ftxui::Component layout;
|
|
ftxui::Component main_component;
|
|
};
|
|
|
|
void ShowMain();
|
|
|
|
void DrawPaletteEditor(Rom *rom);
|
|
|
|
} // namespace cli
|
|
} // namespace yaze
|
|
|
|
#endif // YAZE_CLI_TUI_H
|