window that allow the user to view all data going through the memory bus.
More...
#include <TileViewer.hpp>
window that allow the user to view all data going through the memory bus.
◆ TileViewer() [1/2]
◆ TileViewer() [2/2]
| ComSquare::Debugger::TileViewer::TileViewer |
( |
const TileViewer & |
| ) |
|
|
delete |
◆ ~TileViewer()
| ComSquare::Debugger::TileViewer::~TileViewer |
( |
| ) |
|
|
overridedefault |
◆ _bppChangeUIHandler()
| void ComSquare::Debugger::TileViewer::_bppChangeUIHandler |
( |
int |
index | ) |
|
|
private |
Change the bpp from the index given by the ui (QT combo box)
◆ focus()
| void ComSquare::Debugger::TileViewer::focus |
( |
| ) |
|
Focus the debugger's window.
◆ getBpp()
| int ComSquare::Debugger::TileViewer::getBpp |
( |
| ) |
const |
◆ getNbColumns()
| int ComSquare::Debugger::TileViewer::getNbColumns |
( |
| ) |
const |
Get the numbr of maximum tile columns to render.
◆ getPaletteIndex()
| int ComSquare::Debugger::TileViewer::getPaletteIndex |
( |
| ) |
const |
Get the index of the current palette used.
◆ internalUpdate()
| void ComSquare::Debugger::TileViewer::internalUpdate |
( |
| ) |
|
Update the tile renderer.
◆ operator=()
◆ read()
| uint16_t ComSquare::Debugger::TileViewer::read |
( |
uint8_t |
addr | ) |
|
Read data at the CGRAM address send it to the debugger.
- Parameters
-
| addr | The address to read from. |
- Returns
- The color value in BGR, looks like this xbbbbbgggggrrrrr.
◆ setBpp()
| void ComSquare::Debugger::TileViewer::setBpp |
( |
int |
bpp | ) |
|
Set the bpp to render graphics.
◆ setNbColumns()
| void ComSquare::Debugger::TileViewer::setNbColumns |
( |
int |
nbColumns | ) |
|
Set the number of maximum columns.
◆ setPaletteIndex()
| void ComSquare::Debugger::TileViewer::setPaletteIndex |
( |
int |
paletteIndex | ) |
|
Set the palette to use for render (index of palette)
◆ setRamOffset()
| void ComSquare::Debugger::TileViewer::setRamOffset |
( |
int |
offset | ) |
|
◆ setRenderSize()
| void ComSquare::Debugger::TileViewer::setRenderSize |
( |
int |
size | ) |
|
Set the size of ram to render.
◆ _ppu
◆ _ramTileRenderer
◆ _sfWidget
◆ _snes
| SNES& ComSquare::Debugger::TileViewer::_snes |
|
private |
A reference to the snes (to disable the debugger).
◆ _ui
| Ui::TileViewer ComSquare::Debugger::TileViewer::_ui |
|
private |
A widget that contain the whole UI.
◆ _window
The QT window for this debugger.
The documentation for this class was generated from the following files: