Exemple #1
0
void ToastMgr::draw(StelCore* core)
{
	if (!getFlagShow())
		return;

	StelPainter sPainter(core->getProjection(StelCore::FrameJ2000));
	survey->draw(&sPainter);
}
void ScreenImage::setAlpha(float a)
{
	maxAlpha = a;
	if (getFlagShow())
	{
		fadeTimer->stop();
		tex->setOpacity(a);
	}
}
Exemple #3
0
bool ToastMgr::getFlagSurveyShow(void) const
{
	qWarning() << "WARNING: ToastMgr.getFlagSurveyShow() is deprecated and will soon be removed. Use ToastMgr.getFlagShow() instead.";
	return getFlagShow();
}