mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-28 01:05:58 -04:00
Fixing txt_line_processing logic, adding back track number and plalist name (#1146)
This commit is contained in:
parent
fff78ce00f
commit
ccd7bd6fc2
2 changed files with 47 additions and 37 deletions
|
@ -56,7 +56,8 @@ class PlaylistView : public View {
|
|||
app_settings::SettingsManager settings_{
|
||||
"tx_playlist", app_settings::Mode::TX};
|
||||
|
||||
static constexpr ui::Dim header_height = 3 * 16;
|
||||
// add or remove lines here to allow more header and less spectrum view, & vice versa
|
||||
static constexpr ui::Dim header_height = 4 * 16;
|
||||
|
||||
struct playlist_entry {
|
||||
rf::Frequency replay_frequency{0};
|
||||
|
@ -137,10 +138,10 @@ class PlaylistView : public View {
|
|||
&bitmap_play,
|
||||
Color::green(),
|
||||
Color::black()};
|
||||
// TODO: add track number
|
||||
// Text text_track{ //removed because there's no space for it
|
||||
// {13 * 8, 20 * 8, 16 * 8, 16},
|
||||
// "0/0"};
|
||||
|
||||
Text text_track{
|
||||
{0 * 8, 3 * 16, 16 * 8, 16},
|
||||
"0/0 no input playlist file"};
|
||||
|
||||
spectrum::WaterfallWidget waterfall{};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue