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