Change POINTER_ICON_STYLE enum to a type safe enum class

Test: Current tests all pass, this is a static type change, not
a functional change.

Change-Id: I8f0e8e43ea64f5abab163e4ef5444a8cb3d4fa78
This commit is contained in:
Brandon Pollack
2022-06-02 06:59:33 +00:00
parent 925e3670fd
commit 015f5d9d5c
11 changed files with 111 additions and 96 deletions

View File

@@ -264,7 +264,7 @@ void PointerController::setDisplayViewport(const DisplayViewport& viewport) {
}
}
void PointerController::updatePointerIcon(int32_t iconId) {
void PointerController::updatePointerIcon(PointerIconStyle iconId) {
std::scoped_lock lock(getLock());
mCursorController.updatePointerIcon(iconId);
}