Files
Arquivotheca.Solaris-2.5/uts/sun/sys/pw_dblbuf.h
seta75D 7c4988eac0 Init
2021-10-11 19:38:01 -03:00

47 lines
1.3 KiB
C
Executable File

/*
* Copyrightt (c) 1991, by Sun Microsystems, Inc.
*/
#ifndef _SYS_PW_DBLBUF_H
#define _SYS_PW_DBLBUF_H
#pragma ident "@(#)pw_dblbuf.h 1.7 93/04/05 SMI" /* SunOS 1.6 */
#include <sys/types.h>
#include <sys/attr.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef int Pw_attribute_value;
#define PIXWIN_ATTR(type, ordinal) ATTR(ATTR_PKG_PIXWIN, type, ordinal)
typedef enum {
/* integer attributes */
PW_DBL_AVAIL = PIXWIN_ATTR(ATTR_BOOLEAN, 20), /* DBL Available */
PW_DBL_DISPLAY = PIXWIN_ATTR(ATTR_INT, 21), /* Display control bit */
PW_DBL_WRITE = PIXWIN_ATTR(ATTR_INT, 22), /* Write control bits */
PW_DBL_READ = PIXWIN_ATTR(ATTR_INT, 23), /* Read Control bits */
PW_DBL_ACCESS = PIXWIN_ATTR(ATTR_INT, 24), /* Access flag */
PW_DBL_RELEASE = PIXWIN_ATTR(ATTR_INT, 25) /* Release flag */
} Pw_dbl_attribute;
#ifndef _KERNEL
extern int pw_dbl_get();
extern int pw_dbl_set();
#endif /* _KERNEL */
#define PW_DBL_EXISTS 1 /* possible return val for the PW_DBL_AVAIL */
#define PW_DBL_ERROR -1 /* Error while trying to set the dbl control bits */
#define PW_DBL_FORE 2 /* Set a control bit to the foreground */
#define PW_DBL_BACK 3 /* Set a control bit to the background */
#define PW_DBL_BOTH 4 /* Set a control bit to both backgr and the foregr */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_PW_DBLBUF_H */