ncmpc  0.31
Functions
screen_find.hxx File Reference

Go to the source code of this file.

Functions

bool screen_find (ScreenManager &screen, ListWindow *lw, Command findcmd, const ListText &text)
 
void screen_jump (ScreenManager &screen, ListWindow *lw, const ListText &text, const ListRenderer &renderer)
 

Function Documentation

◆ screen_find()

bool screen_find ( ScreenManager screen,
ListWindow lw,
Command  findcmd,
const ListText text 
)

query user for a string and find it in a list window

Parameters
lwthe list window to search
findcmdthe search command/mode
callback_fna function returning the text of a given line
callback_dataa pointer passed to callback_fn
Returns
true if the command has been handled, false if not

◆ screen_jump()

void screen_jump ( ScreenManager screen,
ListWindow lw,
const ListText text,
const ListRenderer renderer 
)