sketch out meta-evaluation for file path maps; have an extra drop-completion ui step when drag/dropping exes, so you can easily drag/drop exes from explorer and add them as targets (the likely common case), but also allowing viewing them with the memory viewer

This commit is contained in:
Ryan Fleury
2024-10-10 09:03:38 -07:00
parent 5933708bdb
commit 0c6912ed78
8 changed files with 167 additions and 55 deletions
+1 -1
View File
@@ -552,7 +552,7 @@ os_w32_wnd_proc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
U64 name_size = DragQueryFile(drop, idx, 0, 0) + 1;
U8 *name_ptr = push_array(os_w32_event_arena, U8, name_size);
DragQueryFile(drop, idx, (char *)name_ptr, name_size);
str8_list_push(os_w32_event_arena, &event->strings, str8(name_ptr, name_size));
str8_list_push(os_w32_event_arena, &event->strings, str8(name_ptr, name_size - 1));
}
DragFinish(drop);
}break;