# 0.2.6-1

- Fix TTF FOnt loader to support any size between 8 and 64
- Fix UI7 Image Custom SIze support
- Add new Syste mfor Image buffer modification to image lib
This commit is contained in:
2025-03-05 12:06:40 +01:00
parent c9e14ad08f
commit 229d54f088
9 changed files with 154 additions and 30 deletions

View File

@ -43,6 +43,7 @@ class Image : public Container {
this->screen = lr->CurrentScreen();
this->img = img;
this->SetPos(pos);
this->newsize = size;
if (size.x() != 0 || size.y() != 0) {
this->SetSize(size);
} else {
@ -58,7 +59,8 @@ class Image : public Container {
void Draw() override;
private:
Texture::Ref img; ///< Texture reference to the Image
Texture::Ref img; ///< Texture reference to the Image
vec2 newsize = 0.f; ///< New Size
};
} // namespace UI7
} // namespace PD