mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Cleanup and bigsfix UI for thumbnail and preview source
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
class Session;
|
||||
class FrameBufferImage;
|
||||
|
||||
|
||||
class SessionLoader : public Visitor {
|
||||
|
||||
SessionLoader();
|
||||
@@ -76,6 +77,15 @@ protected:
|
||||
|
||||
};
|
||||
|
||||
struct SessionInformation {
|
||||
std::string description;
|
||||
FrameBufferImage *thumbnail;
|
||||
SessionInformation() {
|
||||
description = "";
|
||||
thumbnail = nullptr;
|
||||
}
|
||||
};
|
||||
|
||||
class SessionCreator : public SessionLoader {
|
||||
|
||||
tinyxml2::XMLDocument xmlDoc_;
|
||||
@@ -89,8 +99,7 @@ public:
|
||||
|
||||
void load(const std::string& filename);
|
||||
|
||||
static std::string info(const std::string& filename);
|
||||
static FrameBufferImage *thumbnail(const std::string& filename);
|
||||
static SessionInformation info(const std::string& filename);
|
||||
};
|
||||
|
||||
#endif // SESSIONCREATOR_H
|
||||
|
||||
Reference in New Issue
Block a user