Namespaces | |
| namespace | anonymous_namespace{debugger_ui.cc} |
| namespace | anonymous_namespace{emulator_ui.cc} |
Functions | |
| void | RenderModernCpuDebugger (Emulator *emu) |
| Modern CPU debugger with registers, flags, and controls. | |
| void | RenderBreakpointList (Emulator *emu) |
| Breakpoint list and management. | |
| void | RenderMemoryViewer (Emulator *emu) |
| Memory viewer/editor. | |
| void | RenderCpuInstructionLog (Emulator *emu, uint32_t log_size) |
| CPU instruction log (legacy, prefer DisassemblyViewer) | |
| void | RenderApuDebugger (Emulator *emu) |
| APU/Audio debugger with handshake tracker. | |
| void | RenderAIAgentPanel (Emulator *emu) |
| AI Agent panel for automated testing/gameplay. | |
| void | RenderNavBar (Emulator *emu) |
| Navigation bar with play/pause, step, reset controls. | |
| void | RenderSnesPpu (Emulator *emu) |
| SNES PPU output display. | |
| void | RenderPerformanceMonitor (Emulator *emu) |
| Performance metrics (FPS, frame time, audio status) | |
| void | RenderKeyboardShortcuts (bool *show) |
| Keyboard shortcuts help overlay (F1 in modern emulators) | |
| void | RenderEmulatorInterface (Emulator *emu) |
| Main emulator UI interface - renders the emulator window. | |
| void | RenderVirtualController (Emulator *emu) |
| Virtual SNES controller for testing input without keyboard Useful for debugging input issues - bypasses keyboard capture entirely. | |
| void | RenderKeyboardConfig (input::InputManager *manager, const std::function< void(const input::InputConfig &)> &on_config_changed={}) |
| Render keyboard configuration UI. | |
| void yaze::emu::ui::RenderModernCpuDebugger | ( | Emulator * | emu | ) |
Modern CPU debugger with registers, flags, and controls.
Definition at line 38 of file debugger_ui.cc.
References yaze::emu::Emulator::ClearAllBreakpoints(), yaze::gui::ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), yaze::emu::Emulator::GetBreakpoints(), ICON_MD_ADD, ICON_MD_CHECK_BOX, ICON_MD_CHECK_BOX_OUTLINE_BLANK, ICON_MD_CLEAR_ALL, ICON_MD_DELETE, ICON_MD_DEVELOPER_BOARD, ICON_MD_FAST_FORWARD, ICON_MD_FLAG, ICON_MD_MEMORY, ICON_MD_SETTINGS, ICON_MD_SKIP_NEXT, ICON_MD_STOP, ICON_MD_STOP_CIRCLE, yaze::emu::Emulator::set_running(), yaze::emu::Emulator::SetBreakpoint(), and yaze::emu::Emulator::snes().
| void yaze::emu::ui::RenderBreakpointList | ( | Emulator * | emu | ) |
Breakpoint list and management.
Definition at line 233 of file debugger_ui.cc.
References yaze::gui::ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), yaze::emu::Emulator::GetBreakpoints(), ICON_MD_DELETE, ICON_MD_INFO, ICON_MD_STOP, ICON_MD_STOP_CIRCLE, ICON_MD_TAG, and yaze::emu::Emulator::snes().
Referenced by yaze::emu::Emulator::RenderBreakpointList().

| void yaze::emu::ui::RenderMemoryViewer | ( | Emulator * | emu | ) |
Memory viewer/editor.
Definition at line 290 of file debugger_ui.cc.
References yaze::gui::ConvertColorToImVec4(), yaze::gui::MemoryEditorWidget::DrawContents(), yaze::gui::ThemeManager::Get(), ICON_MD_MAP, ICON_MD_STORAGE, and yaze::emu::Emulator::snes().
Referenced by yaze::emu::Emulator::RenderMemoryViewer().

