mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 02:52:04 +08:00
4f5ec14cf7
* raylib spinner * fix build issue on device * keep qt spinner * own SConscript
22 lines
410 B
C++
22 lines
410 B
C++
#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);
|