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:
committed by
Copybara-Service
parent
ad482a57bb
commit
75715ab966
@@ -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_; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user