| 46 | } |
| 47 | |
| 48 | void MessageOverlay::drawBottom(void) const |
| 49 | { |
| 50 | ModalChrome::dimBottom(); |
| 51 | ModalChrome::drawCard(mLayout, mStyle.outline); |
| 52 | if (!mStyle.header.empty()) { |
| 53 | TextPool::get().draw(mStyle.header, ModalChrome::BTN_WIDE_X, mLayout.headerY, 0.42f, mStyle.headerColor); |
| 54 | } |
| 55 | TextPool::get().draw(mText, mPosx, mLayout.textY, SIZE, COLOR_TEXT); |
| 56 | mButton->draw(0.55f, mStyle.ring); |
| 57 | Gui::drawPulsingOutline(ModalChrome::BTN_WIDE_X, mLayout.btnY, ModalChrome::BTN_WIDE_W, ModalChrome::BTN_H, 2, mStyle.ring); |
| 58 | } |
| 59 | |
| 60 | void MessageOverlay::update(const InputState& input) |
| 61 | { |
nothing calls this directly
no test coverage detected