// SPDX-License-Identifier: GPL-3.0-only // App-local browser drafts have no authority over the active career. std::string files_mode_, files_selected_, files_name_, files_feedback_; Json files_desktop_base_; std::string files_theme_base_; std::vector files_rows_; std::optional files_entry_; std::shared_ptr files_world_; const DataSource *files_source_ = nullptr; uint64_t files_revision_ = 0; float files_scroll_ = 0.f; bool files_restore_scroll_ = false, files_capturing_ = false; DemoFiles files_store() const; bool files_bound() const; void reset_files(); void files_begin(const std::string &); void files_reload(const std::string &selected = {}); void files_select(const std::string &); void files_before_render(); void files_after_render(); std::string render_files(bool layouts, bool save); std::string render_files_page(bool save); std::string files_page_details(bool save); std::string files_details(bool layouts, bool save); std::string files_standard_preview(); bool files_action(const std::string &, Rml::Element *); bool files_change(Rml::Element *); bool files_event(Rml::Event &); std::string files_capture_preview(); void files_save(const std::string &, const std::string &, const std::string &); void files_load(); void files_saved_success( bool career); // Root owns main-menu / quit continuation. void files_loaded_success(); // Root resets source-dependent presenters. bool files_reveal_selected_ = false;