doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
NVCtrl.c File Reference
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
#include <X11/extensions/Xext.h>
#include "extutil.h"
#include "NVCtrlLib.h"
#include "nv_control.h"

Go to the source code of this file.

Macros

#define NEED_EVENTS
 
#define NEED_REPLIES
 
#define XNVCTRLCheckExtension(dpy, i, val)   XextCheckExtension (dpy, i, nvctrl_extension_name, val)
 
#define XNVCTRLSimpleCheckExtension(dpy, i)   XextSimpleCheckExtension (dpy, i, nvctrl_extension_name)
 

Functions

static nvctrl_ext_info Bool XNVCTRLQueryExtension (Display *dpy, int *event_basep, int *error_basep)
 
Bool XNVCTRLQueryVersion (Display *dpy, int *major, int *minor)
 
Bool XNVCTRLIsNvScreen (Display *dpy, int screen)
 
void XNVCTRLSetAttribute (Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, int value)
 
Bool XNVCTRLQueryAttribute (Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, int *value)
 
Bool XNVCTRLQueryStringAttribute (Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, char **ptr)
 
Bool XNVCTRLQueryValidAttributeValues (Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, NVCTRLAttributeValidValuesRec *values)
 
Bool XNVCtrlSelectNotify (Display *dpy, int screen, int type, Bool onoff)
 

Macro Definition Documentation

#define NEED_EVENTS

Definition at line 1 of file NVCtrl.c.

#define NEED_REPLIES

Definition at line 2 of file NVCtrl.c.

#define XNVCTRLCheckExtension (   dpy,
  i,
  val 
)    XextCheckExtension (dpy, i, nvctrl_extension_name, val)

Definition at line 18 of file NVCtrl.c.

#define XNVCTRLSimpleCheckExtension (   dpy,
 
)    XextSimpleCheckExtension (dpy, i, nvctrl_extension_name)

Definition at line 20 of file NVCtrl.c.

Function Documentation

Bool XNVCTRLIsNvScreen ( Display *  dpy,
int  screen 
)

Definition at line 94 of file NVCtrl.c.

Bool XNVCTRLQueryAttribute ( Display *  dpy,
int  screen,
unsigned int  display_mask,
unsigned int  attribute,
int value 
)

Definition at line 150 of file NVCtrl.c.

static nvctrl_ext_info Bool XNVCTRLQueryExtension ( Display *  dpy,
int event_basep,
int error_basep 
)

Definition at line 46 of file NVCtrl.c.

Bool XNVCTRLQueryStringAttribute ( Display *  dpy,
int  screen,
unsigned int  display_mask,
unsigned int  attribute,
char **  ptr 
)

Definition at line 187 of file NVCtrl.c.

Bool XNVCTRLQueryValidAttributeValues ( Display *  dpy,
int  screen,
unsigned int  display_mask,
unsigned int  attribute,
NVCTRLAttributeValidValuesRec values 
)

Definition at line 238 of file NVCtrl.c.

Bool XNVCTRLQueryVersion ( Display *  dpy,
int major,
int minor 
)

Definition at line 63 of file NVCtrl.c.

Bool XNVCtrlSelectNotify ( Display *  dpy,
int  screen,
int  type,
Bool  onoff 
)

Definition at line 284 of file NVCtrl.c.

void XNVCTRLSetAttribute ( Display *  dpy,
int  screen,
unsigned int  display_mask,
unsigned int  attribute,
int  value 
)

Definition at line 125 of file NVCtrl.c.