Update logic for dealing with file dialogs.

This in preparation for an upcoming change that uses native file dialogs instead
of our very basic ImGui file dialog.

PiperOrigin-RevId: 861671041
Change-Id: I9b00c05efdda5e37ffe15048a2ccf66f6eca89d9
This commit is contained in:
Haroon Qureshi
2026-01-27 05:30:09 -08:00
committed by Copybara-Service
parent ad482a57bb
commit 75715ab966
9 changed files with 234 additions and 161 deletions
+6
View File
@@ -82,6 +82,12 @@ class Window {
// the value will be cleared until the next time a file is dropped.
std::string GetDropFile();
// Enables window resizing.
void EnableWindowResizing();
// Disables window resizing.
void DisableWindowResizing();
// Returns the handle to the underlying native window.
void* GetNativeWindowHandle() { return native_window_; }