From 3e0dafc3f00b1634a4d259e774524a11ae7cfca1 Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Mon, 28 Sep 2015 18:49:56 -0700 Subject: [PATCH] Update for citrus changes. --- source/ui.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/ui.cpp b/source/ui.cpp index 757832c..1011361 100644 --- a/source/ui.cpp +++ b/source/ui.cpp @@ -161,8 +161,8 @@ bool uiSelect(SelectableElement* selected, std::vector elemen lastScrollTime = 0; } - gpu::setViewport(gpu::SCREEN_BOTTOM, 0, 0, BOTTOM_WIDTH, BOTTOM_HEIGHT); - gput::setOrtho(0, BOTTOM_WIDTH, 0, BOTTOM_HEIGHT, -1, 1); + gpu::setViewport(gpu::SCREEN_BOTTOM, 0, 0, gpu::BOTTOM_WIDTH, gpu::BOTTOM_HEIGHT); + gput::setOrtho(0, gpu::BOTTOM_WIDTH, 0, gpu::BOTTOM_HEIGHT, -1, 1); gpu::clear(); u32 screenWidth; @@ -208,8 +208,8 @@ bool uiSelect(SelectableElement* selected, std::vector elemen gpu::flushCommands(); gpu::flushBuffer(); - gpu::setViewport(gpu::SCREEN_TOP, 0, 0, TOP_WIDTH, TOP_HEIGHT); - gput::setOrtho(0, TOP_WIDTH, 0, TOP_HEIGHT, -1, 1); + gpu::setViewport(gpu::SCREEN_TOP, 0, 0, gpu::TOP_WIDTH, gpu::TOP_HEIGHT); + gput::setOrtho(0, gpu::TOP_WIDTH, 0, gpu::TOP_HEIGHT, -1, 1); if(useTopScreen) { gpu::clear(); @@ -477,8 +477,8 @@ bool uiSelectApp(app::App* selectedApp, fs::MediaType mediaType, std::function