[feat] support drag-and-drop file sending, refs #63

This commit is contained in:
dijunkun
2026-01-14 18:13:22 +08:00
parent 92d670916e
commit 669fac7f50
4 changed files with 179 additions and 73 deletions

View File

@@ -190,6 +190,12 @@ class Render {
void UpdateRenderRect();
void ProcessSdlEvent(const SDL_Event& event);
void ProcessFileDropEvent(const SDL_Event& event);
void ProcessSelectedFile(const std::string& path,
std::shared_ptr<SubStreamWindowProperties>& props,
const std::string& file_label);
private:
int CreateStreamRenderWindow();
int TitleBar(bool main_window);