Files
sunnypilot/system/ui/raylib/util.h
2024-12-07 01:35:50 -08:00

22 lines
400 B
C++

#pragma once
#include <string>
#include "system/ui/raylib/raylib.h"
enum class FontWeight {
Normal,
Bold,
ExtraBold,
ExtraLight,
Medium,
Regular,
SemiBold,
Thin,
Count // To represent the total number of fonts
};
void initApp(const char *title, int fps);
const Font& getFont(FontWeight weight = FontWeight::Normal);
Texture2D LoadTextureResized(const char *fileName, int size);