|
TB2026-YDS Firmware
|
#include "playlist_browser.h"#include "navigator.h"#include "gfx.h"#include "status_bar.h"#include "playlist.h"#include "player.h"#include <string.h>#include <stdio.h>Macros | |
| #define | PB_CONTENT_Y STATUS_BAR_H /* 16 */ |
| #define | PB_ROW_H 12 |
| #define | PB_VISIBLE 12 /* rows × 12px = 144px of content */ |
| #define | PB_ARROW_X 4 |
| #define | PB_TEXT_X 14 |
| #define | PB_MARQUEE_PAUSE 2 /* ticks to hold at each end (2 × 250 ms = 500 ms) */ |
| #define | PB_POPUP_X 20 |
| #define | PB_POPUP_Y 50 |
| #define | PB_POPUP_W 136 |
| #define | PB_POPUP_H 86 |
Enumerations | |
| enum | pb_state_t { PB_BROWSE , PB_ACTION } |
| enum | { PB_ACT_PLAY , PB_ACT_UP , PB_ACT_DOWN , PB_ACT_REMOVE , PB_N_ACTIONS } |
Functions | |
| screen_t * | playlist_browser_screen (void) |
| Get the singleton Playlist Browser screen. | |
| #define PB_ARROW_X 4 |
| #define PB_CONTENT_Y STATUS_BAR_H /* 16 */ |
| #define PB_MARQUEE_PAUSE 2 /* ticks to hold at each end (2 × 250 ms = 500 ms) */ |
| #define PB_POPUP_H 86 |
| #define PB_POPUP_W 136 |
| #define PB_POPUP_X 20 |
| #define PB_POPUP_Y 50 |
| #define PB_ROW_H 12 |
| #define PB_TEXT_X 14 |
| #define PB_VISIBLE 12 /* rows × 12px = 144px of content */ |
| enum pb_state_t |
| screen_t * playlist_browser_screen | ( | void | ) |
Get the singleton Playlist Browser screen.
Shows the play queue from the current track onward (current pinned at the top, upcoming tracks below). UP/DOWN navigate; SELECT on an upcoming track opens a move-up / move-down / remove menu. Reached from Now Playing via DOWN; BACK, or UP while at the top, returns to Now Playing.