48 void tripleDES_transform(
char const * password,
bool decode, uint8_t * inBlock, uint8_t * outBlock,
size_t length);
56 typedef void (*RenderRow)(
void * context,
int col,
int row,
void *
data,
int width);
59 enum class RFBState { Success,
63 UnsupportedProtocolVersion,
76 RFBState connect(
char const * host, uint16_t port,
char const * password,
bool sharedConnection =
true);
78 void setPixelFormat(
int bitsPerPixel,
int depth,
bool bigEndian,
bool trueColor,
int redMax,
int greenMax,
int blueMax,
int redShift,
int greenShift,
int blueShift);
80 void setRenderRowCallback(RenderRow value,
void * context) { m_renderRow = value; m_renderRowContext = context; }
84 void sendSetEncodings(uint32_t
const * encodings,
size_t encodingsCount);
85 void sendRequestUpdate(
int x,
int y,
int width,
int height,
bool incremental);
86 void sendSetPixelFormat();
93 uint16_t m_frameBufferWidth;
94 uint16_t m_frameBufferHeight;
97 uint8_t m_bitsPerPixel;
105 uint8_t m_greenShift;
112 RenderRow m_renderRow;
113 void * m_renderRowContext;
This file contains fabgl::VGA16Controller definition.
This file contains some utility classes and functions.
This file contains RFBClient class.
This file contains FabGL library configuration settings, like number of supported colors...