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