ImageGear for C and C++ on Windows v19.6 - Updated
AT_IGGUI_DSPL_GAMMA_CORRECTION
API Reference Guide > GUI Component API Reference > GUI Component Structures Reference > AT_IGGUI_DSPL_GAMMA_CORRECTION

This structure is used by the IG_gui_dspl_gamma_correction_dlg function to set LUT tables for the given image.

Declaration:

 
Copy Code
typedef struct tag AT_IGGUI_DSPL_GAMMA_CORRECTION
{
        DWORD cbSize;
        UINT uFlags;
        HIGEAR hIGear;
        DWORD dwGrpID;
        HWND hWnd;
        LPCHAR lpszTitle;
        DOUBLE dblBrightness;
        DOUBLE dblContrast;
        DOUBLE dblGamma;
        AT_ERRCOUNT nErrCount;
        LPFNIGGUI_DSPL_UPDATE lpfnUpdateProc;
}AT_IGGUI_DSPL_GAMMA_CORRECTION;

Members:

Name Type Description
cbSize DWORD Specifies the length, in bytes, of the structure.
uFlags UINT A set of bit flags you can use to initialize the dialog box.
hIGear HIGEAR A handle of an image.
dwGrpID DWORD An identifier of the group from which to get display options.
hWnd HWND A handle of the window to update.
lpszTitle LPCHAR A dialog title.
dblBrightness DOUBLE A brightness value to use in calculations. Must be in the range from 255.0 to +255.0.
dblContrast DOUBLE A contrast value to use in calculations. Any possible value can be set.
dblGamma DOUBLE A gamma value to use in calculations. Must be greater than 0.0, however the most useful values are in the range from 1.8 to 2.2.
nErrCount AT_ERRCOUNT The number of ImageGear errors that occurred during this function call.
lpfnUpdateProc LPFNIGGUI_DSPL_UPDATE A pointer to the function that is called when the 'Apply' button is pressed.