mirror of https://github.com/bsnes-emu/bsnes.git
13 lines
386 B
C++
13 lines
386 B
C++
ManifestViewer::ManifestViewer(TabFrame* parent) : TabFrameItem(parent) {
|
|
setIcon(Icon::Emblem::Text);
|
|
setText("Manifest Viewer");
|
|
|
|
layout.setMargin(5);
|
|
manifestView.setEditable(false).setWordWrap(false).setFont(Font().setFamily(Font::Mono));
|
|
}
|
|
|
|
auto ManifestViewer::doRefresh() -> void {
|
|
manifestView.setText("");
|
|
if(emulator) manifestView.setText(emulator->manifest());
|
|
}
|