mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Rework the JitCompare window to hold a list of blocks, and allow some filtering and browsing
This commit is contained in:
1 parent
c538ce8bf0
commit
3bb74ea9ad
9 files changed
+258
-123
No files matched your search
@@ -67,6 +67,16 @@ bool ViewGroup::ContainsSubview(const View *view) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
int ViewGroup::IndexOfSubview(const View *view) const {
|
||||
int index = 0;
|
||||
for (const View *subview : views_) {
|
||||
if (subview == view)
|
||||
return index;
|
||||
index++;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
void ViewGroup::Clear() {
|
||||
for (View *view : views_) {
|
||||
delete view;
|
||||
|
||||
Reference in new issue
Block a user