file choice: parent is Window
This commit is contained in:
committed by
Raphael Coeffic
parent
5878802c9b
commit
dd543c151b
+1
-1
@@ -33,7 +33,7 @@
|
||||
#define STR_NO_FILES_ON_SD "No files on SD Card!"
|
||||
#endif
|
||||
|
||||
FileChoice::FileChoice(FormGroup *parent, const rect_t &rect,
|
||||
FileChoice::FileChoice(Window* parent, const rect_t &rect,
|
||||
std::string folder, const char *extension, int maxlen,
|
||||
std::function<std::string()> getValue,
|
||||
std::function<void(std::string)> setValue,
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
class FileChoice : public ChoiceBase
|
||||
{
|
||||
public:
|
||||
FileChoice(FormGroup* parent, const rect_t& rect, std::string folder,
|
||||
FileChoice(Window* parent, const rect_t& rect, std::string folder,
|
||||
const char* extension, int maxlen,
|
||||
std::function<std::string()> getValue,
|
||||
std::function<void(std::string)> setValue,
|
||||
|
||||
Reference in New Issue
Block a user