MCPcopy Create free account
hub / github.com/9miao/CrossApp / getTabBarNowY

Method getTabBarNowY

CrossApp/controller/CAViewController.cpp:1578–1591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1576
1577
1578int CATabBarController::getTabBarNowY()
1579{
1580 int y = 0;
1581
1582 if (m_bTabBarHidden)
1583 {
1584 y = m_iTabBarHeight * m_fProgress;
1585 }
1586 else
1587 {
1588 y = m_iTabBarHeight * (1 -m_fProgress);
1589 }
1590 return y;
1591}
1592
1593void CATabBarController::setTabBarHidden(bool hidden, bool animated)
1594{

Callers 1

updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected