mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-12-15 15:59:39 -05:00
Allow frequency override in Playlist, Folder fixes (#1194)
* Allow frequency to be changed per-entry * Folder fixes, use TX freq --------- Co-authored-by: kallanreed <kallanreed@noreply.github.com>
This commit is contained in:
parent
3f8a4957af
commit
faa4367295
4 changed files with 45 additions and 15 deletions
|
|
@ -90,7 +90,7 @@ class PlaylistView : public View {
|
|||
const std::filesystem::path& path,
|
||||
const std::string& message);
|
||||
|
||||
const playlist_entry* current() const;
|
||||
playlist_entry* current();
|
||||
|
||||
bool is_active() const;
|
||||
bool at_end() const;
|
||||
|
|
@ -110,10 +110,8 @@ class PlaylistView : public View {
|
|||
Text text_filename{
|
||||
{0 * 8, 0 * 16, 30 * 8, 16}};
|
||||
|
||||
// TODO: delay duration field.
|
||||
// TODO: TxFrequencyField to edit entry frequency.
|
||||
Text text_frequency{
|
||||
{0 * 8, 1 * 16, 9 * 8, 16}};
|
||||
FrequencyField field_frequency{
|
||||
{0 * 8, 1 * 16}};
|
||||
|
||||
Text text_sample_rate{
|
||||
{10 * 8, 1 * 16, 7 * 8, 16}};
|
||||
|
|
@ -127,6 +125,8 @@ class PlaylistView : public View {
|
|||
Text text_duration{
|
||||
{0 * 8, 2 * 16, 5 * 8, 16}};
|
||||
|
||||
// TODO: delay duration field.
|
||||
|
||||
TransmitterView2 tx_view{
|
||||
9 * 8, 1 * 8, SHORT_UI};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue