Changed a few code comments.

This commit is contained in:
Leon Styhre 2021-10-18 18:12:19 +02:00
parent 94c825e3a3
commit 1650b33b9a
2 changed files with 4 additions and 4 deletions

View file

@ -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, "%");

View file

@ -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));