LibVNCServer/LibVNCClient
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cursor.c File Reference
#include <rfb/rfb.h>
#include <rfb/rfbregion.h>
#include "private.h"
+ Include dependency graph for cursor.c:

Go to the source code of this file.

Macros

#define SETRGB(u)
 

Functions

void rfbScaledScreenUpdate (rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2)
 
rfbBool rfbSendCursorShape (rfbClientPtr cl)
 
rfbBool rfbSendCursorPos (rfbClientPtr cl)
 
void rfbConvertLSBCursorBitmapOrMask (int width, int height, unsigned char *bitmap)
 
rfbCursorPtr rfbMakeXCursor (int width, int height, char *cursorString, char *maskString)
 
char * rfbMakeMaskForXCursor (int width, int height, char *source)
 
char * rfbMakeMaskFromAlphaSource (int width, int height, unsigned char *alphaSource)
 
void rfbFreeCursor (rfbCursorPtr cursor)
 
void rfbMakeXCursorFromRichCursor (rfbScreenInfoPtr rfbScreen, rfbCursorPtr cursor)
 
void rfbMakeRichCursorFromXCursor (rfbScreenInfoPtr rfbScreen, rfbCursorPtr cursor)
 
void rfbHideCursor (rfbClientPtr cl)
 
void rfbShowCursor (rfbClientPtr cl)
 
void rfbRedrawAfterHideCursor (rfbClientPtr cl, sraRegionPtr updateRegion)
 
void rfbSetCursor (rfbScreenInfoPtr rfbScreen, rfbCursorPtr c)
 

Variables

unsigned char rfbReverseByte [0x100]
 

Macro Definition Documentation

#define SETRGB (   u)
Value:
r = (255 * (((format->redMax << format->redShift) & (*u)) >> format->redShift)) / format->redMax; \
g = (255 * (((format->greenMax << format->greenShift) & (*u)) >> format->greenShift)) / format->greenMax; \
b = (255 * (((format->blueMax << format->blueShift) & (*u)) >> format->blueShift)) / format->blueMax;

Function Documentation

void rfbHideCursor ( rfbClientPtr  cl)

Definition at line 472 of file cursor.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void rfbRedrawAfterHideCursor ( rfbClientPtr  cl,
sraRegionPtr  updateRegion 
)

Definition at line 680 of file cursor.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void rfbScaledScreenUpdate ( rfbScreenInfoPtr  screen,
int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 257 of file scale.c.

+ Here is the caller graph for this function:

void rfbShowCursor ( rfbClientPtr  cl)

Definition at line 514 of file cursor.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: