Deluge Firmware
1.4.0
Build date: 2026.11.30
Toggle main menu visibility
Loading...
Searching...
No Matches
mic_velocity_speakers.h
1
/*
2
* Copyright © 2026 Synthstrom Audible Limited
3
*
4
* This file is part of The Synthstrom Audible Deluge Firmware.
5
*
6
* The Synthstrom Audible Deluge Firmware is free software: you can redistribute it and/or modify it under the
7
* terms of the GNU General Public License as published by the Free Software Foundation,
8
* either version 3 of the License, or (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
* See the GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License along with this program.
15
* If not, see <https://www.gnu.org/licenses/>.
16
*/
17
18
#pragma once
19
20
#include "gui/ui/ui.h"
21
#include "hid/button.h"
22
26
namespace
deluge::gui
{
27
28
class
MicVelocitySpeakers final :
public
UI {
29
public
:
30
MicVelocitySpeakers() { oledShowsUIUnderneath =
false
; }
31
32
bool
opened()
override
;
33
ActionResult buttonAction(deluge::hid::Button b,
bool
on,
bool
inCardRoutine)
override
;
34
void
graphicsRoutine()
override
;
35
void
renderOLED(
deluge::hid::display::oled_canvas::Canvas
& canvas)
override
;
36
UIType
getUIType
()
override
{
return
UIType::MIC_VELOCITY; }
37
38
private
:
39
void
leave();
40
};
41
42
extern
MicVelocitySpeakers
micVelocitySpeakers;
43
44
}
// namespace deluge::gui
45
46
using
deluge::gui::MicVelocitySpeakers
;
47
using
deluge::gui::micVelocitySpeakers;
deluge::gui::MicVelocitySpeakers
Definition
mic_velocity_speakers.h:28
deluge::gui::MicVelocitySpeakers::getUIType
UIType getUIType() override
What type of UI is this? e.g. UIType::ARRANGER.
Definition
mic_velocity_speakers.h:36
deluge::hid::display::oled_canvas::Canvas
Definition
canvas.h:52
deluge::gui
Definition
palette.h:4