inLimbo
TUI Music Player that keeps you in Limbo.
 
Loading...
Searching...
No Matches
ui_handler.hpp File Reference
#include "../dbus/mpris-service.hpp"
#include "../music/audio_playback.hpp"
#include "./components/scroller.hpp"
#include "./thread_manager.hpp"
#include "keymaps.hpp"
#include "misc.hpp"
#include <iomanip>
#include <sstream>
#include <unordered_set>

Go to the source code of this file.

Classes

class  MusicPlayer
 A terminal-based music player. More...
 

Macros

#define STATUS_PLAYING   "<>"
 
#define STATUS_PAUSED   "!!"
 
#define LYRICS_AVAIL   "L*"
 
#define ADDN_PROPS_AVAIL   "&*"
 
#define STATUS_BAR_DELIM   " | "
 
#define MAX_LENGTH_SONG_NAME   50
 
#define MAX_LENGTH_ARTIST_NAME   30
 
#define SHOW_MAIN_UI   0
 
#define SHOW_HELP_SCREEN   1
 
#define SHOW_LYRICS_SCREEN   2
 
#define SHOW_QUEUE_SCREEN   3
 
#define SHOW_SONG_INFO_SCREEN   4
 
#define MIN_DEBOUNCE_TIME_IN_MS   500
 

Macro Definition Documentation

◆ ADDN_PROPS_AVAIL

#define ADDN_PROPS_AVAIL   "&*"

◆ LYRICS_AVAIL

#define LYRICS_AVAIL   "L*"

◆ MAX_LENGTH_ARTIST_NAME

#define MAX_LENGTH_ARTIST_NAME   30

◆ MAX_LENGTH_SONG_NAME

#define MAX_LENGTH_SONG_NAME   50

STRING TRUNCATION MACROS

◆ MIN_DEBOUNCE_TIME_IN_MS

#define MIN_DEBOUNCE_TIME_IN_MS   500

◆ SHOW_HELP_SCREEN

#define SHOW_HELP_SCREEN   1

◆ SHOW_LYRICS_SCREEN

#define SHOW_LYRICS_SCREEN   2

◆ SHOW_MAIN_UI

#define SHOW_MAIN_UI   0

SCREEN MACROS

◆ SHOW_QUEUE_SCREEN

#define SHOW_QUEUE_SCREEN   3

◆ SHOW_SONG_INFO_SCREEN

#define SHOW_SONG_INFO_SCREEN   4

◆ STATUS_BAR_DELIM

#define STATUS_BAR_DELIM   " | "

◆ STATUS_PAUSED

#define STATUS_PAUSED   "!!"

◆ STATUS_PLAYING

#define STATUS_PLAYING   "<>"

MACROS FOR SONG DETAILS