UI: Optional prompt to quit for non win32 systems

D566 by @januz

Use Blender native dialog when OS dialog's aren't supported.
This commit is contained in:
Campbell Barton
2018-03-21 16:00:18 +01:00
parent 23ffd4ec39
commit 5ba5254ec1
15 changed files with 195 additions and 15 deletions

View File

@@ -380,6 +380,11 @@ int GHOST_System::confirmQuit(GHOST_IWindow * /*window*/) const
return 1;
}
bool GHOST_System::supportsNativeDialogs(void)
{
return 1;
}
bool GHOST_System::useNativePixel(void)
{
m_nativePixel = true;