Chesto 0.9
A declarative and element-based library for creating GUIs on homebrew'd consoles
ImageElement.cpp
1#include "ImageElement.hpp"
2
4{
5 loadPath(key);
6}
ImageElement(std::string path)
Creates a new image element, loading the image from the specified filesystem path.
Definition: ImageElement.cpp:3
void loadPath(std::string &path, bool forceReload=false)
update and load or reload the texture
Definition: Texture.cpp:230