+ public string label;\r
+ public Rectangle outer;\r
+ public Rectangle inner;\r
+ public Stroke outer_strk;\r
+\r
+ public Slider()\r
+ {\r
+ set(0, 0);\r
+ }\r
+ public Slider(double width, double height)\r
+ {\r
+ set(width, height);\r
+ }\r
+ public Slider set(double width, double height)\r
+ {\r
+ outer = new Rectangle(width, height);\r
+ outer.fill = Color.gray;\r
+ inner = new Rectangle();\r
+ inner.fill = Color.blue;\r
+ outer_strk = new Stroke();\r
+ outer_strk.color = Color.white;\r
+ outer_strk.thick = 1;\r
+ return this;\r
+ }\r
+ public void checkClick()\r
+ {\r
+ if (outer.include(Mouse.position))\r
+ {\r
+ outer.stroke = outer_strk;\r
+ }\r
+ }\r
+ }\r
+ */\r
+\r
+ public class Button\r
+ {\r
+ public static Color bgcolor;\r
+\r
+ internal System.Windows.Controls.Button uibutton;\r
+\r
+ public Button(string l)\r
+ {\r
+ uibutton = new System.Windows.Controls.Button();\r
+ uibutton.Content = l;\r
+ }\r
+ public void str(string l) { }\r
+ }\r
+\r
+ public class Slider\r
+ {\r
+ public static Color bgcolor;\r
+\r