| void yaze::emu::ui::RenderCpuInstructionLog | ( | Emulator * | emu, |
| uint32_t | log_size ) |
CPU instruction log (legacy, prefer DisassemblyViewer)
Definition at line 329 of file debugger_ui.cc.
References yaze::gui::ConvertColorToImVec4(), yaze::emu::Emulator::disassembly_viewer(), yaze::gui::ThemeManager::Get(), yaze::emu::debug::DisassemblyViewer::GetInstructionCount(), ICON_MD_INFO, ICON_MD_OPEN_IN_NEW, ICON_MD_WARNING, and yaze::emu::debug::DisassemblyViewer::IsRecording().
Referenced by yaze::emu::Emulator::RenderCpuInstructionLog().
| void yaze::emu::ui::RenderApuDebugger | ( | Emulator * | emu | ) |
APU/Audio debugger with handshake tracker.
Definition at line 364 of file debugger_ui.cc.
References yaze::gui::ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), ICON_MD_ARROW_BACK, ICON_MD_ARROW_FORWARD, ICON_MD_BUILD, ICON_MD_CHECK_CIRCLE, ICON_MD_CLEAR_ALL, ICON_MD_CLOUD_UPLOAD, ICON_MD_EDIT, ICON_MD_ERROR, ICON_MD_HANDSHAKE, ICON_MD_HOURGLASS_EMPTY, ICON_MD_INFO, ICON_MD_LINK, ICON_MD_LIST, ICON_MD_MUSIC_NOTE, ICON_MD_PENDING, ICON_MD_PLAY_CIRCLE, ICON_MD_RESTART_ALT, ICON_MD_SEND, ICON_MD_SETTINGS, ICON_MD_SETTINGS_INPUT_COMPONENT, ICON_MD_SYNC, ICON_MD_WARNING, LOG_INFO, and yaze::emu::Emulator::snes().
Referenced by yaze::emu::Emulator::RenderApuDebugger().

| void yaze::emu::ui::RenderAIAgentPanel | ( | Emulator * | emu | ) |
AI Agent panel for automated testing/gameplay.
Definition at line 590 of file debugger_ui.cc.
References yaze::gui::ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), yaze::emu::Emulator::GetMetrics(), ICON_MD_CHECK_CIRCLE, ICON_MD_DATA_OBJECT, ICON_MD_ERROR, ICON_MD_PLAY_ARROW, ICON_MD_PLAY_CIRCLE, ICON_MD_SMART_TOY, ICON_MD_STOP, and yaze::emu::Emulator::IsEmulatorReady().
Referenced by yaze::emu::Emulator::RenderAIAgentPanel().

| void yaze::emu::ui::RenderNavBar | ( | Emulator * | emu | ) |
Navigation bar with play/pause, step, reset controls.
Definition at line 45 of file emulator_ui.cc.
References yaze::emu::Emulator::audio_backend(), yaze::gui::ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), yaze::emu::audio::IAudioBackend::GetBackendName(), yaze::emu::input::InputManager::GetConfig(), yaze::emu::Emulator::GetCurrentFPS(), yaze::util::GetFileExtension(), yaze::util::GetFileName(), yaze::emu::audio::IAudioBackend::GetStatus(), ICON_MD_BUG_REPORT, ICON_MD_FAST_FORWARD, ICON_MD_FOLDER_OPEN, ICON_MD_KEYBOARD, ICON_MD_PAUSE, ICON_MD_PLAY_ARROW, ICON_MD_RESTART_ALT, ICON_MD_SETTINGS, ICON_MD_SKIP_NEXT, ICON_MD_SPEED, ICON_MD_SPORTS_ESPORTS, ICON_MD_VOLUME_OFF, ICON_MD_VOLUME_UP, yaze::emu::Emulator::Initialize(), yaze::emu::Emulator::input_manager(), yaze::emu::Emulator::is_debugging(), yaze::emu::audio::AudioStatus::is_playing, yaze::emu::Emulator::is_turbo_mode(), LOG_ERROR, LOG_INFO, LOG_WARN, yaze::emu::Emulator::renderer(), yaze::emu::Emulator::running(), yaze::emu::Emulator::set_debugging(), yaze::emu::Emulator::set_running(), yaze::emu::Emulator::set_turbo_mode(), yaze::emu::Emulator::set_use_sdl_audio_stream(), yaze::emu::Emulator::SetInputConfig(), yaze::util::FileDialogWrapper::ShowOpenFileDialog(), yaze::emu::Emulator::snes(), and yaze::emu::Emulator::use_sdl_audio_stream().
Referenced by RenderEmulatorInterface(), and yaze::emu::Emulator::RenderNavBar().
| void yaze::emu::ui::RenderSnesPpu | ( | Emulator * | emu | ) |
SNES PPU output display.
Definition at line 317 of file emulator_ui.cc.
References yaze::gui::ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), ICON_MD_VIDEOGAME_ASSET, yaze::emu::Emulator::is_snes_initialized(), and yaze::emu::Emulator::ppu_texture().
Referenced by RenderEmulatorInterface(), and yaze::emu::Emulator::RenderSnesPpu().

