mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00

~ Added a small utils class to read full files to ram for the purpose of parsing json files Most of these files are really small, so there shouldn't really be any memory concerns + Added support for loading backgrounds directly from PKG files Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
22 lines
326 B
C++
22 lines
326 B
C++
#ifndef WALLENGINE_TEXTURE_H
|
|
#define WALLENGINE_TEXTURE_H
|
|
|
|
#include <irrlicht/irrlicht.h>
|
|
|
|
namespace wp
|
|
{
|
|
class texture
|
|
{
|
|
public:
|
|
texture (irr::io::path& file);
|
|
|
|
irr::video::ITexture* getIrrTexture ();
|
|
|
|
private:
|
|
irr::video::ITexture* m_texture;
|
|
};
|
|
}
|
|
|
|
|
|
#endif //WALLENGINE_TEXTURE_H
|