Ejemplo n.º 1
0
        public UIPage(UIDirection direction, UIPageHeight height)
        {
            this.Name = GiveName();

            if (direction == UIDirection.FROM_LEFT)
            {
                this.Idle = new UIIdlePage()
                {
                    Float           = Float.TOP_CENTER,
                    Width           = Styles.Width_Page,
                    Top             = Styles.Top_Page,
                    Right           = Styles.Screen_Width,
                    BackgroundColor = Media.colorWhite
                };
            }
            else if (direction == UIDirection.FROM_RIGHT)
            {
                this.Idle = new UIIdlePage()
                {
                    Float           = Float.TOP_CENTER,
                    Width           = Styles.Width_Page,
                    Top             = Styles.Top_Page,
                    Left            = Styles.Screen_Width,
                    BackgroundColor = Media.colorWhite
                };
            }
            else if (direction == UIDirection.CENTER)
            {
                this.Idle = new UIIdlePage()
                {
                    Float           = Float.TOP_CENTER,
                    Width           = Styles.Width_Page,
                    Top             = Styles.Top_Page,
                    BackgroundColor = Media.colorWhite
                };
            }

            if (height == UIPageHeight.NORMAL)
            {
                this.Idle.Height = Styles.Height_Page;
            }
            else if (height == UIPageHeight.TALL)
            {
                this.Idle.Height = Styles.Height_Page_With_Nav_Bar;
            }

            this.States     = GenerateStates();
            this.Components = GenerateComponents();
        }
Ejemplo n.º 2
0
 public pageMain(UIDirection direction, UIPageHeight height) : base(direction, height)
 {
 }
Ejemplo n.º 3
0
 public pageAbout_4(UIDirection direction, UIPageHeight height) : base(direction, height)
 {
 }
Ejemplo n.º 4
0
 public pageFriends(UIDirection direction, UIPageHeight height) : base(direction, height)
 {
 }
Ejemplo n.º 5
0
 public pageProfile(UIDirection direction, UIPageHeight height) : base(direction, height)
 {
 }
 public pageCharacters(UIDirection direction, UIPageHeight height) : base(direction, height)
 {
 }
Ejemplo n.º 7
0
 public pageLogout(UIDirection direction, UIPageHeight height) : base(direction, height)
 {
 }
 public pageSoundtracks(UIDirection direction, UIPageHeight height) : base(direction, height)
 {
 }
Ejemplo n.º 9
0
 public pageError(UIDirection direction, UIPageHeight height) : base(direction, height)
 {
 }
Ejemplo n.º 10
0
 public pageInbox(UIDirection direction, UIPageHeight height) : base(direction, height)
 {
 }