| void yaze::emu::ui::RenderPerformanceMonitor | ( | Emulator * | emu | ) |
Performance metrics (FPS, frame time, audio status)
Definition at line 387 of file emulator_ui.cc.
References yaze::emu::Emulator::audio_backend(), yaze::emu::Emulator::AudioQueueHistory(), yaze::emu::Emulator::AudioRmsLeftHistory(), yaze::emu::Emulator::AudioRmsRightHistory(), yaze::gui::ConvertColorToImVec4(), yaze::emu::Emulator::DmaBytesHistory(), yaze::emu::Emulator::FpsHistory(), yaze::emu::Emulator::FrameTimeHistory(), yaze::gui::ThemeManager::Get(), yaze::emu::audio::IAudioBackend::GetBackendName(), yaze::emu::Emulator::GetMetrics(), yaze::emu::audio::IAudioBackend::GetStatus(), ICON_MD_AUDIOTRACK, ICON_MD_DATA_USAGE, ICON_MD_MEMORY, ICON_MD_SHOW_CHART, ICON_MD_SPEED, ICON_MD_STORAGE, yaze::gui::plotting::PlotConfig::id, yaze::emu::Emulator::RomBankFreeBytes(), yaze::emu::Emulator::snes(), and yaze::emu::Emulator::VramBytesHistory().
Referenced by yaze::emu::Emulator::RenderPerformanceMonitor().
| void yaze::emu::ui::RenderKeyboardShortcuts | ( | bool * | show | ) |
Keyboard shortcuts help overlay (F1 in modern emulators)
Definition at line 603 of file emulator_ui.cc.
References yaze::gui::ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), ICON_MD_INFO, ICON_MD_KEYBOARD, ICON_MD_SPORTS_ESPORTS, and ICON_MD_VIDEOGAME_ASSET.
Referenced by RenderEmulatorInterface().

| void yaze::emu::ui::RenderEmulatorInterface | ( | Emulator * | emu | ) |
Main emulator UI interface - renders the emulator window.
Definition at line 709 of file emulator_ui.cc.
References yaze::gui::ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), yaze::platform::IsKeyPressed(), RenderKeyboardShortcuts(), RenderNavBar(), RenderSnesPpu(), and yaze::emu::Emulator::set_turbo_mode().
| void yaze::emu::ui::RenderVirtualController | ( | Emulator * | emu | ) |
Virtual SNES controller for testing input without keyboard Useful for debugging input issues - bypasses keyboard capture entirely.
Definition at line 744 of file emulator_ui.cc.
References yaze::emu::input::A, yaze::emu::input::B, yaze::gui::ConvertColorToImVec4(), yaze::emu::input::DOWN, yaze::gui::ThemeManager::Get(), ICON_MD_ARROW_BACK, ICON_MD_ARROW_DOWNWARD, ICON_MD_ARROW_FORWARD, ICON_MD_ARROW_UPWARD, ICON_MD_SPORTS_ESPORTS, yaze::emu::Emulator::input_manager(), yaze::emu::input::L, yaze::emu::input::LEFT, yaze::emu::input::R, yaze::emu::input::RIGHT, yaze::emu::input::SELECT, yaze::emu::Emulator::snes(), yaze::emu::input::START, yaze::emu::input::UP, yaze::emu::input::X, and yaze::emu::input::Y.
Referenced by yaze::emu::Emulator::RenderEmulatorInterface().

| void yaze::emu::ui::RenderKeyboardConfig | ( | input::InputManager * | manager, |
| const std::function< void(const input::InputConfig &)> & | on_config_changed = {} ) |
Render keyboard configuration UI.
| manager | InputManager to configure |
Definition at line 11 of file input_handler.cc.
References yaze::emu::input::ApplyDefaultKeyBindings(), yaze::emu::input::InputManager::backend(), yaze::emu::input::IInputBackend::GetBackendName(), yaze::emu::input::InputManager::GetConfig(), yaze::platform::GetKeyFromEvent(), ICON_MD_INFO, yaze::platform::kEventKeyDown, and yaze::emu::input::InputManager::SetConfig().
Referenced by yaze::emu::Emulator::RenderKeyboardConfig().