Added more settings and actions to phone version
This commit is contained in:
parent
fd2ce71db6
commit
1b99c64c1b
21 changed files with 388 additions and 179 deletions
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
DesktopDrawingProgramScreen::DesktopDrawingProgramScreen(MainProgram& m):
|
||||
DrawingProgramScreen(m),
|
||||
toolbar(m)
|
||||
toolbar(m, *this)
|
||||
{}
|
||||
|
||||
void DesktopDrawingProgramScreen::update() {
|
||||
|
|
@ -76,3 +76,10 @@ void DesktopDrawingProgramScreen::input_text_key_callback(const InputManager::Ke
|
|||
}
|
||||
DrawingProgramScreen::input_text_key_callback(key);
|
||||
}
|
||||
|
||||
void DesktopDrawingProgramScreen::open_file_selector(const std::string& filePickerName, const std::vector<ExtensionFilter>& extensionFilters, OpenFileSelectorCallback postSelectionFunc, const std::string& fileName, bool isSaving) {
|
||||
if(main.conf.useNativeFilePicker)
|
||||
Screen::open_file_selector(filePickerName, extensionFilters, postSelectionFunc, fileName, isSaving);
|
||||
else
|
||||
toolbar.open_file_selector_non_native(filePickerName, extensionFilters, postSelectionFunc, fileName, isSaving);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue