@@ -8,6 +8,7 @@ namespace EmptyKeys.UserInterface.Generated {
88 using System . CodeDom . Compiler ;
99 using System . Collections . ObjectModel ;
1010 using EmptyKeys . UserInterface ;
11+ using EmptyKeys . UserInterface . Charts ;
1112 using EmptyKeys . UserInterface . Data ;
1213 using EmptyKeys . UserInterface . Controls ;
1314 using EmptyKeys . UserInterface . Controls . Primitives ;
@@ -20,7 +21,7 @@ namespace EmptyKeys.UserInterface.Generated {
2021 using EmptyKeys . UserInterface . Themes ;
2122
2223
23- [ GeneratedCodeAttribute ( "Empty Keys UI Generator" , "1.10 .0.0" ) ]
24+ [ GeneratedCodeAttribute ( "Empty Keys UI Generator" , "1.11 .0.0" ) ]
2425 public sealed class Dictionary : ResourceDictionary {
2526
2627 private static Dictionary singleton = new Dictionary ( ) ;
@@ -36,101 +37,100 @@ public static Dictionary Instance {
3637 }
3738
3839 private void InitializeResources ( ) {
39- // Resource - [buttonStyle ] Style
40+ // Resource - [buttonAnimStyle ] Style
4041 var r_0_s_bo = this [ typeof ( Button ) ] ;
4142 Style r_0_s = new Style ( typeof ( Button ) , r_0_s_bo as Style ) ;
42- Setter r_0_s_S_0 = new Setter ( Button . BackgroundProperty , new SolidColorBrush ( new ColorW ( 255 , 140 , 0 , 255 ) ) ) ;
43+ Setter r_0_s_S_0 = new Setter ( Button . WidthProperty , 200F ) ;
4344 r_0_s . Setters . Add ( r_0_s_S_0 ) ;
44- Setter r_0_s_S_1 = new Setter ( Button . WidthProperty , 200F ) ;
45+ Setter r_0_s_S_1 = new Setter ( Button . MarginProperty , new Thickness ( 0F , 1F , 0F , 1F ) ) ;
4546 r_0_s . Setters . Add ( r_0_s_S_1 ) ;
46- Setter r_0_s_S_2 = new Setter ( Button . PaddingProperty , new Thickness ( 2F ) ) ;
47+ Setter r_0_s_S_2 = new Setter ( Button . SnapsToDevicePixelsProperty , false ) ;
4748 r_0_s . Setters . Add ( r_0_s_S_2 ) ;
48- this . Add ( "buttonStyle" , r_0_s ) ;
49- // Resource - [TitleResource] String
50- this . Add ( "TitleResource" , "Basic UI Example" ) ;
49+ EventTrigger r_0_s_ET_0 = new EventTrigger ( Button . MouseEnterEvent ) ;
50+ r_0_s . Triggers . Add ( r_0_s_ET_0 ) ;
51+ BeginStoryboard r_0_s_ET_0_AC_0 = new BeginStoryboard ( ) ;
52+ r_0_s_ET_0_AC_0 . Name = "r_0_s_ET_0_AC_0" ;
53+ r_0_s_ET_0 . AddAction ( r_0_s_ET_0_AC_0 ) ;
54+ Storyboard r_0_s_ET_0_AC_0_SB = new Storyboard ( ) ;
55+ r_0_s_ET_0_AC_0 . Storyboard = r_0_s_ET_0_AC_0_SB ;
56+ r_0_s_ET_0_AC_0_SB . Name = "r_0_s_ET_0_AC_0_SB" ;
57+ ThicknessAnimation r_0_s_ET_0_AC_0_SB_TL_0 = new ThicknessAnimation ( ) ;
58+ r_0_s_ET_0_AC_0_SB_TL_0 . Name = "r_0_s_ET_0_AC_0_SB_TL_0" ;
59+ r_0_s_ET_0_AC_0_SB_TL_0 . Duration = new Duration ( new TimeSpan ( 0 , 0 , 0 , 0 , 500 ) ) ;
60+ r_0_s_ET_0_AC_0_SB_TL_0 . From = new Thickness ( 0F , 1F , 0F , 1F ) ;
61+ r_0_s_ET_0_AC_0_SB_TL_0 . To = new Thickness ( 0F , 5F , 0F , 5F ) ;
62+ SineEase r_0_s_ET_0_AC_0_SB_TL_0_EA = new SineEase ( ) ;
63+ r_0_s_ET_0_AC_0_SB_TL_0 . EasingFunction = r_0_s_ET_0_AC_0_SB_TL_0_EA ;
64+ Storyboard . SetTargetProperty ( r_0_s_ET_0_AC_0_SB_TL_0 , Button . MarginProperty ) ;
65+ r_0_s_ET_0_AC_0_SB . Children . Add ( r_0_s_ET_0_AC_0_SB_TL_0 ) ;
66+ FloatAnimation r_0_s_ET_0_AC_0_SB_TL_1 = new FloatAnimation ( ) ;
67+ r_0_s_ET_0_AC_0_SB_TL_1 . Name = "r_0_s_ET_0_AC_0_SB_TL_1" ;
68+ r_0_s_ET_0_AC_0_SB_TL_1 . Duration = new Duration ( new TimeSpan ( 0 , 0 , 0 , 0 , 500 ) ) ;
69+ r_0_s_ET_0_AC_0_SB_TL_1 . To = 220F ;
70+ SineEase r_0_s_ET_0_AC_0_SB_TL_1_EA = new SineEase ( ) ;
71+ r_0_s_ET_0_AC_0_SB_TL_1 . EasingFunction = r_0_s_ET_0_AC_0_SB_TL_1_EA ;
72+ Storyboard . SetTargetProperty ( r_0_s_ET_0_AC_0_SB_TL_1 , Button . WidthProperty ) ;
73+ r_0_s_ET_0_AC_0_SB . Children . Add ( r_0_s_ET_0_AC_0_SB_TL_1 ) ;
74+ EventTrigger r_0_s_ET_1 = new EventTrigger ( Button . MouseLeaveEvent ) ;
75+ r_0_s . Triggers . Add ( r_0_s_ET_1 ) ;
76+ BeginStoryboard r_0_s_ET_1_AC_0 = new BeginStoryboard ( ) ;
77+ r_0_s_ET_1_AC_0 . Name = "r_0_s_ET_1_AC_0" ;
78+ r_0_s_ET_1 . AddAction ( r_0_s_ET_1_AC_0 ) ;
79+ Storyboard r_0_s_ET_1_AC_0_SB = new Storyboard ( ) ;
80+ r_0_s_ET_1_AC_0 . Storyboard = r_0_s_ET_1_AC_0_SB ;
81+ r_0_s_ET_1_AC_0_SB . Name = "r_0_s_ET_1_AC_0_SB" ;
82+ ThicknessAnimation r_0_s_ET_1_AC_0_SB_TL_0 = new ThicknessAnimation ( ) ;
83+ r_0_s_ET_1_AC_0_SB_TL_0 . Name = "r_0_s_ET_1_AC_0_SB_TL_0" ;
84+ r_0_s_ET_1_AC_0_SB_TL_0 . Duration = new Duration ( new TimeSpan ( 0 , 0 , 0 , 0 , 500 ) ) ;
85+ r_0_s_ET_1_AC_0_SB_TL_0 . From = new Thickness ( 0F , 5F , 0F , 5F ) ;
86+ r_0_s_ET_1_AC_0_SB_TL_0 . To = new Thickness ( 0F , 1F , 0F , 1F ) ;
87+ SineEase r_0_s_ET_1_AC_0_SB_TL_0_EA = new SineEase ( ) ;
88+ r_0_s_ET_1_AC_0_SB_TL_0 . EasingFunction = r_0_s_ET_1_AC_0_SB_TL_0_EA ;
89+ Storyboard . SetTargetProperty ( r_0_s_ET_1_AC_0_SB_TL_0 , Button . MarginProperty ) ;
90+ r_0_s_ET_1_AC_0_SB . Children . Add ( r_0_s_ET_1_AC_0_SB_TL_0 ) ;
91+ FloatAnimation r_0_s_ET_1_AC_0_SB_TL_1 = new FloatAnimation ( ) ;
92+ r_0_s_ET_1_AC_0_SB_TL_1 . Name = "r_0_s_ET_1_AC_0_SB_TL_1" ;
93+ r_0_s_ET_1_AC_0_SB_TL_1 . Duration = new Duration ( new TimeSpan ( 0 , 0 , 0 , 0 , 500 ) ) ;
94+ r_0_s_ET_1_AC_0_SB_TL_1 . To = 200F ;
95+ SineEase r_0_s_ET_1_AC_0_SB_TL_1_EA = new SineEase ( ) ;
96+ r_0_s_ET_1_AC_0_SB_TL_1 . EasingFunction = r_0_s_ET_1_AC_0_SB_TL_1_EA ;
97+ Storyboard . SetTargetProperty ( r_0_s_ET_1_AC_0_SB_TL_1 , Button . WidthProperty ) ;
98+ r_0_s_ET_1_AC_0_SB . Children . Add ( r_0_s_ET_1_AC_0_SB_TL_1 ) ;
99+ this . Add ( "buttonAnimStyle" , r_0_s ) ;
100+ // Resource - [buttonStyle] Style
101+ var r_1_s_bo = this [ typeof ( Button ) ] ;
102+ Style r_1_s = new Style ( typeof ( Button ) , r_1_s_bo as Style ) ;
103+ Setter r_1_s_S_0 = new Setter ( Button . BackgroundProperty , new SolidColorBrush ( new ColorW ( 255 , 140 , 0 , 255 ) ) ) ;
104+ r_1_s . Setters . Add ( r_1_s_S_0 ) ;
105+ Setter r_1_s_S_1 = new Setter ( Button . WidthProperty , 200F ) ;
106+ r_1_s . Setters . Add ( r_1_s_S_1 ) ;
107+ Setter r_1_s_S_2 = new Setter ( Button . PaddingProperty , new Thickness ( 2F ) ) ;
108+ r_1_s . Setters . Add ( r_1_s_S_2 ) ;
109+ this . Add ( "buttonStyle" , r_1_s ) ;
51110 // Resource - [logoEmptyKeys] BitmapImage
52111 BitmapImage r_2_bm = new BitmapImage ( ) ;
53112 r_2_bm . TextureAsset = "Images/EmptyKeysLogoTextSmall" ;
54113 this . Add ( "logoEmptyKeys" , r_2_bm ) ;
55- // Resource - [buttonAnimStyle] Style
56- var r_3_s_bo = this [ typeof ( Button ) ] ;
57- Style r_3_s = new Style ( typeof ( Button ) , r_3_s_bo as Style ) ;
58- Setter r_3_s_S_0 = new Setter ( Button . WidthProperty , 200F ) ;
59- r_3_s . Setters . Add ( r_3_s_S_0 ) ;
60- Setter r_3_s_S_1 = new Setter ( Button . MarginProperty , new Thickness ( 0F , 1F , 0F , 1F ) ) ;
61- r_3_s . Setters . Add ( r_3_s_S_1 ) ;
62- Setter r_3_s_S_2 = new Setter ( Button . SnapsToDevicePixelsProperty , false ) ;
63- r_3_s . Setters . Add ( r_3_s_S_2 ) ;
64- EventTrigger r_3_s_ET_0 = new EventTrigger ( Button . MouseEnterEvent ) ;
65- r_3_s . Triggers . Add ( r_3_s_ET_0 ) ;
66- BeginStoryboard r_3_s_ET_0_AC_0 = new BeginStoryboard ( ) ;
67- r_3_s_ET_0_AC_0 . Name = "r_3_s_ET_0_AC_0" ;
68- r_3_s_ET_0 . AddAction ( r_3_s_ET_0_AC_0 ) ;
69- Storyboard r_3_s_ET_0_AC_0_SB = new Storyboard ( ) ;
70- r_3_s_ET_0_AC_0 . Storyboard = r_3_s_ET_0_AC_0_SB ;
71- r_3_s_ET_0_AC_0_SB . Name = "r_3_s_ET_0_AC_0_SB" ;
72- ThicknessAnimation r_3_s_ET_0_AC_0_SB_TL_0 = new ThicknessAnimation ( ) ;
73- r_3_s_ET_0_AC_0_SB_TL_0 . Name = "r_3_s_ET_0_AC_0_SB_TL_0" ;
74- r_3_s_ET_0_AC_0_SB_TL_0 . Duration = new Duration ( new TimeSpan ( 0 , 0 , 0 , 0 , 500 ) ) ;
75- r_3_s_ET_0_AC_0_SB_TL_0 . From = new Thickness ( 0F , 1F , 0F , 1F ) ;
76- r_3_s_ET_0_AC_0_SB_TL_0 . To = new Thickness ( 0F , 5F , 0F , 5F ) ;
77- SineEase r_3_s_ET_0_AC_0_SB_TL_0_EA = new SineEase ( ) ;
78- r_3_s_ET_0_AC_0_SB_TL_0 . EasingFunction = r_3_s_ET_0_AC_0_SB_TL_0_EA ;
79- Storyboard . SetTargetProperty ( r_3_s_ET_0_AC_0_SB_TL_0 , Button . MarginProperty ) ;
80- r_3_s_ET_0_AC_0_SB . Children . Add ( r_3_s_ET_0_AC_0_SB_TL_0 ) ;
81- FloatAnimation r_3_s_ET_0_AC_0_SB_TL_1 = new FloatAnimation ( ) ;
82- r_3_s_ET_0_AC_0_SB_TL_1 . Name = "r_3_s_ET_0_AC_0_SB_TL_1" ;
83- r_3_s_ET_0_AC_0_SB_TL_1 . Duration = new Duration ( new TimeSpan ( 0 , 0 , 0 , 0 , 500 ) ) ;
84- r_3_s_ET_0_AC_0_SB_TL_1 . To = 220F ;
85- SineEase r_3_s_ET_0_AC_0_SB_TL_1_EA = new SineEase ( ) ;
86- r_3_s_ET_0_AC_0_SB_TL_1 . EasingFunction = r_3_s_ET_0_AC_0_SB_TL_1_EA ;
87- Storyboard . SetTargetProperty ( r_3_s_ET_0_AC_0_SB_TL_1 , Button . WidthProperty ) ;
88- r_3_s_ET_0_AC_0_SB . Children . Add ( r_3_s_ET_0_AC_0_SB_TL_1 ) ;
89- EventTrigger r_3_s_ET_1 = new EventTrigger ( Button . MouseLeaveEvent ) ;
90- r_3_s . Triggers . Add ( r_3_s_ET_1 ) ;
91- BeginStoryboard r_3_s_ET_1_AC_0 = new BeginStoryboard ( ) ;
92- r_3_s_ET_1_AC_0 . Name = "r_3_s_ET_1_AC_0" ;
93- r_3_s_ET_1 . AddAction ( r_3_s_ET_1_AC_0 ) ;
94- Storyboard r_3_s_ET_1_AC_0_SB = new Storyboard ( ) ;
95- r_3_s_ET_1_AC_0 . Storyboard = r_3_s_ET_1_AC_0_SB ;
96- r_3_s_ET_1_AC_0_SB . Name = "r_3_s_ET_1_AC_0_SB" ;
97- ThicknessAnimation r_3_s_ET_1_AC_0_SB_TL_0 = new ThicknessAnimation ( ) ;
98- r_3_s_ET_1_AC_0_SB_TL_0 . Name = "r_3_s_ET_1_AC_0_SB_TL_0" ;
99- r_3_s_ET_1_AC_0_SB_TL_0 . Duration = new Duration ( new TimeSpan ( 0 , 0 , 0 , 0 , 500 ) ) ;
100- r_3_s_ET_1_AC_0_SB_TL_0 . From = new Thickness ( 0F , 5F , 0F , 5F ) ;
101- r_3_s_ET_1_AC_0_SB_TL_0 . To = new Thickness ( 0F , 1F , 0F , 1F ) ;
102- SineEase r_3_s_ET_1_AC_0_SB_TL_0_EA = new SineEase ( ) ;
103- r_3_s_ET_1_AC_0_SB_TL_0 . EasingFunction = r_3_s_ET_1_AC_0_SB_TL_0_EA ;
104- Storyboard . SetTargetProperty ( r_3_s_ET_1_AC_0_SB_TL_0 , Button . MarginProperty ) ;
105- r_3_s_ET_1_AC_0_SB . Children . Add ( r_3_s_ET_1_AC_0_SB_TL_0 ) ;
106- FloatAnimation r_3_s_ET_1_AC_0_SB_TL_1 = new FloatAnimation ( ) ;
107- r_3_s_ET_1_AC_0_SB_TL_1 . Name = "r_3_s_ET_1_AC_0_SB_TL_1" ;
108- r_3_s_ET_1_AC_0_SB_TL_1 . Duration = new Duration ( new TimeSpan ( 0 , 0 , 0 , 0 , 500 ) ) ;
109- r_3_s_ET_1_AC_0_SB_TL_1 . To = 200F ;
110- SineEase r_3_s_ET_1_AC_0_SB_TL_1_EA = new SineEase ( ) ;
111- r_3_s_ET_1_AC_0_SB_TL_1 . EasingFunction = r_3_s_ET_1_AC_0_SB_TL_1_EA ;
112- Storyboard . SetTargetProperty ( r_3_s_ET_1_AC_0_SB_TL_1 , Button . WidthProperty ) ;
113- r_3_s_ET_1_AC_0_SB . Children . Add ( r_3_s_ET_1_AC_0_SB_TL_1 ) ;
114- this . Add ( "buttonAnimStyle" , r_3_s ) ;
115114 // Resource - [MessageBoxButtonYes] String
116115 this . Add ( "MessageBoxButtonYes" , "Yes!" ) ;
117116 // Resource - [Sounds] SoundSourceCollection
118- var r_5_sounds = new SoundSourceCollection ( ) ;
119- r_5_sounds . Add ( new SoundSource { SoundType = SoundType . ButtonsClick , SoundAsset = "Click" } ) ;
117+ var r_4_sounds = new SoundSourceCollection ( ) ;
118+ r_4_sounds . Add ( new SoundSource { SoundType = SoundType . ButtonsClick , SoundAsset = "Click" } ) ;
120119 SoundManager . Instance . AddSound ( "Click" ) ;
121- r_5_sounds . Add ( new SoundSource { SoundType = SoundType . TextBoxKeyPress , SoundAsset = "KeyPress" } ) ;
120+ r_4_sounds . Add ( new SoundSource { SoundType = SoundType . TextBoxKeyPress , SoundAsset = "KeyPress" } ) ;
122121 SoundManager . Instance . AddSound ( "KeyPress" ) ;
123- r_5_sounds . Add ( new SoundSource { SoundType = SoundType . TabControlMove , SoundAsset = "Move" } ) ;
122+ r_4_sounds . Add ( new SoundSource { SoundType = SoundType . TabControlMove , SoundAsset = "Move" } ) ;
124123 SoundManager . Instance . AddSound ( "Move" ) ;
125- r_5_sounds . Add ( new SoundSource { SoundType = SoundType . TabControlSelect , SoundAsset = "Select" } ) ;
124+ r_4_sounds . Add ( new SoundSource { SoundType = SoundType . TabControlSelect , SoundAsset = "Select" } ) ;
126125 SoundManager . Instance . AddSound ( "Select" ) ;
127- this . Add ( "Sounds" , r_5_sounds ) ;
126+ this . Add ( "Sounds" , r_4_sounds ) ;
127+ // Resource - [TitleResource] String
128+ this . Add ( "TitleResource" , "Basic UI Example" ) ;
128129 // Resource - [ToolTipText] String
129130 this . Add ( "ToolTipText" , "Click to open message box" ) ;
130131 ImageManager . Instance . AddImage ( "Images/EmptyKeysLogoTextSmall" ) ;
131132 FontManager . Instance . AddFont ( "Segoe UI" , 13.33333F , FontStyle . Regular , "Segoe_UI_10_Regular" ) ;
132133 FontManager . Instance . AddFont ( "Segoe UI" , 20F , FontStyle . Bold , "Segoe_UI_15_Bold" ) ;
133- FontManager . Instance . AddFont ( "Segoe UI" , 12F , FontStyle . Regular , "Segoe_UI_9_Regular" ) ;
134134 }
135135 }
136136}
0 commit comments