/*
* 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 _SHOWDESKTOP_OPTIONS_H
#define _SHOWDESKTOP_OPTIONS_H
#ifndef _SHOWDESKTOP_OPTIONS_INTERNAL
#define getCompPluginInfo showdesktopOptionsGetCompPluginInfo
#endif
#ifdef __cplusplus
extern "C" {
#endif
CompPluginVTable *showdesktopOptionsGetCompPluginInfo (void);
typedef enum
{
ShowdesktopDisplayOptionNum
} ShowdesktopDisplayOptions;
typedef void (*showdesktopDisplayOptionChangeNotifyProc) (CompDisplay *display, CompOption *opt, ShowdesktopDisplayOptions num);
CompOption *showdesktopGetDisplayOption (CompDisplay *d, ShowdesktopDisplayOptions num);
typedef enum
{
ShowdesktopScreenOptionSpeed,
ShowdesktopScreenOptionTimestep,
ShowdesktopScreenOptionDirection,
ShowdesktopScreenOptionWindowMatch,
ShowdesktopScreenOptionWindowOpacity,
ShowdesktopScreenOptionWindowPartSize,
ShowdesktopScreenOptionNum
} ShowdesktopScreenOptions;
typedef void (*showdesktopScreenOptionChangeNotifyProc) (CompScreen *screen, CompOption *opt, ShowdesktopScreenOptions num);
CompOption *showdesktopGetScreenOption (CompScreen *s, ShowdesktopScreenOptions num);
typedef enum
{
DirectionUp = 0,
DirectionDown = 1,
DirectionLeft = 2,
DirectionRight = 3,
DirectionUpDown = 4,
DirectionLeftRight = 5,
DirectionToCorners = 6,
} ShowdesktopDirectionEnum;
float showdesktopGetSpeed (CompScreen *s);
CompOption * showdesktopGetSpeedOption (CompScreen *s);
void showdesktopSetSpeedNotify (CompScreen *s, showdesktopScreenOptionChangeNotifyProc notify);
float showdesktopGetTimestep (CompScreen *s);
CompOption * showdesktopGetTimestepOption (CompScreen *s);
void showdesktopSetTimestepNotify (CompScreen *s, showdesktopScreenOptionChangeNotifyProc notify);
int showdesktopGetDirection (CompScreen *s);
CompOption * showdesktopGetDirectionOption (CompScreen *s);
void showdesktopSetDirectionNotify (CompScreen *s, showdesktopScreenOptionChangeNotifyProc notify);
CompMatch * showdesktopGetWindowMatch (CompScreen *s);
CompOption * showdesktopGetWindowMatchOption (CompScreen *s);
void showdesktopSetWindowMatchNotify (CompScreen *s, showdesktopScreenOptionChangeNotifyProc notify);
float showdesktopGetWindowOpacity (CompScreen *s);
CompOption * showdesktopGetWindowOpacityOption (CompScreen *s);
void showdesktopSetWindowOpacityNotify (CompScreen *s, showdesktopScreenOptionChangeNotifyProc notify);
int showdesktopGetWindowPartSize (CompScreen *s);
CompOption * showdesktopGetWindowPartSizeOption (CompScreen *s);
void showdesktopSetWindowPartSizeNotify (CompScreen *s, showdesktopScreenOptionChangeNotifyProc notify);
#ifdef __cplusplus
}
#endif
#endif
syntax highlighted by Code2HTML, v. 0.9.1