mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
Captures secondary window close events so secondary windows can be closed via hitting the x on the window itself.
This commit is contained in:
parent
b2c4ff7745
commit
7d0831143c
2 changed files with 17 additions and 5 deletions
|
|
@ -87,6 +87,9 @@ private:
|
|||
/// Menu associated with this window. This is a passive property of the window and is not required to be used at all.
|
||||
void* mMenuHandle;
|
||||
|
||||
/// Indicates if the window is being closed. This allows us to safely ignore other events like focus being gained or losed after cleanup has begun
|
||||
bool mClosing;
|
||||
|
||||
/// @}
|
||||
|
||||
void _processSDLEvent(SDL_Event &evt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue