No binaries released for now:
- [Sys-clk-OC] Add permanent override for overlay and manager, will add more toggles later and therefore deprecates InfoNX - [MEM] Replace 1331 MHz table with 1600 MHz (idea by 3DSBricker) - [MEM] Add more info on SDRAM and tips for timing calculation
This commit is contained in:
@@ -11,25 +11,19 @@
|
||||
#include "base_gui.h"
|
||||
|
||||
#include "../elements/base_frame.h"
|
||||
#include "logo_rgba_bin.h"
|
||||
// #include "logo_rgba_bin.h"
|
||||
|
||||
#define LOGO_WIDTH 110
|
||||
#define LOGO_HEIGHT 39
|
||||
#define LOGO_X 18
|
||||
#define LOGO_Y 21
|
||||
#define LOGO_LABEL_X 18
|
||||
#define LOGO_LABEL_Y 26
|
||||
#define LOGO_LABEL_FONT_SIZE 23
|
||||
|
||||
#define LOGO_LABEL_X (LOGO_X + LOGO_WIDTH + 6)
|
||||
#define LOGO_LABEL_Y 50
|
||||
#define LOGO_LABEL_FONT_SIZE 28
|
||||
|
||||
#define VERSION_X (LOGO_LABEL_X + 110)
|
||||
#define VERSION_X 246
|
||||
#define VERSION_Y LOGO_LABEL_Y
|
||||
#define VERSION_FONT_SIZE 15
|
||||
#define VERSION_FONT_SIZE 16
|
||||
|
||||
void BaseGui::preDraw(tsl::gfx::Renderer* renderer)
|
||||
{
|
||||
renderer->drawBitmap(LOGO_X, LOGO_Y, LOGO_WIDTH, LOGO_HEIGHT, logo_rgba_bin);
|
||||
renderer->drawString("overlay", false, LOGO_LABEL_X, LOGO_LABEL_Y, LOGO_LABEL_FONT_SIZE, TEXT_COLOR);
|
||||
renderer->drawString("Sys-clk-OC overlay", false, LOGO_LABEL_X, LOGO_LABEL_Y, LOGO_LABEL_FONT_SIZE, TEXT_COLOR);
|
||||
renderer->drawString(TARGET_VERSION, false, VERSION_X, VERSION_Y, VERSION_FONT_SIZE, DESC_COLOR);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user