mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-21 06:14:08 -06:00
CtrlCore: GuiUnLock
git-svn-id: svn://ultimatepp.org/upp/trunk@12198 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4217ff97d4
commit
1ec5a3378d
1 changed files with 7 additions and 0 deletions
|
|
@ -75,6 +75,13 @@ struct GuiLock {
|
|||
~GuiLock() { LeaveGuiMutex(); }
|
||||
};
|
||||
|
||||
struct GuiUnLock {
|
||||
int n;
|
||||
|
||||
GuiUnLock() { n = LeaveGuiMutexAll(); }
|
||||
~GuiUnLock() { EnterGuiMutex(n); }
|
||||
};
|
||||
|
||||
bool ScreenInPaletteMode(); // Deprecated
|
||||
|
||||
typedef ImageDraw SystemImageDraw;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue