Esempio n. 1
0
		protected override void BuildContent (Container parent)
		{
			LogoImage = Xwt.Drawing.Image.FromResource ("WelcomePage_Logo.png");
			TopBorderImage = Xwt.Drawing.Image.FromResource ("WelcomePage_TopBorderRepeat.png");

			var mainAlignment = new Gtk.Alignment (0.5f, 0.5f, 0f, 1f);

			var mainCol = new WelcomePageColumn ();
			mainAlignment.Add (mainCol);

			var row1 = new WelcomePageRow ();
			row1.PackStart (new WelcomePageButtonBar (
				new WelcomePageBarButton ("MonoDevelop.com", "http://www.monodevelop.com", "link-cloud.png"),
				new WelcomePageBarButton (GettextCatalog.GetString ("Documentation"), "http://www.go-mono.com/docs", "link-info.png"),
				new WelcomePageBarButton (GettextCatalog.GetString ("Support"), "http://monodevelop.com/index.php?title=Help_%26_Contact", "link-heart.png"),
				new WelcomePageBarButton (GettextCatalog.GetString ("Q&A"), "http://stackoverflow.com/questions/tagged/monodevelop", "link-chat.png")
				)
			);
			mainCol.PackStart (row1, false, false, 0);

			var row2 = new WelcomePageRow (
				new WelcomePageColumn (
				new WelcomePageRecentProjectsList (GettextCatalog.GetString ("Solutions"))
				),
				new WelcomePageColumn (
					new WelcomePageNewsFeed (GettextCatalog.GetString ("Xamarin News"), "http://software.xamarin.com/Service/News", "NewsLinks")
				),
				new WelcomePageColumn (
					new WelcomePageTipOfTheDaySection ()
				)
			);
			mainCol.PackStart (row2, false, false, 0);

			parent.Add (mainAlignment);
		}
Esempio n. 2
0
		protected override void BuildContent (Container parent)
		{
			LogoImage = Xwt.Drawing.Image.FromResource ("WelcomePage_Logo.png");
			TopBorderImage = Xwt.Drawing.Image.FromResource ("WelcomePage_TopBorderRepeat.png");

			var mainAlignment = new Gtk.Alignment (0.5f, 0.5f, 0f, 1f);

			var mainCol = new WelcomePageColumn ();
			mainAlignment.Add (mainCol);

			var row1 = new WelcomePageRow ();
			row1.PackStart (new WelcomePageButtonBar (
				new WelcomePageBarButton ("Haxe.org", "http://www.haxe.org", "link-cloud.png"),
				new WelcomePageBarButton (GettextCatalog.GetString ("Documentation"), "http://www.http://haxe.org/doc", "link-info.png"),
				new WelcomePageBarButton (GettextCatalog.GetString ("Support"), "https://groups.google.com/forum/#!forum/haxelang", "link-heart.png"),
				new WelcomePageBarButton (GettextCatalog.GetString ("Q&A"), "https://groups.google.com/forum/#!forum/haxelang", "link-chat.png")
				)
			);
			mainCol.PackStart (row1, false, false, 0);

			var row2 = new WelcomePageRow (
				new WelcomePageColumn (
				new WelcomePageRecentProjectsList (GettextCatalog.GetString ("Solutions"))
				),
				new WelcomePageColumn (
					new WelcomePageNewsFeed (GettextCatalog.GetString ("Haxe News"), "http://software.xamarin.com/Service/News", "NewsLinks")
				),
				new WelcomePageColumn (
					new WelcomePageTipOfTheDaySection ()
				)
			);
			mainCol.PackStart (row2, false, false, 0);

			parent.Add (mainAlignment);
		}
Esempio n. 3
0
        protected override void BuildContent(Container parent)
        {
            LogoImage      = Xwt.Drawing.Image.FromResource("welcome-logo.png");
            TopBorderImage = Xwt.Drawing.Image.FromResource("welcome-tile.png");

            var mainAlignment = new Gtk.Alignment(0.5f, 0.5f, 0f, 1f);

            mainAlignment.Accessible.SetShouldIgnore(true);

            var mainCol = new WelcomePageColumn();

            mainCol.Accessible.SetShouldIgnore(true);
            mainAlignment.Add(mainCol);

            var row1 = new WelcomePageRow();

            row1.PackStart(new WelcomePageButtonBar(
                               new WelcomePageBarButton("MonoDevelop.com", "http://www.monodevelop.com", "welcome-link-md-16.png"),
                               new WelcomePageBarButton(GettextCatalog.GetString("Documentation"), "http://www.go-mono.com/docs", "welcome-link-info-16.png"),
                               new WelcomePageBarButton(GettextCatalog.GetString("Support"), "http://monodevelop.com/index.php?title=Help_%26_Contact", "welcome-link-support-16.png"),
                               new WelcomePageBarButton(GettextCatalog.GetString("Q&A"), "http://stackoverflow.com/questions/tagged/monodevelop", "welcome-link-chat-16.png")
                               )
                           );
            row1.Accessible.SetShouldIgnore(true);
            mainCol.PackStart(row1, false, false, 0);

            var row2 = new WelcomePageRow(
                new WelcomePageColumn(
                    new WelcomePageRecentProjectsList(GettextCatalog.GetString("Solutions"))
                    ),
                new WelcomePageColumn(
                    new WelcomePageNewsFeed(GettextCatalog.GetString("Xamarin News"), "http://software.xamarin.com/Service/News", "NewsLinks")
                    ),
                new WelcomePageColumn(
                    new WelcomePageTipOfTheDaySection()
                    )
                );

            row2.Accessible.SetShouldIgnore(true);
            mainCol.PackStart(row2, false, false, 0);

            parent.Add(mainAlignment);
        }
Esempio n. 4
0
        protected override void BuildContent(Container parent)
        {
            LogoImage      = Gdk.Pixbuf.LoadFromResource("WelcomePage_Logo.png");
            TopBorderImage = Gdk.Pixbuf.LoadFromResource("WelcomePage_TopBorderRepeat.png");

            var mainAlignment = new Gtk.Alignment(0.5f, 0.5f, 0f, 1f);

            var mainCol = new WelcomePageColumn();

            mainAlignment.Add(mainCol);

            var row1 = new WelcomePageRow();

            row1.PackStart(new WelcomePageButtonBar(
                               new WelcomePageBarButton("MonoDevelop.com", "http://www.monodevelop.com", "link-cloud.png"),
                               new WelcomePageBarButton(GettextCatalog.GetString("Documentation"), "http://www.go-mono.com/docs", "link-info.png"),
                               new WelcomePageBarButton(GettextCatalog.GetString("Support"), "http://monodevelop.com/index.php?title=Help_%26_Contact", "link-heart.png"),
                               new WelcomePageBarButton(GettextCatalog.GetString("Q&A"), "http://stackoverflow.com/questions/tagged/monodevelop", "link-chat.png")
                               )
                           );
            mainCol.PackStart(row1, false, false, 0);

            var row2 = new WelcomePageRow(
                new WelcomePageColumn(
                    new WelcomePageRecentProjectsList(GettextCatalog.GetString("Solutions"))
                    ),
                new WelcomePageColumn(
                    new WelcomePageNewsFeed(GettextCatalog.GetString("Xamarin News"), "http://software.xamarin.com/Service/News", "NewsLinks")
                    ),
                new WelcomePageColumn(
                    new WelcomePageTipOfTheDaySection()
                    )
                );

            mainCol.PackStart(row2, false, false, 0);

            parent.Add(mainAlignment);
        }