Scaled blit, plus fix some level editor things

This commit is contained in:
elasota
2020-01-02 01:32:00 -05:00
parent 1c6ab800a7
commit 1da2851d3a
42 changed files with 571 additions and 273 deletions

View 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;
};
}