From 658fac0b933c95536784237d66226c2d09ec3f25 Mon Sep 17 00:00:00 2001 From: PatrikLundell Date: Fri, 13 Jul 2018 17:43:22 +0200 Subject: [PATCH] Added Finder scrolling and Frozen search --- plugins/embark-assistant/finder_ui.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/embark-assistant/finder_ui.cpp b/plugins/embark-assistant/finder_ui.cpp index 0da8860f2..f0706b144 100644 --- a/plugins/embark-assistant/finder_ui.cpp +++ b/plugins/embark-assistant/finder_ui.cpp @@ -1423,8 +1423,8 @@ namespace embark_assist { void ViewscreenFindUi::render() { // color_ostream_proxy out(Core::getInstance().getConsole()); auto screen_size = DFHack::Screen::getWindowSize(); - const int top_row = 2; - const int list_column = 53; + uint16_t top_row = 2; + uint16_t list_column = 53; uint16_t offset = 0; Screen::clear(); @@ -1486,7 +1486,6 @@ namespace embark_assist { top_row + i - offset, state->ui[i]->list[state->ui[i]->current_display_value].text); } - } // Implement scrolling lists if they don't fit on the screen.