Added Finder scrolling and Frozen search

develop
PatrikLundell 2018-07-13 17:43:22 +02:00
parent fdf52deb36
commit 658fac0b93
1 changed files with 2 additions and 3 deletions

@ -1423,8 +1423,8 @@ namespace embark_assist {
void ViewscreenFindUi::render() { void ViewscreenFindUi::render() {
// color_ostream_proxy out(Core::getInstance().getConsole()); // color_ostream_proxy out(Core::getInstance().getConsole());
auto screen_size = DFHack::Screen::getWindowSize(); auto screen_size = DFHack::Screen::getWindowSize();
const int top_row = 2; uint16_t top_row = 2;
const int list_column = 53; uint16_t list_column = 53;
uint16_t offset = 0; uint16_t offset = 0;
Screen::clear(); Screen::clear();
@ -1486,7 +1486,6 @@ namespace embark_assist {
top_row + i - offset, top_row + i - offset,
state->ui[i]->list[state->ui[i]->current_display_value].text); state->ui[i]->list[state->ui[i]->current_display_value].text);
} }
} }
// Implement scrolling lists if they don't fit on the screen. // Implement scrolling lists if they don't fit on the screen.