Zachary Hall
7b7d44e9d0
Some checks failed
Build / build-deb (push) Blocked by required conditions
Build / build-appimage (push) Blocked by required conditions
Build / build-android (push) Blocked by required conditions
Build / build-windows (push) Blocked by required conditions
Build / download-system-deps (push) Successful in 4m57s
Build / get-source-code (push) Has been cancelled
Build / build-gentoo (push) Failing after 1m6s
17 lines
397 B
C++
17 lines
397 B
C++
#pragma once
|
|
#include <View.h>
|
|
#include <Bitmap.h>
|
|
#include <Alignment.h>
|
|
#include <Rect.h>
|
|
|
|
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);
|
|
};
|