Revision e31e3694 ui/vnc-palette.h
b/ui/vnc-palette.h | ||
---|---|---|
34 | 34 |
#include <stdint.h> |
35 | 35 |
|
36 | 36 |
#define VNC_PALETTE_HASH_SIZE 256 |
37 |
#define VNC_PALETTE_MAX_SIZE 256 |
|
37 | 38 |
|
38 | 39 |
typedef struct VncPaletteEntry { |
39 | 40 |
int idx; |
... | ... | |
42 | 43 |
} VncPaletteEntry; |
43 | 44 |
|
44 | 45 |
typedef struct VncPalette { |
45 |
QObject_HEAD;
|
|
46 |
VncPaletteEntry pool[VNC_PALETTE_MAX_SIZE];
|
|
46 | 47 |
size_t size; |
47 | 48 |
size_t max; |
48 | 49 |
int bpp; |
Also available in: Unified diff