Let Wine handle the window interface
This commit is contained in:
committed by
Lukas W
parent
d04fd9f542
commit
7a9396d6ea
@@ -428,6 +428,7 @@ enum RemoteMessageIDs
|
||||
IdShowUI,
|
||||
IdHideUI,
|
||||
IdToggleUI,
|
||||
IdIsUIVisible,
|
||||
IdSaveSettingsToString,
|
||||
IdSaveSettingsToFile,
|
||||
IdLoadSettingsFromString,
|
||||
@@ -816,6 +817,15 @@ public:
|
||||
unlock();
|
||||
}
|
||||
|
||||
int isUIVisible()
|
||||
{
|
||||
lock();
|
||||
sendMessage( IdIsUIVisible );
|
||||
unlock();
|
||||
message m = waitForMessage( IdIsUIVisible );
|
||||
return m.id != IdIsUIVisible ? -1 : m.getInt() ? 1 : 0;
|
||||
}
|
||||
|
||||
inline bool failed() const
|
||||
{
|
||||
return m_failed;
|
||||
|
||||
Reference in New Issue
Block a user