ncmpc  0.29
Data Fields
screen_functions Struct Reference

#include <screen_interface.h>

Data Fields

void(* init )(WINDOW *w, unsigned cols, unsigned rows)
 
void(* exit )(void)
 
void(* open )(struct mpdclient *c)
 
void(* close )(void)
 
void(* resize )(unsigned cols, unsigned rows)
 
void(* paint )(void)
 
void(* update )(struct mpdclient *c)
 
bool(* cmd )(struct mpdclient *c, command_t cmd)
 
const char *(* get_title )(char *s, size_t size)
 

Field Documentation

◆ init

void(* screen_functions::init) (WINDOW *w, unsigned cols, unsigned rows)

◆ exit

void(* screen_functions::exit) (void)

◆ open

void(* screen_functions::open) (struct mpdclient *c)

◆ close

void(* screen_functions::close) (void)

◆ resize

void(* screen_functions::resize) (unsigned cols, unsigned rows)

◆ paint

void(* screen_functions::paint) (void)

◆ update

void(* screen_functions::update) (struct mpdclient *c)

◆ cmd

bool(* screen_functions::cmd) (struct mpdclient *c, command_t cmd)

Handle a command.

Returns
true if the command should not be handled by the ncmpc core.

◆ get_title

const char*(* screen_functions::get_title) (char *s, size_t size)

The documentation for this struct was generated from the following file: