transovl.h revision 943
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#ifndef _TRANSOVL_H_
#define _TRANSOVL_H_
#if defined(__cplusplus)
extern "C" {
#endif
#ifndef _TRANSOVL_SERVER_
#endif /* _TRANSOVL_SERVER_ */
#define X_OvlQueryVersion 0
#define X_OvlGetPartners 1
#define X_OvlGetSharedPixels 2
#define X_OvlGetSharedColors 3
#define X_OvlCreateWindow 4
#define X_OvlIsOverlayWindow 5
#define X_OvlSetWindowTransparent 6
#define X_OvlSetPaintType 7
#define X_OvlCopyPaintType 8
#define X_OvlCopyAreaAndPaintType 9
#define X_OvlReadScreen 10
#define OvlNumberEvents 0
typedef enum {
typedef enum {
typedef enum {
typedef struct {
unsigned long hardCriteriaMask;
unsigned long softCriteriaMask;
int c_class;
unsigned int depth;
unsigned int minColors;
unsigned int minRed;
unsigned int minGreen;
unsigned int minBlue;
unsigned int minBitsPerRGB;
unsigned int minBuffers;
typedef struct {
#define XSolarisOvlVisualClass (1L<<0)
#define XSolarisOvlCopyOpaque (1L<<0)
#ifndef _TRANSOVL_SERVER_
#if defined(__STDC__) || defined(__cplusplus)
unsigned int, unsigned int, unsigned int, int,
unsigned int, Visual *, unsigned long, XSetWindowAttributes *);
int, int, unsigned int, unsigned int, int, int,
unsigned long, unsigned long);
unsigned int, unsigned int, int, int, int, int,
unsigned long, unsigned long);
unsigned long *);
unsigned long *, unsigned long *);
#else
extern Bool XSolarisOvlQueryExtension();
extern Status XSolarisOvlQueryVersion();
extern Window XSolarisOvlCreateWindow();
extern Bool XSolarisOvlIsOverlayWindow();
extern void XSolarisOvlSetWindowTransparent();
extern Status XSolarisOvlSetPaintType();
extern XSolarisOvlPaintType XSolarisOvlGetPaintType();
extern Status XSolarisOvlCopyPaintType();
extern Status XSolarisOvlCopyAreaAndPaintType();
extern XImage *XReadScreen();
extern XSolarisOvlSelectStatus XSolarisOvlSelectPair();
#endif
#endif /* _TRANSOVL_SERVER_ */
#if defined(__cplusplus)
}
#endif
#endif /* _TRANSOVL_H_ */