Revert "Revert "minui: Match API to AOSP""

This reverts commit 2457cc01c709abcf7835799d7737ca51b6485cab.

Signed-off-by: Grarak <williye97@gmail.com>

Conflicts:
	ui.c