GPort2 Class Reference
 
 
 
GPort2 Class Reference

#include <gport2.h>

Inheritance diagram for GPort2:
GPort MaxHeapOperators

Class Description

This class adds extends GPort interface.

Two methods are added :

  • setColorCorrectedState : 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.
  • getColorCorrectedState : returns TRUE if the color picker is set to be affected by color correction,returns FALSE otherwise.

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.

Constructor & Destructor Documentation

GPort2 ( ) [inline]

GPort2 constructor.

{mIsColorCorrected = FALSE;}

Member Function Documentation

BOOL getColorCorrectedState ( ) [inline]

This method returns the current color correction state of the color picker.

Returns:
- The method returns TRUE if the color picker is set to be affected by color correction , and returns FALSE otherwise.
                                     {
#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.

Parameters:
[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
        }