Data Structures |
struct | _DevDesc |
Defines |
#define | R_USE_PROTOTYPES 1 |
#define | R_RGB(r, g, b) ((r)|((g)<<8)|((b)<<16)|0xFF000000) |
#define | R_RGBA(r, g, b, a) ((r)|((g)<<8)|((b)<<16)|((a)<<24)) |
#define | R_RED(col) (((col) )&255) |
#define | R_GREEN(col) (((col)>> 8)&255) |
#define | R_BLUE(col) (((col)>>16)&255) |
#define | R_ALPHA(col) (((col)>>24)&255) |
#define | R_OPAQUE(col) (R_ALPHA(col) == 255) |
#define | R_TRANSPARENT(col) (R_ALPHA(col) == 0) |
#define | R_TRANWHITE (R_RGBA(255, 255, 255, 0)) |
#define | curDevice Rf_curDevice |
#define | killDevice Rf_killDevice |
#define | ndevNumber Rf_ndevNumber |
#define | NewFrameConfirm Rf_NewFrameConfirm |
#define | nextDevice Rf_nextDevice |
#define | NoDevices Rf_NoDevices |
#define | NumDevices Rf_NumDevices |
#define | prevDevice Rf_prevDevice |
#define | selectDevice Rf_selectDevice |
#define | AdobeSymbol2utf8 Rf_AdobeSymbol2utf8 |
#define | leftButton 1 |
#define | middleButton 2 |
#define | rightButton 4 |
#define | doKeybd Rf_doKeybd |
#define | doMouseEvent Rf_doMouseEvent |
#define | BEGIN_SUSPEND_INTERRUPTS |
#define | END_SUSPEND_INTERRUPTS |
Typedefs |
typedef struct _DevDesc | DevDesc |
typedef DevDesc * | pDevDesc |
Enumerations |
enum | R_KeyName {
knUNKNOWN = -1,
knLEFT = 0,
knUP,
knRIGHT,
knDOWN,
knF1,
knF2,
knF3,
knF4,
knF5,
knF6,
knF7,
knF8,
knF9,
knF10,
knF11,
knF12,
knPGUP,
knPGDN,
knEND,
knHOME,
knINS,
knDEL
} |
enum | R_MouseEvent { meMouseDown = 0,
meMouseUp,
meMouseMove
} |
Functions |
int | ndevNumber (pDevDesc dd) |
int | NumDevices (void) |
void | R_CheckDeviceAvailable (void) |
Rboolean | R_CheckDeviceAvailableBool (void) |
int | curDevice (void) |
int | nextDevice (int from) |
int | prevDevice (int from) |
int | selectDevice (int devNum) |
void | killDevice (int devNum) |
int | NoDevices (void) |
void | NewFrameConfirm (pDevDesc dd) |
void | doMouseEvent (pDevDesc dd, R_MouseEvent event, int buttons, double x, double y) |
void | doKeybd (pDevDesc dd, R_KeyName rkey, const char *keyname) |
void | Rf_onintr (void) |
void * | AdobeSymbol2utf8 (char *out, const char *in, size_t nwork) |
size_t | Rf_ucstoutf8 (char *s, const unsigned int c) |
Variables |
LibExtern Rboolean | R_interrupts_suspended |
LibExtern int | R_interrupts_pending |
LibExtern Rboolean | mbcslocale |