load toxcore settings from conf like totato does

add ui in startup to configure the core for this run
other start screen improvements
This commit is contained in:
Green Sky
2025-02-06 19:47:48 +01:00
parent ce0ff0bea9
commit bfbeafddf7
5 changed files with 246 additions and 92 deletions

View File

@@ -119,7 +119,7 @@ struct MainScreen final : public Screen {
std::vector<std::string> _dopped_files;
MainScreen(SimpleConfigModel&& conf_, SDL_Renderer* renderer_, Theme& theme_, std::string save_path, std::string save_password, std::string new_username, std::vector<std::string> plugins);
MainScreen(const SimpleConfigModel& conf_, SDL_Renderer* renderer_, Theme& theme_, std::string save_path, std::string save_password, std::string new_username, std::vector<std::string> plugins);
~MainScreen(void);
bool handleEvent(SDL_Event& e) override;