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::Painter& painter,
|
||||||
ui::Context& context
|
ui::Context& context
|
||||||
) : top_widget { top_widget },
|
) : top_widget { top_widget },
|
||||||
painter { painter },
|
painter(painter),
|
||||||
context { context }
|
context(context)
|
||||||
{
|
{
|
||||||
// touch_manager.on_started = [this](const ui::TouchEvent event) {
|
// touch_manager.on_started = [this](const ui::TouchEvent event) {
|
||||||
// this->context.focus_manager.update(this->top_widget, event);
|
// this->context.focus_manager.update(this->top_widget, event);
|
||||||
|
@ -35,7 +35,7 @@ class ReceiverModel {
|
|||||||
public:
|
public:
|
||||||
constexpr ReceiverModel(
|
constexpr ReceiverModel(
|
||||||
ClockManager& clock_manager
|
ClockManager& clock_manager
|
||||||
) : clock_manager { clock_manager }
|
) : clock_manager(clock_manager)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ public:
|
|||||||
const Rect parent_rect,
|
const Rect parent_rect,
|
||||||
lcd::ILI9341& display
|
lcd::ILI9341& display
|
||||||
) : Widget { parent_rect },
|
) : Widget { parent_rect },
|
||||||
display { display }
|
display(display)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ SystemView::SystemView(
|
|||||||
Context& context,
|
Context& context,
|
||||||
const Rect parent_rect
|
const Rect parent_rect
|
||||||
) : View { parent_rect },
|
) : View { parent_rect },
|
||||||
context_ { context }
|
context_(context)
|
||||||
{
|
{
|
||||||
style_ = &style_default;
|
style_ = &style_default;
|
||||||
|
|
||||||
|
@ -376,7 +376,7 @@ void LNAGainField::on_focus() {
|
|||||||
ReceiverView::ReceiverView(
|
ReceiverView::ReceiverView(
|
||||||
NavigationView& nav,
|
NavigationView& nav,
|
||||||
ReceiverModel& receiver_model
|
ReceiverModel& receiver_model
|
||||||
) : receiver_model { receiver_model }
|
) : receiver_model(receiver_model)
|
||||||
{
|
{
|
||||||
add_children({ {
|
add_children({ {
|
||||||
&button_done,
|
&button_done,
|
||||||
|
@ -60,7 +60,7 @@ public:
|
|||||||
|
|
||||||
FIR64AndDecimateBy2Real(
|
FIR64AndDecimateBy2Real(
|
||||||
const std::array<int16_t, taps_count>& taps
|
const std::array<int16_t, taps_count>& taps
|
||||||
) : taps { taps }
|
) : taps(taps)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -582,7 +582,7 @@ class FSKProcessor : public BasebandProcessor {
|
|||||||
public:
|
public:
|
||||||
FSKProcessor(
|
FSKProcessor(
|
||||||
MessageHandlerMap& message_handlers
|
MessageHandlerMap& message_handlers
|
||||||
) : message_handlers { message_handlers }
|
) : message_handlers(message_handlers)
|
||||||
{
|
{
|
||||||
message_handlers[Message::ID::FSKConfiguration] = [this](const Message* const p) {
|
message_handlers[Message::ID::FSKConfiguration] = [this](const Message* const p) {
|
||||||
auto m = reinterpret_cast<const FSKConfigurationMessage*>(p);
|
auto m = reinterpret_cast<const FSKConfigurationMessage*>(p);
|
||||||
|
@ -43,7 +43,7 @@ class Painter {
|
|||||||
public:
|
public:
|
||||||
Painter(
|
Painter(
|
||||||
lcd::ILI9341& display
|
lcd::ILI9341& display
|
||||||
) : display_ { display }
|
) : display_(display)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user