ncmpc  0.29
Data Structures | Functions
screen_browser.h File Reference
#include "command.h"
#include "config.h"
#include "ncmpc_curses.h"
#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  screen_browser
 

Functions

void screen_browser_sync_highlights (struct filelist *fl, const struct mpdclient_playlist *playlist)
 
void screen_browser_paint_directory (WINDOW *w, unsigned width, bool selected, const char *name)
 
void screen_browser_paint (const struct screen_browser *browser)
 
bool browser_cmd (struct screen_browser *browser, struct mpdclient *c, command_t cmd)
 
struct filelist_entrybrowser_get_selected_entry (const struct screen_browser *browser)
 

Function Documentation

◆ screen_browser_sync_highlights()

void screen_browser_sync_highlights ( struct filelist fl,
const struct mpdclient_playlist playlist 
)

◆ screen_browser_paint_directory()

void screen_browser_paint_directory ( WINDOW *  w,
unsigned  width,
bool  selected,
const char *  name 
)

◆ screen_browser_paint()

void screen_browser_paint ( const struct screen_browser browser)

◆ browser_cmd()

bool browser_cmd ( struct screen_browser browser,
struct mpdclient c,
command_t  cmd 
)

◆ browser_get_selected_entry()

struct filelist_entry* browser_get_selected_entry ( const struct screen_browser browser)