mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Changed a few code comments.
This commit is contained in:
parent
94c825e3a3
commit
1650b33b9a
|
@ -61,7 +61,7 @@ GuiMenu::GuiMenu(Window* window)
|
||||||
if (isFullUI)
|
if (isFullUI)
|
||||||
addEntry("OTHER SETTINGS", 0x777777FF, true, [this] { openOtherOptions(); });
|
addEntry("OTHER SETTINGS", 0x777777FF, true, [this] { openOtherOptions(); });
|
||||||
|
|
||||||
// TEMPORARY - disabled for now, will be used in the future.
|
// TEMPORARY: Disabled for now, will be used in the future.
|
||||||
// if (isFullUI)
|
// if (isFullUI)
|
||||||
// addEntry("UTILITIES", 0x777777FF, true, [this] {
|
// addEntry("UTILITIES", 0x777777FF, true, [this] {
|
||||||
// openUtilitiesMenu(); });
|
// openUtilitiesMenu(); });
|
||||||
|
@ -600,8 +600,8 @@ void GuiMenu::openSoundOptions()
|
||||||
{
|
{
|
||||||
auto s = new GuiSettings(mWindow, "SOUND SETTINGS");
|
auto s = new GuiSettings(mWindow, "SOUND SETTINGS");
|
||||||
|
|
||||||
// TEMPORARY - Hide the volume slider on macOS and BSD Unix until the volume control logic
|
// TODO: Hide the volume slider on macOS and BSD Unix until the volume control logic has been
|
||||||
// has been implemented for these operating systems.
|
// implemented for these operating systems.
|
||||||
#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
|
#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
|
||||||
// System volume.
|
// System volume.
|
||||||
auto system_volume = std::make_shared<SliderComponent>(mWindow, 0.f, 100.f, 1.f, "%");
|
auto system_volume = std::make_shared<SliderComponent>(mWindow, 0.f, 100.f, 1.f, "%");
|
||||||
|
|
|
@ -493,7 +493,7 @@ void GridGameListView::updateInfoPanel()
|
||||||
if ((comp->isAnimationPlaying(0) && comp->isAnimationReversed(0) != fadingOut) ||
|
if ((comp->isAnimationPlaying(0) && comp->isAnimationReversed(0) != fadingOut) ||
|
||||||
(!comp->isAnimationPlaying(0) && comp->getOpacity() != (fadingOut ? 0 : 255))) {
|
(!comp->isAnimationPlaying(0) && comp->getOpacity() != (fadingOut ? 0 : 255))) {
|
||||||
|
|
||||||
// TEMPORARY - This does not seem to work, needs to be reviewed later.
|
// TODO: This does not seem to work, needs to be reviewed later.
|
||||||
// auto func = [comp](float t) {
|
// auto func = [comp](float t) {
|
||||||
auto func = [](float t) {
|
auto func = [](float t) {
|
||||||
// comp->setOpacity(static_cast<unsigned char>(glm::mix(0.0f, 1.0f, t) * 255));
|
// comp->setOpacity(static_cast<unsigned char>(glm::mix(0.0f, 1.0f, t) * 255));
|
||||||
|
|
Loading…
Reference in a new issue