@@ -14,12 +14,12 @@ namespace EmptyKeys.UserInterface.Generated {
1414 using EmptyKeys . UserInterface . Media ;
1515 using EmptyKeys . UserInterface . Media . Animation ;
1616 using EmptyKeys . UserInterface . Media . Imaging ;
17+ using EmptyKeys . UserInterface . Shapes ;
18+ using EmptyKeys . UserInterface . Renderers ;
1719 using EmptyKeys . UserInterface . Themes ;
18- using Microsoft . Xna . Framework ;
19- using Microsoft . Xna . Framework . Graphics ;
2020
2121
22- [ GeneratedCodeAttribute ( "Empty Keys UI Generator" , "1.5 .0.0" ) ]
22+ [ GeneratedCodeAttribute ( "Empty Keys UI Generator" , "1.6 .0.0" ) ]
2323 public partial class BasicUI : UIRoot {
2424
2525 private Grid e_0 ;
@@ -72,8 +72,8 @@ public partial class BasicUI : UIRoot {
7272
7373 private Border animBorder2 ;
7474
75- public BasicUI ( int width , int height , GraphicsDevice graphicsDevice , int nativeScreenWidth , int nativeScreenHeight ) :
76- base ( width , height , graphicsDevice , nativeScreenWidth , nativeScreenHeight ) {
75+ public BasicUI ( int width , int height ) :
76+ base ( width , height ) {
7777 Style style = RootStyle . CreateRootStyle ( ) ;
7878 style . TargetType = this . GetType ( ) ;
7979 this . Style = style ;
@@ -101,7 +101,7 @@ private void InitializeComponent() {
101101 this . e_1 = new StackPanel ( ) ;
102102 this . e_0 . Children . Add ( this . e_1 ) ;
103103 this . e_1 . Name = "e_1" ;
104- this . e_1 . Background = new SolidColorBrush ( new Color ( 0 , 0 , 0 , 255 ) ) ;
104+ this . e_1 . Background = new SolidColorBrush ( new ColorW ( 0 , 0 , 0 , 255 ) ) ;
105105 Grid . SetColumnSpan ( this . e_1 , 2 ) ;
106106 // logo element
107107 this . logo = new Image ( ) ;
@@ -119,7 +119,7 @@ private void InitializeComponent() {
119119 this . e_2 . Name = "e_2" ;
120120 this . e_2 . HorizontalAlignment = HorizontalAlignment . Center ;
121121 this . e_2 . VerticalAlignment = VerticalAlignment . Center ;
122- this . e_2 . Foreground = new SolidColorBrush ( new Color ( 211 , 211 , 211 , 255 ) ) ;
122+ this . e_2 . Foreground = new SolidColorBrush ( new ColorW ( 211 , 211 , 211 , 255 ) ) ;
123123 this . e_2 . TextWrapping = TextWrapping . Wrap ;
124124 FontManager . Instance . AddFont ( "Segoe UI" , 20F , FontStyle . Bold , "Segoe_UI_15_Bold" ) ;
125125 this . e_2 . FontFamily = new FontFamily ( "Segoe UI" ) ;
@@ -254,8 +254,8 @@ private void InitializeComponent() {
254254 this . imageButton . Width = 96F ;
255255 ImageBrush imageButton_Background = new ImageBrush ( ) ;
256256 BitmapImage imageButton_Background_bm = new BitmapImage ( ) ;
257- imageButton_Background_bm . TextureAsset = "Images/MonogameLogo " ;
258- ImageManager . Instance . AddImage ( "Images/MonogameLogo " ) ;
257+ imageButton_Background_bm . TextureAsset = "Images/MonoGameLogo " ;
258+ ImageManager . Instance . AddImage ( "Images/MonoGameLogo " ) ;
259259 imageButton_Background . ImageSource = imageButton_Background_bm ;
260260 imageButton_Background . Stretch = Stretch . None ;
261261 this . imageButton . Background = imageButton_Background ;
@@ -318,8 +318,8 @@ private void InitializeComponent() {
318318 animBorder1_ET_0_AC_0_SB_TL_0 . AutoReverse = true ;
319319 animBorder1_ET_0_AC_0_SB_TL_0 . Duration = new Duration ( new TimeSpan ( 0 , 0 , 0 , 5 , 0 ) ) ;
320320 animBorder1_ET_0_AC_0_SB_TL_0 . RepeatBehavior = RepeatBehavior . Forever ;
321- animBorder1_ET_0_AC_0_SB_TL_0 . From = new Color ( 255 , 255 , 0 , 255 ) ;
322- animBorder1_ET_0_AC_0_SB_TL_0 . To = new Color ( 0 , 0 , 255 , 255 ) ;
321+ animBorder1_ET_0_AC_0_SB_TL_0 . From = new ColorW ( 255 , 255 , 0 , 255 ) ;
322+ animBorder1_ET_0_AC_0_SB_TL_0 . To = new ColorW ( 0 , 0 , 255 , 255 ) ;
323323 ExponentialEase animBorder1_ET_0_AC_0_SB_TL_0_EA = new ExponentialEase ( ) ;
324324 animBorder1_ET_0_AC_0_SB_TL_0 . EasingFunction = animBorder1_ET_0_AC_0_SB_TL_0_EA ;
325325 Storyboard . SetTargetName ( animBorder1_ET_0_AC_0_SB_TL_0 , "animBorder1" ) ;
@@ -345,8 +345,8 @@ private void InitializeComponent() {
345345 animBorder2_ET_0_AC_0_SB_TL_0 . AutoReverse = true ;
346346 animBorder2_ET_0_AC_0_SB_TL_0 . Duration = new Duration ( new TimeSpan ( 0 , 0 , 0 , 3 , 0 ) ) ;
347347 animBorder2_ET_0_AC_0_SB_TL_0 . RepeatBehavior = RepeatBehavior . Forever ;
348- animBorder2_ET_0_AC_0_SB_TL_0 . From = new Color ( 255 , 0 , 0 , 255 ) ;
349- animBorder2_ET_0_AC_0_SB_TL_0 . To = new Color ( 255 , 255 , 255 , 255 ) ;
348+ animBorder2_ET_0_AC_0_SB_TL_0 . From = new ColorW ( 255 , 0 , 0 , 255 ) ;
349+ animBorder2_ET_0_AC_0_SB_TL_0 . To = new ColorW ( 255 , 255 , 255 , 255 ) ;
350350 CubicEase animBorder2_ET_0_AC_0_SB_TL_0_EA = new CubicEase ( ) ;
351351 animBorder2_ET_0_AC_0_SB_TL_0 . EasingFunction = animBorder2_ET_0_AC_0_SB_TL_0_EA ;
352352 Storyboard . SetTargetName ( animBorder2_ET_0_AC_0_SB_TL_0 , "animBorder2" ) ;
0 commit comments