Make the UI scale and move correctly when the UI bounds are modified.

This commit is contained in:
Henrik Rydgard committed 2014-02-10 16:08:19 +01:00
1 parent ca9d0ea5cf
commit 984554fe7c
4 files changed
+20 -15

No files matched your search

+3
View File
@@ -784,7 +784,10 @@ void NativeMessageReceived(const char *message, const char *value) {
void NativeResized() {
if (uiContext) {
// Modifying the bounds here can be used to "inset" the whole image to gain borders for TV overscan etc.
// The UI now supports any offset but not the EmuScreen yet.
uiContext->SetBounds(Bounds(0, 0, dp_xres, dp_yres));
// uiContext->SetBounds(Bounds(dp_xres/2, 0, dp_xres / 2, dp_yres / 2));
}
}