wavelength 1.0.0
Loading...
Searching...
No Matches
repostoollist.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef VIDEO_STANDARD_PAL
4
5#include <list>
6
7#include "met/freqlist.h"
9#include "script/dataarray.h"
10
17class ReposToolList : public FreqList {
18public:
24 ~ReposToolList() override = default;
25
33 ReposToolList(DataArray *pData, const char *pszPanel);
34
45 static UIComponent *New(DataArray *pData, const char *pszPanel) {
46 return new ReposToolList(pData, pszPanel);
47 }
48
55 void SetRemixes(const std::list<NetRepoRemix> &remixes);
56
64 void UpdateRow(int nRow, int nItem) override;
65
72 void UpdateCursor() override;
73
74private:
75 std::list<NetRepoRemix> mRemixes;
76 const char *mPicPanel;
77};
78
79#endif
A list component of the Freq menus, which plays the menu sounds as the selection moves.
Definition freqlist.h:13
static UIComponent * New(DataArray *pData, const char *pszPanel)
Create a list from its script description.
Definition uilist.h:71
virtual void UpdateCursor()
Move the cursor to the row with the selection, or dim it when the list is empty.
virtual void UpdateRow(int nRow, int nItem)
Fill the cells of a row with an item.
Definition uilist.h:104