MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / showPage

Method showPage

source/windowing/StarStackWidget.cpp:5–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3namespace Star {
4
5void StackWidget::showPage(size_t page) {
6 if (m_shownPage)
7 m_shownPage->hide();
8 m_shownPage = m_members[page];
9 m_page = makeLeft(page);
10 if (m_shownPage)
11 m_shownPage->show();
12}
13
14void StackWidget::showPage(String const& name) {
15 if (m_shownPage)

Callers 7

tabSelectMethod · 0.80
showStatusMethod · 0.80
showMissionsMethod · 0.80
selectMissionMethod · 0.80
showCrewMethod · 0.80
selectRecruitMethod · 0.80
dismissRecruitMethod · 0.80

Calls 5

makeLeftFunction · 0.85
makeRightFunction · 0.85
hideMethod · 0.45
showMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected