infinipaint/src/Screens/FileSelectScreen.hpp

18 lines
514 B
C++
Raw Normal View History

2026-04-12 17:31:32 +03:00
#pragma once
2026-04-17 19:32:49 +03:00
#include "Screen.hpp"
2026-04-12 17:31:32 +03:00
2026-04-17 19:32:49 +03:00
class FileSelectScreen : public Screen {
2026-04-12 17:31:32 +03:00
public:
2026-04-17 19:32:49 +03:00
FileSelectScreen(MainProgram& m);
virtual void gui_layout_run() override;
virtual void draw(SkCanvas* canvas) override;
private:
2026-04-20 18:56:39 +03:00
struct FileInfo {
std::string fileName;
SDL_Time lastAccessTime;
std::string lastAccessDate;
};
const std::vector<FileInfo>& get_file_list();
std::optional<std::vector<FileInfo>> fileListOptional;
2026-04-12 17:31:32 +03:00
};