Introduce corner frames

This commit is contained in:
Jaby
2024-01-05 21:42:15 -06:00
parent d59e2d163e
commit dfb0a72ec8
3 changed files with 46 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
#include "../../../include/shared.hpp"
#include "include/frame.hpp"
#include <PSX/GPU/gpu.hpp>
#include <PSX/Periphery/periphery.hpp>
#include <stdio.h>
@@ -6,6 +7,8 @@
namespace ScreenCenter {
using namespace JabyEngine;
static const auto frame = Frame::create();
static void setup() {
Shared::back_menu.reset();
}
@@ -17,11 +20,12 @@ namespace ScreenCenter {
}
auto cursor = FontWriter::update(Make::PositionI16(8, 8));
FontWriter::bios_font_writer.write(cursor, "NOTHING HERE TO SEE", GPU::Color24::Red());
FontWriter::bios_font_writer.write(cursor, "NOTHING TO SEE HERE", GPU::Color24::Red());
return false;
}
static void render() {
GPU::render(frame);
Shared::back_menu.render();
}