aboutsummaryrefslogtreecommitdiffstatsci
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-09-11 14:44:18 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-09-11 14:44:18 +0200
commite931c79593c3a8a8519e2b876108db43db70f183 (patch)
tree42ba6db2619c081379da4eba878ae53229f193d0
parent019452b6194b660984b4f260e20347e57ce1abb4 (diff)
more simple default button svg
-rw-r--r--GOLib.csproj1
-rw-r--r--Images/button.svg16
-rw-r--r--src/GraphicObjects/Button.cs2
3 files changed, 18 insertions, 1 deletions
diff --git a/GOLib.csproj b/GOLib.csproj
index 0cfcf445..fe1f6e26 100644
--- a/GOLib.csproj
+++ b/GOLib.csproj
@@ -192,6 +192,7 @@
<EmbeddedResource Include="Images\Icons\exit2.svg" />
<EmbeddedResource Include="Images\Icons\Cursors\sb_h_double_arrow" />
<EmbeddedResource Include="Images\Icons\Cursors\sb_v_double_arrow" />
+ <EmbeddedResource Include="Images\button.svg" />
</ItemGroup>
<ItemGroup>
<None Include="Images\Icons\Cursors\hand" />
diff --git a/Images/button.svg b/Images/button.svg
new file mode 100644
index 00000000..314f63fb
--- /dev/null
+++ b/Images/button.svg
@@ -0,0 +1,16 @@
+ <svg width="200" height="100">
+ <g id="normal">
+ <rect width="98%" height="98%"
+ rx="10px" ry="10px" x="2%" y="2%"
+ style="fill:rgb(50,50,50);" />
+ <rect width="98%" height="98%"
+ rx="10px" ry="10px"
+ style="fill:rgb(200,200,200);" />
+ </g>
+ <g id="pressed">
+ <rect width="98%" height="98%"
+ rx="10px" ry="10px" x="2%" y="2%"
+ style="fill:rgb(200,200,200);" />
+ </g>
+
+</svg>
diff --git a/src/GraphicObjects/Button.cs b/src/GraphicObjects/Button.cs
index c092ac1e..8a4bbed7 100644
--- a/src/GraphicObjects/Button.cs
+++ b/src/GraphicObjects/Button.cs
@@ -47,7 +47,7 @@ namespace go
get { return base.Focusable; }
set { base.Focusable = value; }
}
- [XmlAttributeAttribute()][DefaultValue("#go.Images.Icons.buttest4.svg")]
+ [XmlAttributeAttribute()][DefaultValue("#go.Images.button.svg")]
public override Picture BackgroundImage {
get {
return base.BackgroundImage;