From 0050c96ed9bcd105d1a2c69446dcb593c1ea3249 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 9 Jun 2021 18:55:46 -0400 Subject: [PATCH] Remove unused MenuItem classes. --- src/Frames.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/Frames.cpp b/src/Frames.cpp index 5cb307a..44bb5ac 100644 --- a/src/Frames.cpp +++ b/src/Frames.cpp @@ -334,32 +334,6 @@ struct FramesWidget : ModuleWidget { Frames* module = dynamic_cast(this->module); assert(module); - struct FramesCurveItem : MenuItem { - Frames* module; - uint8_t channel; - frames::EasingCurve curve; - void onAction(const event::Action& e) override { - module->keyframer.mutable_settings(channel)->easing_curve = curve; - } - void step() override { - rightText = (module->keyframer.mutable_settings(channel)->easing_curve == curve) ? "✔" : ""; - MenuItem::step(); - } - }; - - struct FramesResponseItem : MenuItem { - Frames* module; - uint8_t channel; - uint8_t response; - void onAction(const event::Action& e) override { - module->keyframer.mutable_settings(channel)->response = response; - } - void step() override { - rightText = (module->keyframer.mutable_settings(channel)->response == response) ? "✔" : ""; - MenuItem::step(); - } - }; - struct FramesChannelSettingsItem : MenuItem { Frames* module; uint8_t channel;