mirror of
https://github.com/joel16/NX-Shell.git
synced 2024-11-27 05:30:39 +00:00
23 lines
458 B
C++
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
|