mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
added image.src property
This commit is contained in:
parent
66476ee642
commit
fad9dc85ad
3 changed files with 25 additions and 0 deletions
|
|
@ -33,3 +33,11 @@ void Image::setAutoResize(bool flag) {
|
|||
bool Image::isAutoResize() const {
|
||||
return autoresize;
|
||||
}
|
||||
|
||||
const std::string& Image::getTexture() const {
|
||||
return texture;
|
||||
}
|
||||
|
||||
void Image::setTexture(const std::string& name) {
|
||||
texture = name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue