Introduce corner frames
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user