Level editor work

This commit is contained in:
elasota
2020-02-23 20:21:04 -05:00
parent d63ac98624
commit c78a20dafd
61 changed files with 1317 additions and 305 deletions

View File

@@ -3,6 +3,8 @@
#include "PascalStr.h"
#include "PLWidgets.h"
struct Menu;
namespace PortabilityLayer
{
class PopupMenuWidget final : public WidgetSpec<PopupMenuWidget>
@@ -11,5 +13,14 @@ namespace PortabilityLayer
explicit PopupMenuWidget(const WidgetBasicState &state);
bool Init(const WidgetBasicState &state) override;
//WidgetHandleState_t ProcessEvent(const TimeTaggedVOSEvent &evt);
//int16_t Capture(const Point &pos, WidgetUpdateCallback_t callback);
void DrawControl(DrawSurface *surface) override;
PLPasStr GetString() const override;
private:
THandle<Menu> m_menu;
};
}