mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 22:25:38 +00:00
(Windows) Fixed some MSVC compiler warnings.
This commit is contained in:
parent
261ad3735a
commit
33d3df9db4
|
@ -92,8 +92,9 @@ public:
|
||||||
scrollUp->setOpacity(
|
scrollUp->setOpacity(
|
||||||
static_cast<unsigned char>(glm::mix(0.0f, 1.0f, t) * 255));
|
static_cast<unsigned char>(glm::mix(0.0f, 1.0f, t) * 255));
|
||||||
};
|
};
|
||||||
scrollUp->setAnimation(new LambdaAnimation(upFadeInFunc, fadeInTime), 0,
|
scrollUp->setAnimation(
|
||||||
nullptr, false);
|
new LambdaAnimation(upFadeInFunc, static_cast<int>(fadeInTime)), 0, nullptr,
|
||||||
|
false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (upFadeOut) {
|
if (upFadeOut) {
|
||||||
|
@ -101,7 +102,8 @@ public:
|
||||||
scrollUp->setOpacity(
|
scrollUp->setOpacity(
|
||||||
static_cast<unsigned char>(glm::mix(0.0f, 1.0f, t) * 255));
|
static_cast<unsigned char>(glm::mix(0.0f, 1.0f, t) * 255));
|
||||||
};
|
};
|
||||||
scrollUp->setAnimation(new LambdaAnimation(upFadeOutFunc, fadeInTime), 0,
|
scrollUp->setAnimation(
|
||||||
|
new LambdaAnimation(upFadeOutFunc, static_cast<int>(fadeInTime)), 0,
|
||||||
nullptr, true);
|
nullptr, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,7 +112,8 @@ public:
|
||||||
scrollDown->setOpacity(
|
scrollDown->setOpacity(
|
||||||
static_cast<unsigned char>(glm::mix(0.0f, 1.0f, t) * 255));
|
static_cast<unsigned char>(glm::mix(0.0f, 1.0f, t) * 255));
|
||||||
};
|
};
|
||||||
scrollDown->setAnimation(new LambdaAnimation(downFadeInFunc, fadeInTime), 0,
|
scrollDown->setAnimation(
|
||||||
|
new LambdaAnimation(downFadeInFunc, static_cast<int>(fadeInTime)), 0,
|
||||||
nullptr, false);
|
nullptr, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -119,7 +122,8 @@ public:
|
||||||
scrollDown->setOpacity(
|
scrollDown->setOpacity(
|
||||||
static_cast<unsigned char>(glm::mix(0.0f, 1.0f, t) * 255));
|
static_cast<unsigned char>(glm::mix(0.0f, 1.0f, t) * 255));
|
||||||
};
|
};
|
||||||
scrollDown->setAnimation(new LambdaAnimation(downFadeOutFunc, fadeInTime), 0,
|
scrollDown->setAnimation(
|
||||||
|
new LambdaAnimation(downFadeOutFunc, static_cast<int>(fadeInTime)), 0,
|
||||||
nullptr, true);
|
nullptr, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue