UnityUpdateCallbackFn(void *param, // IN: UnityPlatform
UnityUpdate *update) // IN
{
- UnityPlatform *up = (UnityPlatform*)param;
- switch (update->type) {
-
- case UNITY_UPDATE_REMOVE_WINDOW:
- /*
- * Let the platform know that this window has been removed. This is
- * useful on platforms that must poll for window changes.
- */
- UnityPlatformWillRemoveWindow(up, update->u.removeWindow.id);
- break;
-
- default:
- break;
- }
-
unity.hostCallbacks.updateCB(unity.hostCallbacks.updateCbCtx, update);
}
int32 deltaY,
int32 deltaZ,
uint32 modifierFlags);
-
-/*
- * Function called by UnityUpdateCallbackFn whenever a window is removed from
- * the tracker.
- *
- * NOTE: This function is called with the platform lock held.
- */
-void UnityPlatformWillRemoveWindow(UnityPlatform *up, UnityWindowId windowId);
-
void UnityPlatformSetDisableCompositing(UnityPlatform *up, Bool disabled);
#ifdef __cplusplus
}
-/*
- *------------------------------------------------------------------------------
- *
- * UnityPlatformWillRemoveWindow --
- *
- * Called when a window is removed from the UnityWindowTracker.
- *
- * NOTE: This function is called with the platform lock held.
- *
- * Results:
- * None.
- *
- * Side effects:
- * None.
- *------------------------------------------------------------------------------
- */
-
-void
-UnityPlatformWillRemoveWindow(UnityPlatform *up, // IN
- UnityWindowId windowId) // IN
-{
- ASSERT(up);
-}
-
-
/*
*-----------------------------------------------------------------------------
*