aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/CheckBox.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GraphicObjects/CheckBox.cs')
-rw-r--r--src/GraphicObjects/CheckBox.cs24
1 files changed, 4 insertions, 20 deletions
diff --git a/src/GraphicObjects/CheckBox.cs b/src/GraphicObjects/CheckBox.cs
index fa34522d..05bb0cac 100644
--- a/src/GraphicObjects/CheckBox.cs
+++ b/src/GraphicObjects/CheckBox.cs
@@ -1,24 +1,13 @@
using System;
-
-
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-//using OpenTK.Graphics.OpenGL;
-
-using Cairo;
-
-using winColors = System.Drawing.Color;
-using System.Diagnostics;
-using System.Xml.Serialization;
using OpenTK.Input;
using System.ComponentModel;
+using System.Xml.Serialization;
namespace Crow
{
[DefaultTemplate("#Crow.Templates.CheckBox.goml")]
- public class CheckBox : TemplatedControl
- {
+ public class CheckBox : TemplatedControl
+ {
string caption;
string image;
bool isChecked;
@@ -33,12 +22,7 @@ namespace Crow
public event EventHandler Unchecked;
#region GraphicObject overrides
-// [XmlAttributeAttribute()][DefaultValue(-1)]
-// public override int Height {
-// get { return base.Height; }
-// set { base.Height = value; }
-// }
- [XmlAttributeAttribute()][DefaultValue(true)]//overiden to get default to true
+ [XmlAttributeAttribute()][DefaultValue(true)]
public override bool Focusable
{
get { return base.Focusable; }