feat(color): add filters to file chooser popup menu (#4946)

This commit is contained in:
philmoz
2024-05-30 15:21:11 +10:00
committed by GitHub
parent 196b3d62e4
commit e1b1b88f01
8 changed files with 135 additions and 48 deletions
@@ -111,7 +111,7 @@ class ScriptEditWindow : public Page
LUA_LOAD_MODEL_SCRIPT(idx); // async reload ...
update = true;
},
true);
true, STR_SCRIPT);
// Custom name
line = window->newLine(grid);
+1 -1
View File
@@ -92,7 +92,7 @@ static void setModelBitmap(std::string newValue)
struct ModelBitmapEdit : public FileChoice {
ModelBitmapEdit(Window *parent, const rect_t &rect) :
FileChoice(parent, rect, BITMAPS_PATH, BITMAPS_EXT, LEN_BITMAP_NAME,
getModelBitmap, setModelBitmap)
getModelBitmap, setModelBitmap, false, STR_BITMAP)
{
}
};
+1 -1
View File
@@ -482,7 +482,7 @@ void FunctionEditPage::updateSpecialFunctionOneWindow()
if (func == FUNC_PLAY_SCRIPT || func == FUNC_RGB_LED)
LUA_LOAD_MODEL_SCRIPTS();
},
true); // strip extension
true, funcGetLabel(func));
break;
case FUNC_SET_TIMER: {