Add tooltip for StatusBar::m_currentFrame

This commit is contained in:
David Capello 2015-04-10 11:23:21 -03:00
parent 669765c708
commit 8353e45ae8

View File

@ -193,6 +193,7 @@ StatusBar::StatusBar()
// Tooltips manager
TooltipManager* tooltipManager = new TooltipManager();
addChild(tooltipManager);
tooltipManager->addTooltipFor(m_currentFrame, "Current Frame", JI_BOTTOM);
tooltipManager->addTooltipFor(m_slider, "Cel Opacity", JI_BOTTOM);
App::instance()->CurrentToolChange.connect(&StatusBar::onCurrentToolChange, this);