mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Can now drag n drop proejct in project launcher + delete or right click to remove from list
This commit is contained in:
@@ -42,6 +42,8 @@ namespace Nuake
|
||||
int32_t SelectedProject = -1;
|
||||
std::vector<ProjectPreview> _Projects;
|
||||
std::string queuedProjectPath;
|
||||
std::string queuedRemovalPath;
|
||||
|
||||
public:
|
||||
WelcomeWindow(Nuake::EditorInterface* editor);
|
||||
~WelcomeWindow() = default;
|
||||
@@ -50,6 +52,9 @@ namespace Nuake
|
||||
|
||||
bool IsProjectQueued() const { return !queuedProjectPath.empty(); };
|
||||
void LoadQueuedProject();
|
||||
|
||||
void ImportProject(const std::string& file);
|
||||
|
||||
private:
|
||||
void DrawRecentProjectsSection();
|
||||
void DrawProjectItem(const uint32_t projectPreview);
|
||||
|
||||
Reference in New Issue
Block a user