aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/ShowCase
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-04-21 15:45:23 +0200
committerj-p <jp_bruyere@hotmail.com>2020-05-10 00:50:02 +0200
commitdf2ad1e48d1aba38e93834bc89566761d56d35ff (patch)
tree235f96f4afcbfb226a9f8825e1d966a991a724ed /Samples/ShowCase
parent6b4d2ea66d5312a2494d49beb6d868da68f11e9d (diff)
add facilities for using icons for EnumSelector + path parsing documentation and test
Diffstat (limited to 'Samples/ShowCase')
-rw-r--r--Samples/ShowCase/main.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/Samples/ShowCase/main.cs b/Samples/ShowCase/main.cs
index d780c511..ac103290 100644
--- a/Samples/ShowCase/main.cs
+++ b/Samples/ShowCase/main.cs
@@ -206,5 +206,11 @@ namespace tests
}
-
+ public static class Extensions
+ {
+ public static Fill GetIcon (this Alignment align)
+ {
+ return (Crow.Fill)Fill.Parse ("#images.valign.svg");
+ }
+ }
} \ No newline at end of file