NX-Shell/include/textures.h

23 lines
458 B
C++

#ifndef NX_SHELL_TEXTURES_H
#define NX_SHELL_TEXTURES_H
#include <glad/glad.h>
#include <string>
typedef struct {
GLuint id = 0;
int width = 0;
int height = 0;
} Tex;
extern Tex folder_icon, file_icon, archive_icon, audio_icon, image_icon, text_icon, check_icon, uncheck_icon;
namespace Textures {
bool LoadImageFile(const std::string &path, Tex *texture);
void Free(Tex *texture);
void Init(void);
void Exit(void);
}
#endif