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
namespace
Chesto {
4
5
ImageElement::ImageElement
(std::string key)
6
{
7
loadPath
(key);
8
}
9
10
}
// namespace Chesto
Chesto::ImageElement::ImageElement
ImageElement(std::string path)
Creates a new image element, loading the image from the specified filesystem path.
Definition:
ImageElement.cpp:5
Chesto::Texture::loadPath
void loadPath(std::string &path, bool forceReload=false)
update and load or reload the texture
Definition:
Texture.cpp:262
Generated by
1.9.4