25#include <mxgui/image.h>
38 ImageView(
const mxgui::Image* image) : image(image) {}
46 const mxgui::Image*
getImage() {
return image; }
48 void draw(mxgui::DrawingContext& dc)
override
60 const mxgui::Image* image;
Simple view that displays an image.
void setImage(mxgui::Image *image)
ImageView(const mxgui::Image *image)
const mxgui::Image * getImage()
void draw(mxgui::DrawingContext &dc) override
Draw the view in its bounds.
Base class for anything that can be drawn on the screen and interacted with.
virtual void draw(mxgui::DrawingContext &dc)
Draw the view in its bounds.
void invalidate()
Signal that what has been previously drawn is now invalid and has to be redrawn.
Driver for the VN100S IMU.