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 {
|
class Audio : public Widget {
|
||||||
public:
|
public:
|
||||||
constexpr Audio(
|
Audio(
|
||||||
const Rect parent_rect
|
const Rect parent_rect
|
||||||
) : Widget { parent_rect },
|
) : Widget { parent_rect },
|
||||||
rms_db_ { -120 },
|
rms_db_ { -120 },
|
||||||
|
@ -34,7 +34,7 @@ namespace ui {
|
|||||||
|
|
||||||
class Channel : public Widget {
|
class Channel : public Widget {
|
||||||
public:
|
public:
|
||||||
constexpr Channel(
|
Channel(
|
||||||
const Rect parent_rect
|
const Rect parent_rect
|
||||||
) : Widget { parent_rect },
|
) : Widget { parent_rect },
|
||||||
max_db_ { -120 }
|
max_db_ { -120 }
|
||||||
|
@ -84,7 +84,7 @@ private:
|
|||||||
|
|
||||||
class TemperatureWidget : public Widget {
|
class TemperatureWidget : public Widget {
|
||||||
public:
|
public:
|
||||||
explicit constexpr TemperatureWidget(
|
explicit TemperatureWidget(
|
||||||
Rect parent_rect
|
Rect parent_rect
|
||||||
) : Widget { parent_rect }
|
) : Widget { parent_rect }
|
||||||
{
|
{
|
||||||
|
@ -34,7 +34,7 @@ namespace ui {
|
|||||||
|
|
||||||
class RSSI : public Widget {
|
class RSSI : public Widget {
|
||||||
public:
|
public:
|
||||||
constexpr RSSI(
|
RSSI(
|
||||||
const Rect parent_rect
|
const Rect parent_rect
|
||||||
) : Widget { parent_rect },
|
) : Widget { parent_rect },
|
||||||
min_ { 0 },
|
min_ { 0 },
|
||||||
|
@ -51,12 +51,12 @@ private:
|
|||||||
|
|
||||||
class Widget {
|
class Widget {
|
||||||
public:
|
public:
|
||||||
constexpr Widget(
|
Widget(
|
||||||
) : parent_rect { }
|
) : parent_rect { }
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr Widget(
|
Widget(
|
||||||
Rect parent_rect
|
Rect parent_rect
|
||||||
) : parent_rect { parent_rect }
|
) : parent_rect { parent_rect }
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user