Chesto 0.9
A declarative and element-based library for creating GUIs on homebrew'd consoles
ImageElement.hpp
1#pragma once
2
3#include "Texture.hpp"
4#include <string>
5
6namespace Chesto {
7
8class ImageElement : public Texture
9{
10public:
13 ImageElement(std::string path);
14};
15
16} // namespace Chesto
ImageElement(std::string path)
Creates a new image element, loading the image from the specified filesystem path.
Definition: ImageElement.cpp:5