mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
parent
92ba4d7fea
commit
e571ca7f1c
@ -281,8 +281,8 @@ public:
|
||||
ui::Painter& painter,
|
||||
ui::Context& context
|
||||
) : top_widget { top_widget },
|
||||
painter { painter },
|
||||
context { context }
|
||||
painter(painter),
|
||||
context(context)
|
||||
{
|
||||
// touch_manager.on_started = [this](const ui::TouchEvent event) {
|
||||
// this->context.focus_manager.update(this->top_widget, event);
|
||||
|
@ -35,7 +35,7 @@ class ReceiverModel {
|
||||
public:
|
||||
constexpr ReceiverModel(
|
||||
ClockManager& clock_manager
|
||||
) : clock_manager { clock_manager }
|
||||
) : clock_manager(clock_manager)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ public:
|
||||
const Rect parent_rect,
|
||||
lcd::ILI9341& display
|
||||
) : Widget { parent_rect },
|
||||
display { display }
|
||||
display(display)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -119,7 +119,7 @@ SystemView::SystemView(
|
||||
Context& context,
|
||||
const Rect parent_rect
|
||||
) : View { parent_rect },
|
||||
context_ { context }
|
||||
context_(context)
|
||||
{
|
||||
style_ = &style_default;
|
||||
|
||||
|
@ -376,7 +376,7 @@ void LNAGainField::on_focus() {
|
||||
ReceiverView::ReceiverView(
|
||||
NavigationView& nav,
|
||||
ReceiverModel& receiver_model
|
||||
) : receiver_model { receiver_model }
|
||||
) : receiver_model(receiver_model)
|
||||
{
|
||||
add_children({ {
|
||||
&button_done,
|
||||
|
@ -60,7 +60,7 @@ public:
|
||||
|
||||
FIR64AndDecimateBy2Real(
|
||||
const std::array<int16_t, taps_count>& taps
|
||||
) : taps { taps }
|
||||
) : taps(taps)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -582,7 +582,7 @@ class FSKProcessor : public BasebandProcessor {
|
||||
public:
|
||||
FSKProcessor(
|
||||
MessageHandlerMap& message_handlers
|
||||
) : message_handlers { message_handlers }
|
||||
) : message_handlers(message_handlers)
|
||||
{
|
||||
message_handlers[Message::ID::FSKConfiguration] = [this](const Message* const p) {
|
||||
auto m = reinterpret_cast<const FSKConfigurationMessage*>(p);
|
||||
|
@ -43,7 +43,7 @@ class Painter {
|
||||
public:
|
||||
Painter(
|
||||
lcd::ILI9341& display
|
||||
) : display_ { display }
|
||||
) : display_(display)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user