yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::anonymous_namespace{tui.cc} Namespace Reference

Functions

void SwitchComponents (ftxui::ScreenInteractive &screen, LayoutID layout)
 
bool HandleInput (ftxui::ScreenInteractive &screen, ftxui::Event &event, int &selected)
 
void ReturnIfRomNotLoaded (ftxui::ScreenInteractive &screen)
 
void ApplyBpsPatchComponent (ftxui::ScreenInteractive &screen)
 
void GenerateSaveFileComponent (ftxui::ScreenInteractive &screen)
 
void TodoManagerComponent (ftxui::ScreenInteractive &screen)
 
void ApplyAsarPatchComponent (ftxui::ScreenInteractive &screen)
 
void PaletteEditorComponent (ftxui::ScreenInteractive &screen)
 
void ExtractSymbolsComponent (ftxui::ScreenInteractive &screen)
 
void ValidateAssemblyComponent (ftxui::ScreenInteractive &screen)
 
void LoadRomComponent (ftxui::ScreenInteractive &screen)
 
Element ColorBox (const Color &color)
 
void HelpComponent (ftxui::ScreenInteractive &screen)
 
void DashboardComponent (ftxui::ScreenInteractive &screen)
 
void MainMenuComponent (ftxui::ScreenInteractive &screen)
 

Function Documentation

◆ SwitchComponents()

void yaze::cli::anonymous_namespace{tui.cc}::SwitchComponents ( ftxui::ScreenInteractive &  screen,
LayoutID  layout 
)

◆ HandleInput()

bool yaze::cli::anonymous_namespace{tui.cc}::HandleInput ( ftxui::ScreenInteractive &  screen,
ftxui::Event &  event,
int &  selected 
)

Definition at line 34 of file tui.cc.

References HandleInput(), yaze::cli::kExit, and SwitchComponents().

Referenced by HandleInput(), and MainMenuComponent().

Here is the call graph for this function:

◆ ReturnIfRomNotLoaded()

void yaze::cli::anonymous_namespace{tui.cc}::ReturnIfRomNotLoaded ( ftxui::ScreenInteractive &  screen)

Definition at line 51 of file tui.cc.

References yaze::cli::kError, ReturnIfRomNotLoaded(), and SwitchComponents().

Referenced by ApplyAsarPatchComponent(), PaletteEditorComponent(), and ReturnIfRomNotLoaded().

Here is the call graph for this function:

◆ ApplyBpsPatchComponent()

void yaze::cli::anonymous_namespace{tui.cc}::ApplyBpsPatchComponent ( ftxui::ScreenInteractive &  screen)

Definition at line 58 of file tui.cc.

References yaze::util::ApplyBpsPatch(), ApplyBpsPatchComponent(), yaze::cli::kError, yaze::cli::kMainMenu, yaze::util::LoadFile(), and SwitchComponents().

Referenced by ApplyBpsPatchComponent().

Here is the call graph for this function:

◆ GenerateSaveFileComponent()

void yaze::cli::anonymous_namespace{tui.cc}::GenerateSaveFileComponent ( ftxui::ScreenInteractive &  screen)

Definition at line 133 of file tui.cc.

References GenerateSaveFileComponent(), yaze::cli::kMainMenu, and SwitchComponents().

Referenced by GenerateSaveFileComponent().

Here is the call graph for this function:

◆ TodoManagerComponent()

void yaze::cli::anonymous_namespace{tui.cc}::TodoManagerComponent ( ftxui::ScreenInteractive &  screen)

◆ ApplyAsarPatchComponent()

void yaze::cli::anonymous_namespace{tui.cc}::ApplyAsarPatchComponent ( ftxui::ScreenInteractive &  screen)
Todo:
Use new CommandHandler system for AsarPatch

Definition at line 314 of file tui.cc.

References ApplyAsarPatchComponent(), yaze::cli::kMainMenu, ReturnIfRomNotLoaded(), and SwitchComponents().

Referenced by ApplyAsarPatchComponent().

Here is the call graph for this function:

◆ PaletteEditorComponent()

void yaze::cli::anonymous_namespace{tui.cc}::PaletteEditorComponent ( ftxui::ScreenInteractive &  screen)

Definition at line 376 of file tui.cc.

References yaze::cli::kMainMenu, ReturnIfRomNotLoaded(), and SwitchComponents().

Here is the call graph for this function:

◆ ExtractSymbolsComponent()

void yaze::cli::anonymous_namespace{tui.cc}::ExtractSymbolsComponent ( ftxui::ScreenInteractive &  screen)

Definition at line 396 of file tui.cc.

References ExtractSymbolsComponent(), yaze::cli::kError, and SwitchComponents().

Referenced by ExtractSymbolsComponent().

Here is the call graph for this function:

◆ ValidateAssemblyComponent()

void yaze::cli::anonymous_namespace{tui.cc}::ValidateAssemblyComponent ( ftxui::ScreenInteractive &  screen)

Definition at line 489 of file tui.cc.

References SwitchComponents(), and ValidateAssemblyComponent().

Referenced by ValidateAssemblyComponent().

Here is the call graph for this function:

◆ LoadRomComponent()

void yaze::cli::anonymous_namespace{tui.cc}::LoadRomComponent ( ftxui::ScreenInteractive &  screen)
Todo:
Implement file dialog

Definition at line 562 of file tui.cc.

References LoadRomComponent(), and SwitchComponents().

Referenced by LoadRomComponent().

Here is the call graph for this function:

◆ ColorBox()

Element yaze::cli::anonymous_namespace{tui.cc}::ColorBox ( const Color &  color)

Definition at line 613 of file tui.cc.

References ColorBox().

Referenced by ColorBox().

Here is the call graph for this function:

◆ HelpComponent()

void yaze::cli::anonymous_namespace{tui.cc}::HelpComponent ( ftxui::ScreenInteractive &  screen)

Definition at line 619 of file tui.cc.

References HelpComponent(), and SwitchComponents().

Referenced by HelpComponent().

Here is the call graph for this function:

◆ DashboardComponent()

void yaze::cli::anonymous_namespace{tui.cc}::DashboardComponent ( ftxui::ScreenInteractive &  screen)

Definition at line 761 of file tui.cc.

References DashboardComponent(), yaze::cli::GetColoredLogo(), yaze::cli::kMainMenuEntries, and SwitchComponents().

Referenced by DashboardComponent().

Here is the call graph for this function:

◆ MainMenuComponent()

void yaze::cli::anonymous_namespace{tui.cc}::MainMenuComponent ( ftxui::ScreenInteractive &  screen)

Definition at line 822 of file tui.cc.

References HandleInput(), yaze::cli::kMainMenuEntries, MainMenuComponent(), and SwitchComponents().

Referenced by MainMenuComponent().

Here is the call graph for this function: