#include <AlbumListPage.hxx>
|
| AlbumListPage (ScreenManager &_screen, WINDOW *_w, Size size) |
|
template<typename A > |
void | SetArtist (A &&_artist) |
|
const std::string & | GetArtist () const |
|
bool | IsShowAll () const |
|
const char * | GetSelectedValue () const |
|
void | Paint () const override |
|
void | Update (struct mpdclient &c, unsigned events) override |
|
bool | OnCommand (struct mpdclient &c, command_t cmd) override |
|
const char * | GetTitle (char *s, size_t size) const override |
|
void | PaintListItem (WINDOW *w, unsigned i, unsigned y, unsigned width, bool selected) const override |
|
const char * | GetListItemText (char *buffer, size_t size, unsigned i) const override |
|
| ListPage (WINDOW *w, Size size) |
|
void | OnResize (Size size) override |
|
bool | OnCommand (struct mpdclient &, command_t cmd) override |
|
virtual | ~Page ()=default |
|
bool | IsDirty () const |
|
void | SetDirty (bool _dirty=true) |
|
void | Resize (Size new_size) |
|
void | AddPendingEvents (unsigned events) |
|
void | Update (struct mpdclient &c) |
|
virtual void | OnOpen (struct mpdclient &) |
|
virtual void | OnClose () |
|
◆ AlbumListPage()
◆ SetArtist()
template<typename A >
void AlbumListPage::SetArtist |
( |
A && |
_artist | ) |
|
|
inline |
◆ GetArtist()
const std::string& AlbumListPage::GetArtist |
( |
| ) |
const |
|
inline |
◆ IsShowAll()
bool AlbumListPage::IsShowAll |
( |
| ) |
const |
|
inline |
◆ GetSelectedValue()
const char* AlbumListPage::GetSelectedValue |
( |
| ) |
const |
|
inline |
◆ Paint()
void AlbumListPage::Paint |
( |
| ) |
const |
|
overridevirtual |
◆ Update()
void AlbumListPage::Update |
( |
struct mpdclient & |
c, |
|
|
unsigned |
events |
|
) |
| |
|
overridevirtual |
◆ OnCommand()
Handle a command.
- Returns
- true if the command should not be handled by the ncmpc core
Implements Page.
◆ GetTitle()
const char* AlbumListPage::GetTitle |
( |
char * |
s, |
|
|
size_t |
size |
|
) |
| const |
|
overridevirtual |
◆ PaintListItem()
void AlbumListPage::PaintListItem |
( |
WINDOW * |
w, |
|
|
unsigned |
i, |
|
|
unsigned |
y, |
|
|
unsigned |
width, |
|
|
bool |
selected |
|
) |
| const |
|
overridevirtual |
◆ GetListItemText()
const char* AlbumListPage::GetListItemText |
( |
char * |
buffer, |
|
|
size_t |
size, |
|
|
unsigned |
i |
|
) |
| const |
|
overridevirtual |
The documentation for this class was generated from the following file: