1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-22 08:31:14 +01:00

Defaulting TrackPanel cursor, status message; simplifies other code

This commit is contained in:
Paul Licameli
2017-06-28 21:47:28 -04:00
parent f5b0afc2fc
commit c079544667
10 changed files with 13 additions and 29 deletions

View File

@@ -60,7 +60,7 @@ HitTestResult MinimizeButtonHandle::HitTest
auto result = std::make_shared<MinimizeButtonHandle>( pTrack, buttonRect );
result = AssignUIHandlePtr(holder, result);
return {
HitPreview(),
HitTestPreview{},
result
};
}
@@ -114,7 +114,7 @@ HitTestResult CloseButtonHandle::HitTest
auto result = std::make_shared<CloseButtonHandle>( pTrack, buttonRect );
result = AssignUIHandlePtr(holder, result);
return {
HitPreview(),
HitTestPreview{},
result
};
}
@@ -157,7 +157,7 @@ HitTestResult MenuButtonHandle::HitTest
auto result = std::make_shared<MenuButtonHandle>( pCell, pTrack, buttonRect );
result = AssignUIHandlePtr(holder, result);
return {
HitPreview(),
HitTestPreview{},
result
};
}