You've already forked essentialsubmit
mirror of
https://github.com/nh-server/essentialsubmit.git
synced 2026-04-30 11:25:38 -07:00
25 lines
561 B
C
25 lines
561 B
C
#include <citro2d.h>
|
|
#include <3ds.h>
|
|
|
|
#define SCREEN_WIDTH_TOP 400
|
|
#define SCREEN_WIDTH_BOTTOM 320
|
|
#define SCREEN_HEIGHT 240
|
|
|
|
typedef struct {
|
|
C3D_RenderTarget* top;
|
|
C3D_RenderTarget* bottom;
|
|
u32 clrBlack;
|
|
u32 clrWhite;
|
|
u32 clrRed;
|
|
u32 clrBlue;
|
|
u32 clrGreen;
|
|
u32 clrYellow;
|
|
u32 clrBgBright;
|
|
u32 clrBgDark;
|
|
} DrawContext;
|
|
|
|
int initUI();
|
|
void exitUI();
|
|
void initContext(DrawContext* ctx);
|
|
void initColors(DrawContext* ctx);
|
|
void drawText(float x, float y, float z, float scale, u32 color, u32 flags, const char* fmt, ...); |