20 #ifndef NCMPC_STATUS_BAR_HXX 21 #define NCMPC_STATUS_BAR_HXX 29 #include <mpd/status.h> 39 unsigned message_source_id = 0;
45 const char *left_text;
48 std::string center_text;
50 unsigned left_width, right_width;
52 unsigned center_width;
67 void Update(
const struct mpd_status *status,
68 const struct mpd_song *song);
72 bool OnClearMessageTimer();
StatusBar(Point p, unsigned width)
Window & GetWindow()
Definition: StatusBar.hxx:59
Definition: Window.hxx:28
void Update(const struct mpd_status *status, const struct mpd_song *song)
void SetMessage(const char *msg)
Definition: StatusBar.hxx:36
void OnResize(Point p, unsigned width)