feat(settings/options/rendering-mode): implement

This commit is contained in:
2026-01-29 17:52:26 +01:00
parent afffbe9e61
commit 70bbf3601a
14 changed files with 191 additions and 17 deletions

View File

@@ -1,6 +1,7 @@
<script setup lang="ts">
const { onRender } = useScreen();
const app = useAppStore();
const { assets } = useAssets();
onRender((ctx) => {
@@ -39,7 +40,11 @@ onRender((ctx) => {
// icons
assets.images.home.topScreen.statusBar.gbaDisplay.draw(ctx, 210, 2);
assets.images.home.topScreen.statusBar.startupMode.draw(ctx, 226, 2);
if (app.settings.renderingMode === "3d") {
assets.images.home.topScreen.statusBar._3dMode.draw(ctx, 226, 2);
} else {
assets.images.home.topScreen.statusBar._2dMode.draw(ctx, 226, 2);
}
assets.images.home.topScreen.statusBar.battery.draw(ctx, 242, 4);
});