ncmpc  0.29
Data Structures | Functions
status_bar.h File Reference
#include "window.h"
#include "hscroll.h"
#include <glib.h>

Go to the source code of this file.

Data Structures

struct  status_bar
 

Functions

void status_bar_init (struct status_bar *p, unsigned width, int y, int x)
 
void status_bar_deinit (struct status_bar *p)
 
void status_bar_paint (struct status_bar *p, const struct mpd_status *status, const struct mpd_song *song)
 
void status_bar_resize (struct status_bar *p, unsigned width, int y, int x)
 
void status_bar_message (struct status_bar *p, const char *msg)
 
void status_bar_clear_message (struct status_bar *p)
 

Function Documentation

◆ status_bar_init()

void status_bar_init ( struct status_bar p,
unsigned  width,
int  y,
int  x 
)

◆ status_bar_deinit()

void status_bar_deinit ( struct status_bar p)

◆ status_bar_paint()

void status_bar_paint ( struct status_bar p,
const struct mpd_status *  status,
const struct mpd_song *  song 
)

◆ status_bar_resize()

void status_bar_resize ( struct status_bar p,
unsigned  width,
int  y,
int  x 
)

◆ status_bar_message()

void status_bar_message ( struct status_bar p,
const char *  msg 
)

◆ status_bar_clear_message()

void status_bar_clear_message ( struct status_bar p)