You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
410 B
22 lines
410 B
6 months ago
|
#pragma once
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
#include "third_party/raylib/include/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);
|