mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
23 lines
425 B
C++
23 lines
425 B
C++
#pragma once
|
|
|
|
#include "PLWidgets.h"
|
|
#include "PLHandle.h"
|
|
|
|
struct BitmapImage;
|
|
|
|
namespace PortabilityLayer
|
|
{
|
|
class ImageWidget final : public WidgetSpec<ImageWidget>
|
|
{
|
|
public:
|
|
ImageWidget(const WidgetBasicState &state);
|
|
~ImageWidget();
|
|
|
|
bool Init(const WidgetBasicState &state, const void *additionalData) override;
|
|
void DrawControl(DrawSurface *surface) override;
|
|
|
|
private:
|
|
THandle<BitmapImage> m_pict;
|
|
};
|
|
}
|