mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-27 16:17:31 -04:00
Reverted WFM mode to working state
TXView in ADSB TX Lockable TXView POCSAG TX bugfix with Alphanum and Numeric only Testing Labels widget
This commit is contained in:
parent
884d0c4f58
commit
0102a34286
17 changed files with 202 additions and 133 deletions
|
@ -349,6 +349,32 @@ void Text::paint(Painter& painter) {
|
|||
);
|
||||
}
|
||||
|
||||
/* Labels ****************************************************************/
|
||||
|
||||
Labels::Labels(
|
||||
std::vector<Label> * labels
|
||||
) : labels_ { labels }
|
||||
{
|
||||
}
|
||||
|
||||
void Labels::set_labels(std::vector<Label> * const labels) {
|
||||
labels_ = labels;
|
||||
set_dirty();
|
||||
}
|
||||
|
||||
void Labels::paint(Painter& painter) {
|
||||
/*const auto rect = screen_rect();
|
||||
const auto s = style();
|
||||
|
||||
painter.fill_rectangle(rect, s.background);
|
||||
|
||||
painter.draw_string(
|
||||
rect.location(),
|
||||
s,
|
||||
text
|
||||
);*/
|
||||
}
|
||||
|
||||
/* BigFrequency **********************************************************/
|
||||
|
||||
const uint8_t big_segment_font[11] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue