| 6 | #include <audio/AudioWorld.h> |
| 7 | |
| 8 | UI::IntroduceChapterView::IntroduceChapterView(Engine::BaseEngine& e) |
| 9 | : View(e) |
| 10 | { |
| 11 | m_pImageView = new ImageView(e); |
| 12 | addChild(m_pImageView); |
| 13 | m_pImageView->setRelativeSize(false); |
| 14 | m_pImageView->setSize(Math::float2(1.0f, 1.0f)); |
| 15 | m_pImageView->setTranslation(Math::float2(.0f, .0f)); |
| 16 | |
| 17 | m_pTitleTextView = new TextView(e); |
| 18 | addChild(m_pTitleTextView); |
| 19 | m_pTitleTextView->setFont(DEFAULT_FONT_LARGE); |
| 20 | m_pTitleTextView->setAlignment(A_TopCenter); |
| 21 | m_pTitleTextView->setTranslation(Math::float2(.5f, .085f)); |
| 22 | |
| 23 | m_pSubtitleTextView = new TextView(e); |
| 24 | addChild(m_pSubtitleTextView); |
| 25 | m_pSubtitleTextView->setFont(DEFAULT_FONT); |
| 26 | m_pSubtitleTextView->setAlignment(A_TopCenter); |
| 27 | m_pSubtitleTextView->setTranslation(Math::float2(.5f, .885f)); |
| 28 | |
| 29 | m_QueueStatus = QueueStatus::Empty; |
| 30 | } |
| 31 | |
| 32 | UI::IntroduceChapterView::~IntroduceChapterView() |
| 33 | { |
nothing calls this directly
no test coverage detected