更改launcher/launcher/src/main/cpp/swipe_view.cpp文件,加入arrPage参数

更改文件127行,加入ViewGroupPage* arrPage_[MAX_VIEWGROUP]参数

Signed-off-by: tongkai0808fh <tongkai5@huawei.com>
This commit is contained in:
tongkai0808fh
2024-05-06 02:42:07 +00:00
committed by Gitee
parent ccf8c24b13
commit cf2e7a3f01
@@ -124,7 +124,7 @@ void SwipeView::OnSetUpView()
swipe_->SetCurrentPage(0);
}
void BundleInfoScan(BundleInfo* pBundleInfos, int count, int groupCount)
void BundleInfoScan(BundleInfo* pBundleInfos, int count, int groupCount, ViewGroupPage* arrPage_[MAX_VIEWGROUP])
{
arrPage_[0]->SetMatrix(APP_ROW_COUNT, APP_COL_COUNT);
arrPage_[0]->SetScale(0.6);