diff options
Diffstat (limited to 'ui/vnc-palette.h')
-rw-r--r-- | ui/vnc-palette.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/vnc-palette.h b/ui/vnc-palette.h index c646e4d0f0..3260885ff0 100644 --- a/ui/vnc-palette.h +++ b/ui/vnc-palette.h @@ -61,5 +61,8 @@ size_t palette_size(const VncPalette *palette); void palette_iter(const VncPalette *palette, void (*iter)(int idx, uint32_t color, void *opaque), void *opaque); +uint32_t palette_color(const VncPalette *palette, int idx, bool *found); +size_t palette_fill(const VncPalette *palette, + uint32_t colors[VNC_PALETTE_MAX_SIZE]); #endif /* VNC_PALETTE_H */ |