| 26 | } |
| 27 | |
| 28 | bool Update(ScreenBase const & screen) override |
| 29 | { |
| 30 | std::string content; |
| 31 | bool const isVisible = m_onUpdateFn(screen, content); |
| 32 | |
| 33 | SetIsVisible(isVisible); |
| 34 | SetContent(content); |
| 35 | |
| 36 | return TBase::Update(screen); |
| 37 | } |
| 38 | |
| 39 | private: |
| 40 | TUpdateDebugLabelFn m_onUpdateFn; |