Initial commit.

This commit is contained in:
jmsgrogan 2020-05-02 08:31:03 +01:00
commit 59c6161fdb
134 changed files with 4751 additions and 0 deletions

View file

@ -0,0 +1,24 @@
#pragma once
#include "Widget.h"
class Button : public Widget
{
private:
std::string mLabel;
public:
Button();
void SetLabel(const std::string& text);
static std::shared_ptr<Button> Create();
void OnPaintEvent(PaintEventPtr event);
protected:
void OnMyMouseEvent(MouseEventPtr event);
};
using ButtonPtr = std::shared_ptr<Button>;