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