feat: add a new awesome feature

This commit is contained in:
2025-12-20 17:29:03 +08:00
parent aa0fa8d320
commit 0c1cf2938f
25 changed files with 2015 additions and 2024 deletions

View File

@@ -44,9 +44,14 @@ bool StellarX::ControlText::operator!=(const ControlText& text)
}
void Control::setIsVisible(bool show)
{
this->show = show;
dirty = true;
if (!show)
this->updateBackground();
this->show = show;
else
requestRepaint(parent);
}
void Control::onWindowResize()
{