mirror of
https://github.com/joel16/NX-Shell.git
synced 2024-11-23 03:39:49 +00:00
23 lines
436 B
C++
23 lines
436 B
C++
#pragma once
|
|
|
|
#include <glad/glad.h>
|
|
#include <switch.h>
|
|
#include <vector>
|
|
|
|
typedef struct {
|
|
GLuint id = 0;
|
|
int width = 0;
|
|
int height = 0;
|
|
int delay = 0;
|
|
} Tex;
|
|
|
|
extern std::vector<Tex> file_icons;
|
|
extern Tex folder_icon, check_icon, uncheck_icon;
|
|
|
|
namespace Textures {
|
|
bool LoadImageFile(const std::string &path, std::vector<Tex> &textures);
|
|
void Free(Tex &texture);
|
|
void Init(void);
|
|
void Exit(void);
|
|
}
|