Fennec/runtime/lib/fennec_core.h
2026-03-15 18:36:05 +01:00

21 lines
433 B
C++

#ifndef FENNEC_CORE_H
#define FENNEC_CORE_H
#include <3ds.h>
#include <citro2d.h>
#include <string>
namespace Fennec {
void init();
void exit();
void beginFrame();
void endFrame();
void drawRect(float x, float y, float w, float h, u32 color);
void drawText(float x, float y, std::string content, u32 color);
void selectScreen(gfxScreen_t screen);
u32 color(u8 r, u8 g, u8 b, u8 a = 255);
}
#endif