embark-assistant: add spaces around drawBorder titles

develop
lethosor 2018-07-10 11:01:22 -04:00
parent 8dec8c332f
commit eb1f3e1d4c
3 changed files with 12 additions and 12 deletions

@ -1370,7 +1370,7 @@ namespace embark_assist {
uint16_t offset = 0; uint16_t offset = 0;
Screen::clear(); Screen::clear();
Screen::drawBorder("Embark Assistant Site Finder"); Screen::drawBorder(" Embark Assistant Site Finder ");
embark_assist::screen::paintString(lr_pen, 1, 1, DFHack::Screen::getKeyDisplay(df::interface_key::STANDARDSCROLL_LEFT).c_str()); embark_assist::screen::paintString(lr_pen, 1, 1, DFHack::Screen::getKeyDisplay(df::interface_key::STANDARDSCROLL_LEFT).c_str());
embark_assist::screen::paintString(white_pen, 2, 1, "/"); embark_assist::screen::paintString(white_pen, 2, 1, "/");

@ -99,7 +99,7 @@ namespace embark_assist{
switch (current_page) { switch (current_page) {
case pages::Intro: case pages::Intro:
Screen::drawBorder("Embark Assistant Help/Info Introduction Page"); Screen::drawBorder(" Embark Assistant Help/Info Introduction Page ");
help_text.push_back("Embark Assistant is used on the embark selection screen to provide information"); help_text.push_back("Embark Assistant is used on the embark selection screen to provide information");
help_text.push_back("to help selecting a suitable embark site. It provides three services:"); help_text.push_back("to help selecting a suitable embark site. It provides three services:");
@ -139,7 +139,7 @@ namespace embark_assist{
break; break;
case pages::General: case pages::General:
Screen::drawBorder("Embark Assistant Help/Info General Page"); Screen::drawBorder(" Embark Assistant Help/Info General Page ");
help_text.push_back("The Embark Assistant overlays the region map with characters indicating sites"); help_text.push_back("The Embark Assistant overlays the region map with characters indicating sites");
help_text.push_back("normally not displayed by DF. The following key is used:"); help_text.push_back("normally not displayed by DF. The following key is used:");
@ -178,7 +178,7 @@ namespace embark_assist{
break; break;
case pages::Finder: case pages::Finder:
Screen::drawBorder("Embark Assistant Help/Info Find Page"); Screen::drawBorder(" Embark Assistant Help/Info Find Page ");
help_text.push_back("The Embark Assist Finder page is brought up with the f command key."); help_text.push_back("The Embark Assist Finder page is brought up with the f command key.");
help_text.push_back("The top of the Finder page lists the command keys available on the page:"); help_text.push_back("The top of the Finder page lists the command keys available on the page:");
@ -222,7 +222,7 @@ namespace embark_assist{
break; break;
case pages::Caveats: case pages::Caveats:
Screen::drawBorder("Embark Assistant Help/Info Caveats Page"); Screen::drawBorder(" Embark Assistant Help/Info Caveats Page ");
help_text.push_back("Find searching first does a sanity check (e.g. max < min) and then a rough"); help_text.push_back("Find searching first does a sanity check (e.g. max < min) and then a rough");
help_text.push_back("world tile match to find tiles that may have matching embarks. This results"); help_text.push_back("world tile match to find tiles that may have matching embarks. This results");

@ -151,7 +151,7 @@ namespace embark_assist {
if (state->matching) state->show = true; if (state->matching) state->show = true;
Screen::drawBorder("Embark Assistant"); Screen::drawBorder(" Embark Assistant ");
Screen::Pen pen_lr(' ', COLOR_LIGHTRED); Screen::Pen pen_lr(' ', COLOR_LIGHTRED);
Screen::Pen pen_w(' ', COLOR_WHITE); Screen::Pen pen_w(' ', COLOR_WHITE);