MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / drawBottom

Method drawBottom

3ds/source/MessageOverlay.cpp:48–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void 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
60void MessageOverlay::update(const InputState& input)
61{

Callers

nothing calls this directly

Calls 4

getFunction · 0.85
drawPulsingOutlineFunction · 0.85
emptyMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected