#include <gport2.h>
This class adds extends GPort interface.
Two methods are added :
Public Member Functions |
|
| GPort2 () | |
| GPort2
constructor. |
|
| BOOL | getColorCorrectedState () |
| This method returns the current color
correction state of the color picker. |
|
| void | setColorCorrectedState (BOOL isCorrected) |
| This method sets the current color
correction state of the color picker to a new value. |
|
| BOOL getColorCorrectedState | ( | ) | [inline] |
This method returns the current color correction state of the color picker.
{
#ifndef NO_LUT_INTEGRATION
return mIsColorCorrected;
#else //NO_LUT_INTEGRATION
return TRUE;
#endif
}
| void setColorCorrectedState | ( | BOOL | isCorrected | ) | [inline] |
This method sets the current color correction state of the color picker to a new value.
This does NOT affect the current color correction mode.
| [in] | isCorrected | - When set to TRUE, the color picker will be affected by color correction , when set to FALSE , the color picker will not be affected by color correction. |
{
#ifndef NO_LUT_INTEGRATION
mIsColorCorrected = isCorrected;
#else //NO_LUT_INTEGRATION
mIsColorCorrected = TRUE;
#endif
}