FrameBufferListener
touchgfx/hal/FrameBufferListener.hpp
This class is an abstract interface for a class listening for framebuffer address changes.
Public Functions
virtual void | setFrameBuffer(uint8_t *const buffer, uint32_t width) =0 |
Called when the client (drawing) framebuffer changes. | |
virtual | ~FrameBufferListener() |
Virtual destructor. | |
Public Functions Documentation
setFrameBuffer
virtual void setFrameBuffer | ( | uint8_t *const | buffer , | =0 | |
uint32_t | width | =0 | |||
) | =0 |
Called when the client (drawing) framebuffer changes.
Parameters:
buffer | The new client framebuffer address. |
width | The width (stride) of the framebuffer in pixels. |
~FrameBufferListener
virtual ~FrameBufferListener | ( | ) |
Virtual destructor.