yaze 0.2.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 LoadRomComponent (ftxui::ScreenInteractive &screen)
 
Element ColorBox (const Color &color)
 
void PaletteEditorComponent (ftxui::ScreenInteractive &screen)
 
void HelpComponent (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 26 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 43 of file tui.cc.

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

Referenced by 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 50 of file tui.cc.

References yaze::util::ApplyBpsPatch(), ApplyBpsPatchComponent(), yaze::cli::kError, yaze::cli::kMainMenu, yaze::core::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 125 of file tui.cc.

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

Referenced by GenerateSaveFileComponent().

Here is the call graph for this function:

◆ LoadRomComponent()

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

Definition at line 221 of file tui.cc.

References yaze::cli::kError, yaze::cli::kMainMenu, 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 260 of file tui.cc.

References ColorBox().

Referenced by ColorBox(), and PaletteEditorComponent().

Here is the call graph for this function:

◆ PaletteEditorComponent()

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

Definition at line 264 of file tui.cc.

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

Referenced by PaletteEditorComponent().

Here is the call graph for this function:

◆ HelpComponent()

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

Definition at line 387 of file tui.cc.

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

Referenced by HelpComponent().

Here is the call graph for this function:

◆ MainMenuComponent()

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