UNITJOB_VIEW -> UNITJOB_VIEW_UNIT

develop
lethosor 2015-12-04 23:12:37 -05:00
parent 7a69b90277
commit 1668984585
1 changed files with 3 additions and 3 deletions

@ -1592,7 +1592,7 @@ void viewscreen_unitlaborsst::feed(set<df::interface_key> *events)
if (enabler->mouse_lbut)
{
input_row = click_unit;
events->insert(interface_key::UNITJOB_VIEW);
events->insert(interface_key::UNITJOB_VIEW_UNIT);
}
if (enabler->mouse_rbut)
{
@ -1804,7 +1804,7 @@ void viewscreen_unitlaborsst::feed(set<df::interface_key> *events)
if (VIRTUAL_CAST_VAR(unitlist, df::viewscreen_unitlistst, parent))
{
if (events->count(interface_key::UNITJOB_VIEW) || events->count(interface_key::UNITJOB_ZOOM_CRE))
if (events->count(interface_key::UNITJOB_VIEW_UNIT) || events->count(interface_key::UNITJOB_ZOOM_CRE))
{
for (int i = 0; i < unitlist->units[unitlist->page].size(); i++)
{
@ -2057,7 +2057,7 @@ void viewscreen_unitlaborsst::render()
OutputString(10, x, y, Screen::getKeyDisplay(interface_key::SELECT_ALL));
OutputString(canToggle ? 15 : 8, x, y, ": Toggle Group, ");
OutputString(10, x, y, Screen::getKeyDisplay(interface_key::UNITJOB_VIEW));
OutputString(10, x, y, Screen::getKeyDisplay(interface_key::UNITJOB_VIEW_UNIT));
OutputString(15, x, y, ": ViewCre, ");
OutputString(10, x, y, Screen::getKeyDisplay(interface_key::UNITJOB_ZOOM_CRE));