Class to manage a 'color lock' on a CONTEXT. More...
#include <mi32/mgd2.h>
Public Member Functions | |
| COLORLOCK (CONTEXT *pContext) | |
| ~COLORLOCK () | |
| void | Clear () |
| void | Set () |
Class to manage a 'color lock' on a CONTEXT.
The lock will automatically be released (if set) when the COLORLOCK instance goes out of scope.
| MGD::COLORLOCK::COLORLOCK | ( | CONTEXT * | pContext | ) | [inline] |
Constructor, does not set color lock.
| MGD::COLORLOCK::~COLORLOCK | ( | ) | [inline] |
Destructor, releases color lock if set.
| void MGD::COLORLOCK::Clear | ( | ) | [inline] |
Clear color lock if set.
| void MGD::COLORLOCK::Set | ( | ) | [inline] |
Set color lock if not already.
1.6.1