Complete Modern desktop widgets and file libraries (by Codex)

This commit is contained in:
Codex committed 2026-10-26 00:08:50 +01:00
1 parent db89d889f7
commit 31bcf93205
43 files changed
+3134 -484

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
// 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<DemoFileEntry> files_rows_;
std::optional<DemoFileEntry> files_entry_;
std::shared_ptr<const Catalog> 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 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;