/* * This file is autogenerated with bcop: * The Compiz option code generator * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * */ #ifndef _CUBECAPS_OPTIONS_H #define _CUBECAPS_OPTIONS_H #ifndef _CUBECAPS_OPTIONS_INTERNAL #define getCompPluginInfo cubecapsOptionsGetCompPluginInfo #endif #ifdef __cplusplus extern "C" { #endif CompPluginVTable *cubecapsOptionsGetCompPluginInfo (void); typedef enum { CubecapsDisplayOptionTopNext, CubecapsDisplayOptionTopPrev, CubecapsDisplayOptionBottomNext, CubecapsDisplayOptionBottomPrev, CubecapsDisplayOptionNum } CubecapsDisplayOptions; typedef void (*cubecapsDisplayOptionChangeNotifyProc) (CompDisplay *display, CompOption *opt, CubecapsDisplayOptions num); CompOption *cubecapsGetDisplayOption (CompDisplay *d, CubecapsDisplayOptions num); typedef enum { CubecapsScreenOptionDrawTop, CubecapsScreenOptionDrawBottom, CubecapsScreenOptionAdjustTop, CubecapsScreenOptionAdjustBottom, CubecapsScreenOptionScaleTopImage, CubecapsScreenOptionScaleBottomImage, CubecapsScreenOptionClampTopToBorder, CubecapsScreenOptionClampBottomToBorder, CubecapsScreenOptionTopColor, CubecapsScreenOptionBottomColor, CubecapsScreenOptionTopImages, CubecapsScreenOptionBottomImages, CubecapsScreenOptionNum } CubecapsScreenOptions; typedef void (*cubecapsScreenOptionChangeNotifyProc) (CompScreen *screen, CompOption *opt, CubecapsScreenOptions num); CompOption *cubecapsGetScreenOption (CompScreen *s, CubecapsScreenOptions num); CompAction * cubecapsGetTopNext (CompDisplay *d); void cubecapsSetTopNextInitiate (CompDisplay *d, CompActionCallBackProc init); void cubecapsSetTopNextTerminate (CompDisplay *d, CompActionCallBackProc term); CompOption * cubecapsGetTopNextOption (CompDisplay *d); void cubecapsSetTopNextNotify (CompDisplay *d, cubecapsDisplayOptionChangeNotifyProc notify); CompAction * cubecapsGetTopPrev (CompDisplay *d); void cubecapsSetTopPrevInitiate (CompDisplay *d, CompActionCallBackProc init); void cubecapsSetTopPrevTerminate (CompDisplay *d, CompActionCallBackProc term); CompOption * cubecapsGetTopPrevOption (CompDisplay *d); void cubecapsSetTopPrevNotify (CompDisplay *d, cubecapsDisplayOptionChangeNotifyProc notify); CompAction * cubecapsGetBottomNext (CompDisplay *d); void cubecapsSetBottomNextInitiate (CompDisplay *d, CompActionCallBackProc init); void cubecapsSetBottomNextTerminate (CompDisplay *d, CompActionCallBackProc term); CompOption * cubecapsGetBottomNextOption (CompDisplay *d); void cubecapsSetBottomNextNotify (CompDisplay *d, cubecapsDisplayOptionChangeNotifyProc notify); CompAction * cubecapsGetBottomPrev (CompDisplay *d); void cubecapsSetBottomPrevInitiate (CompDisplay *d, CompActionCallBackProc init); void cubecapsSetBottomPrevTerminate (CompDisplay *d, CompActionCallBackProc term); CompOption * cubecapsGetBottomPrevOption (CompDisplay *d); void cubecapsSetBottomPrevNotify (CompDisplay *d, cubecapsDisplayOptionChangeNotifyProc notify); Bool cubecapsGetDrawTop (CompScreen *s); CompOption * cubecapsGetDrawTopOption (CompScreen *s); void cubecapsSetDrawTopNotify (CompScreen *s, cubecapsScreenOptionChangeNotifyProc notify); Bool cubecapsGetDrawBottom (CompScreen *s); CompOption * cubecapsGetDrawBottomOption (CompScreen *s); void cubecapsSetDrawBottomNotify (CompScreen *s, cubecapsScreenOptionChangeNotifyProc notify); Bool cubecapsGetAdjustTop (CompScreen *s); CompOption * cubecapsGetAdjustTopOption (CompScreen *s); void cubecapsSetAdjustTopNotify (CompScreen *s, cubecapsScreenOptionChangeNotifyProc notify); Bool cubecapsGetAdjustBottom (CompScreen *s); CompOption * cubecapsGetAdjustBottomOption (CompScreen *s); void cubecapsSetAdjustBottomNotify (CompScreen *s, cubecapsScreenOptionChangeNotifyProc notify); Bool cubecapsGetScaleTopImage (CompScreen *s); CompOption * cubecapsGetScaleTopImageOption (CompScreen *s); void cubecapsSetScaleTopImageNotify (CompScreen *s, cubecapsScreenOptionChangeNotifyProc notify); Bool cubecapsGetScaleBottomImage (CompScreen *s); CompOption * cubecapsGetScaleBottomImageOption (CompScreen *s); void cubecapsSetScaleBottomImageNotify (CompScreen *s, cubecapsScreenOptionChangeNotifyProc notify); Bool cubecapsGetClampTopToBorder (CompScreen *s); CompOption * cubecapsGetClampTopToBorderOption (CompScreen *s); void cubecapsSetClampTopToBorderNotify (CompScreen *s, cubecapsScreenOptionChangeNotifyProc notify); Bool cubecapsGetClampBottomToBorder (CompScreen *s); CompOption * cubecapsGetClampBottomToBorderOption (CompScreen *s); void cubecapsSetClampBottomToBorderNotify (CompScreen *s, cubecapsScreenOptionChangeNotifyProc notify); unsigned short * cubecapsGetTopColor (CompScreen *s); unsigned short cubecapsGetTopColorRed (CompScreen *s); unsigned short cubecapsGetTopColorGreen (CompScreen *s); unsigned short cubecapsGetTopColorBlue (CompScreen *s); unsigned short cubecapsGetTopColorAlpha (CompScreen *s); CompOption * cubecapsGetTopColorOption (CompScreen *s); void cubecapsSetTopColorNotify (CompScreen *s, cubecapsScreenOptionChangeNotifyProc notify); unsigned short * cubecapsGetBottomColor (CompScreen *s); unsigned short cubecapsGetBottomColorRed (CompScreen *s); unsigned short cubecapsGetBottomColorGreen (CompScreen *s); unsigned short cubecapsGetBottomColorBlue (CompScreen *s); unsigned short cubecapsGetBottomColorAlpha (CompScreen *s); CompOption * cubecapsGetBottomColorOption (CompScreen *s); void cubecapsSetBottomColorNotify (CompScreen *s, cubecapsScreenOptionChangeNotifyProc notify); CompListValue * cubecapsGetTopImages (CompScreen *s); CompOption * cubecapsGetTopImagesOption (CompScreen *s); void cubecapsSetTopImagesNotify (CompScreen *s, cubecapsScreenOptionChangeNotifyProc notify); CompListValue * cubecapsGetBottomImages (CompScreen *s); CompOption * cubecapsGetBottomImagesOption (CompScreen *s); void cubecapsSetBottomImagesNotify (CompScreen *s, cubecapsScreenOptionChangeNotifyProc notify); #ifdef __cplusplus } #endif #endif