most requested feature of all time

This commit is contained in:
altalk23 2023-10-01 22:45:17 +03:00
parent 728dc22c7a
commit 2847beed8f
2 changed files with 7 additions and 0 deletions

View file

@ -638,6 +638,10 @@ void ModListLayer::onExit(CCObject*) {
); );
} }
void ModListLayer::keyBackClicked() {
this->onExit(nullptr);
}
void ModListLayer::onReload(CCObject*) { void ModListLayer::onReload(CCObject*) {
this->reloadList(); this->reloadList();
} }

View file

@ -82,6 +82,9 @@ protected:
void createSearchControl(); void createSearchControl();
void onIndexUpdate(IndexUpdateEvent* event); void onIndexUpdate(IndexUpdateEvent* event);
// most requested feature of all time
void keyBackClicked() override;
CCArray* createModCells(ModListType type, ModListQuery const& query); CCArray* createModCells(ModListType type, ModListQuery const& query);
CCSize getCellSize() const; CCSize getCellSize() const;
CCSize getListSize() const; CCSize getListSize() const;