mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
De-constexpr a few UI constructors.
Because it was silly.
This commit is contained in:
parent
61b5faf8b5
commit
27a1423309
@ -34,7 +34,7 @@ namespace ui {
|
||||
|
||||
class Audio : public Widget {
|
||||
public:
|
||||
constexpr Audio(
|
||||
Audio(
|
||||
const Rect parent_rect
|
||||
) : Widget { parent_rect },
|
||||
rms_db_ { -120 },
|
||||
|
@ -34,7 +34,7 @@ namespace ui {
|
||||
|
||||
class Channel : public Widget {
|
||||
public:
|
||||
constexpr Channel(
|
||||
Channel(
|
||||
const Rect parent_rect
|
||||
) : Widget { parent_rect },
|
||||
max_db_ { -120 }
|
||||
|
@ -84,7 +84,7 @@ private:
|
||||
|
||||
class TemperatureWidget : public Widget {
|
||||
public:
|
||||
explicit constexpr TemperatureWidget(
|
||||
explicit TemperatureWidget(
|
||||
Rect parent_rect
|
||||
) : Widget { parent_rect }
|
||||
{
|
||||
|
@ -34,7 +34,7 @@ namespace ui {
|
||||
|
||||
class RSSI : public Widget {
|
||||
public:
|
||||
constexpr RSSI(
|
||||
RSSI(
|
||||
const Rect parent_rect
|
||||
) : Widget { parent_rect },
|
||||
min_ { 0 },
|
||||
|
@ -51,12 +51,12 @@ private:
|
||||
|
||||
class Widget {
|
||||
public:
|
||||
constexpr Widget(
|
||||
Widget(
|
||||
) : parent_rect { }
|
||||
{
|
||||
}
|
||||
|
||||
constexpr Widget(
|
||||
Widget(
|
||||
Rect parent_rect
|
||||
) : parent_rect { parent_rect }
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user