Skip to content
Snippets Groups Projects
Verified Commit b13d4ff0 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

feat: more interface changes

parent e98f7777
No related branches found
No related tags found
No related merge requests found
Pipeline #1293 passed
......@@ -983,6 +983,18 @@ class GameboyEmulator implements Emulator {
this.start({ engine: null });
}
name() {
return "Boytacean";
}
version() {
return info.version;
}
versionUrl() {
return "https://gitlab.stage.hive.pt/joamag/boytacean/-/blob/master/CHANGELOG.md"";
}
toggleWindow() {
this.maximize();
}
......
......@@ -20,6 +20,9 @@ import "./app.css";
export interface Emulator {
reset(): void;
name(): string;
version(): string;
versionUrl(): string;
}
type AppProps = {
......@@ -52,9 +55,9 @@ export const App: FC<AppProps> = ({ emulator, backgrounds = ["264653"] }) => {
</Footer>
<PanelSplit left={<div>This is the left panel</div>}>
<Title
text="Boytacean"
version="0.3.0"
versionUrl="https://gitlab.stage.hive.pt/joamag/boytacean/-/blob/master/CHANGELOG.md"
text={emulator.name()}
version={emulator.version()}
versionUrl={emulator.versionUrl()}
iconSrc={require("../res/thunder.png")}
></Title>
<Section>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment