wavelength 1.0.0
Loading...
Searching...
No Matches
uploadtoollist.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"
8#include "met/uploadinfo.h"
9#include "script/dataarray.h"
10
18class UploadToolList : public FreqList {
19public:
25 ~UploadToolList() override = default;
26
34 UploadToolList(DataArray *pData, const char *pszPanel) : FreqList(pData, pszPanel) {
35 }
36
47 static UIComponent *New(DataArray *pData, const char *pszPanel) {
48 return new UploadToolList(pData, pszPanel);
49 }
50
58 void SetFiles(const std::list<UploadInfo> &files, int nSelected);
59
68 void UpdateRow(int nRow, int nItem) override;
69
75 void UpdateCursor() override;
76
82 void ScrollUp() override;
83
84private:
85 std::list<UploadInfo> mFiles;
86};
87
88#endif
A list component of the Freq menus, which plays the menu sounds as the selection moves.
Definition freqlist.h:13
void ScrollUp() override
Select the previous item, and play the sound of the up button when the selection moved.
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