22 #ifndef MASSADD_DIALOG_H 23 #define MASSADD_DIALOG_H 25 #include "gui/dialog.h" 26 #include "gui/widgets/list.h" 27 #include "common/fs.h" 28 #include "common/hashmap.h" 29 #include "common/stack.h" 30 #include "common/str.h" 34 class StaticTextWidget;
35 class MassAddListWidget;
42 void handleCommand(
CommandSender *sender, uint32 cmd, uint32 data)
override;
43 void handleTickle()
override;
47 return _games.
front().gameId;
55 void updateGameList();
81 void appendToSelectedList(
bool selected) { _listSelected.push_back(selected); }
82 void clearSelectedList() { _listSelected.clear(); }
87 if (item < (
signed int)_listSelected.size() && _listSelected[item]) {
T & front()
Definition: array.h:217
bool empty() const
Definition: array.h:351
Array< String > StringArray
Definition: str-array.h:43
Indicates that the widget is enabled.
Definition: ThemeEngine.h:251
State
State of the widget to be drawn.
Definition: ThemeEngine.h:249
Indicates that the widget is disabled, that does NOT include that it is invisible.
Definition: ThemeEngine.h:250