yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
tui.h
Go to the documentation of this file.
1#ifndef YAZE_CLI_TUI_H
2#define YAZE_CLI_TUI_H
3
4// FTXUI is not available on WASM builds
5#ifndef __EMSCRIPTEN__
6
7#include <ftxui/component/component.hpp>
8#include <ftxui/dom/elements.hpp>
9#include <ftxui/screen/screen.hpp>
10#include <string>
11#include <vector>
12
13#include "rom/rom.h"
14
15namespace yaze {
20namespace cli {
21const std::vector<std::string> kMainMenuEntries = {
22 "๐ŸŽฎ Load ROM / Quick Start",
23 "๐Ÿค– AI Agent Chat",
24 "๐Ÿ“ TODO Manager",
25 "๐Ÿ”ง ROM Tools",
26 "๐ŸŽจ Graphics & Palettes",
27 "๐Ÿงช Testing & Validation",
28 "โš™๏ธ Settings",
29 "โ“ Help & Documentation",
30 "๐Ÿšช Exit",
31};
32
44
67
75
76static Context app_context;
77
78void ShowMain();
79
80} // namespace cli
81} // namespace yaze
82
83#endif // __EMSCRIPTEN__
84
85#endif // YAZE_CLI_TUI_H
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
Definition rom.h:24
const std::vector< std::string > kMainMenuEntries
Definition tui.h:21
MainMenuEntry
Definition tui.h:33
void ShowMain()
Definition tui.cc:970
LayoutID
Definition tui.h:45
std::string error_message
Definition tui.h:71
bool use_autocomplete
Definition tui.h:72
LayoutID current_layout
Definition tui.h:70
bool show_suggestions
Definition tui.h:73