#pragma once #include #include #include #include class LImageView : public BView { BBitmap *bitmap; BAlignment align; public: void SetBitmap(BBitmap *bitmap); BBitmap *Bitmap(); void SetAlignment(BAlignment align); BAlignment Alignment(); void Draw(BRect updateRect) override; LImageView(const char *name, BBitmap *bitmap, BAlignment align); };