aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Button.cs
diff options
context:
space:
mode:
authorj-p <jp.bruyere@live.be>2018-01-30 01:28:26 +0100
committerGitHub <noreply@github.com>2018-01-30 01:28:26 +0100
commitd51e2cb08b0d2b113297e0201b88ac0b2657ac95 (patch)
treef2fb49513036527178b5ad33109622cfce3dfbff /src/GraphicObjects/Button.cs
parent9015042f06059cef3f8880bf1dea19be310ec286 (diff)
iface param ctor #38
Diffstat (limited to 'src/GraphicObjects/Button.cs')
-rw-r--r--src/GraphicObjects/Button.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/GraphicObjects/Button.cs b/src/GraphicObjects/Button.cs
index 75f43014..4f791ed9 100644
--- a/src/GraphicObjects/Button.cs
+++ b/src/GraphicObjects/Button.cs
@@ -40,15 +40,15 @@ namespace Crow
{
public class Button : TemplatedContainer
{
+ #region CTOR
+ public Button() : base() {}
+ public Button (Interface iface) : base(iface){}
+ #endregion
+
string image;
bool isPressed;
Container _contentContainer;
- #region CTOR
- public Button() : base()
- {}
- #endregion
-
public event EventHandler Pressed;
public event EventHandler Released;