return View when picking, use uint32_t for morphIndices

This commit is contained in:
Nick Fisher
2024-10-10 08:42:16 +08:00
parent f7da303d29
commit 5087cc48f5
7 changed files with 88 additions and 114 deletions

View File

@@ -98,7 +98,7 @@ namespace thermion
void clearBackgroundImage();
void setBackgroundImagePosition(float x, float y, bool clamp, uint32_t width, uint32_t height);
void pick(View *view, uint32_t x, uint32_t y, void (*callback)(EntityId entityId, int x, int y));
void pick(View *view, uint32_t x, uint32_t y, void (*callback)(EntityId entityId, int x, int y, View *view));
Engine* getEngine() {
return _engine;
}