Пример #1
0
 public override void Initialize()
 {
     //tvPopup = new PopupScreen("", 240);
     tvPopup = new PopupScreen("");
     ScreenManager.AddScreen(tvPopup);
     base.Initialize();
 }
Пример #2
0
 public override void Initialize()
 {
     //tvPopup = new PopupScreen("", 240);
     tvPopup = new PopupScreen("");
     ScreenManager.AddScreen(tvPopup);
     base.Initialize();
 }
Пример #3
0
        public override void Initialize()
        {
            //showAvatar = false;
            enablePause = false;
            videos      = new Video[4];

            /*        button = new Button();
             *      hand = new HandCursor();
             *      hand.Initialize(ScreenManager.Kinect);
             *      button.Initialize("Buttons/ok", this.ScreenManager.Kinect, new Vector2(820, 350));
             *      button.Clicked += new Button.ClickedEventHandler(button_Clicked);
             *      Text = "1)This Application allows you to control home devices by providing voice and gesture recognition systems. \n2)The avatar on top right represents your distance from the kinect sensor.";
             *      textPosition = new Vector2(75, 145);
             *      textBox = new Rectangle((int)textPosition.X, (int)textPosition.Y, 1020, 455);*/

            tv      = new TvManager();
            tvPopup = new PopupScreen("", 240);
            ScreenManager.AddScreen(tvPopup);

            suppressUiTimer = 0;

            base.Initialize();
        }
Пример #4
0
        public override void Initialize()
        {
            //showAvatar = false;
            enablePause = false;
            videos = new Video[4];
            /*        button = new Button();
                    hand = new HandCursor();
                    hand.Initialize(ScreenManager.Kinect);
                    button.Initialize("Buttons/ok", this.ScreenManager.Kinect, new Vector2(820, 350));
                    button.Clicked += new Button.ClickedEventHandler(button_Clicked);
                    Text = "1)This Application allows you to control home devices by providing voice and gesture recognition systems. \n2)The avatar on top right represents your distance from the kinect sensor.";
                    textPosition = new Vector2(75, 145);
                    textBox = new Rectangle((int)textPosition.X, (int)textPosition.Y, 1020, 455);*/

            tv = new TvManager();
            tvPopup = new PopupScreen("", 240);
            ScreenManager.AddScreen(tvPopup);

            suppressUiTimer = 0;

            base.Initialize();
        }