mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-13 01:59:29 +00:00
Extract AIS RecentEntry painting into separate method.
Small steps in a larger refactor, and better selected-item-scrolls-off-the-bottom behavior.
This commit is contained in:
@@ -173,6 +173,13 @@ private:
|
||||
|
||||
void on_packet(const baseband::ais::Packet& packet);
|
||||
|
||||
bool draw_entry(
|
||||
const RecentEntry& entry,
|
||||
const Rect& target_rect,
|
||||
Painter& painter,
|
||||
const Style& s
|
||||
);
|
||||
|
||||
void truncate_entries();
|
||||
|
||||
RecentEntries::iterator selected_entry();
|
||||
|
||||
Reference in New Issue
Block a user