GameUI refactor (part 4/X): Move Game::guitext_status, Game::m_statustext, GameRunDat...
authorLoic Blot <loic.blot@unix-experience.fr>
Thu, 4 Jan 2018 20:35:26 +0000 (21:35 +0100)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Fri, 5 Jan 2018 19:59:30 +0000 (20:59 +0100)
commitfe510d90c15d9bec3a8c1dafc7b1730b11a9f6bd
treeb4c2626053fa8e4dceedbb0a061724843c667161
parentaab3b18e4b9f847ba1e521d5a73624b0bb6a467a
GameUI refactor (part 4/X): Move Game::guitext_status, Game::m_statustext, GameRunData::statustext_time to GameUI class

Other enhancements:
* Simplify setStatusText to showStatusText, as it shows the label too (preventing almost every setStatusText to call setStatusTextTime(0)
* Add unittests
src/client/gameui.cpp
src/client/gameui.h
src/game.cpp
src/unittest/test_gameui.cpp