3 #include <FL/fl_draw.H>     6   Fl_Widget(x, y, w, h, nullptr),
     7   m_rgb565frameBufferStart(rgb565FrameBuffer),
     8   m_rgb565frameBufferEnd(rgb565FrameBuffer+w*h)
    10   m_rgb888frameBufferStart = 
malloc(w*h*3);
    14   free(m_rgb888frameBufferStart);
    19   KDColor * rgb565Pixel = m_rgb565frameBufferStart;
    22   while(rgb565Pixel < m_rgb565frameBufferEnd) {
    24     *rgb888Component++ = color.
red();
    25     *rgb888Component++ = color.
green();
    26     *rgb888Component++ = color.
blue();
    30   fl_draw_image((
const uchar *)m_rgb888frameBufferStart,
 LIBA_BEGIN_DECLS void free(void *ptr)
 
void * malloc(size_t size)
 
FltkLCD(int x, int y, int w, int h, KDColor *rgb565FrameBuffer)