feat: add a new awesome feature

This commit is contained in:
2025-11-08 01:06:37 +08:00
parent cc08187ced
commit 5420bfd644
16 changed files with 918 additions and 421 deletions
+8
View File
@@ -464,6 +464,14 @@ void Table::setTableBorderWidth(int width)
this->dirty = true;
}
void Table::onWindowResize()
{
Control::onWindowResize(); // 先处理自己
prevButton->onWindowResize();
nextButton->onWindowResize();
pageNum->onWindowResize();
}
int Table::getCurrentPage() const
{
return this->currentPage;