mirror of
https://github.com/elasota/Aerofoil.git
synced 2026-03-02 05:42:18 +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;
|
||
|
|
};
|
||
|
|
}
|