mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Scaled blit, plus fix some level editor things
This commit is contained in:
22
PortabilityLayer/PLImageWidget.h
Normal file
22
PortabilityLayer/PLImageWidget.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user