示例#1
0
 public LayoutConstructor(Color themeColour) : base(themeColour)
 {
     this.Icon            = Functions.CreateMenuIcon(MenuItemType.CoolStuff, themeColour);
     this.ContentsPage    = null;
     this.EquationsPage   = null;
     this.CoolStuffPage   = new CoolStuffView(Constants.TopicTitles.CoolStuff, themeColour, CoolStuffContents.GetItems(MenuItemType.CoolStuff));
     this.IsCoolStuffPage = true;
 }
示例#2
0
 public LayoutConstructor(Color themeColour) : base(themeColour)
 {
     this.Icon          = Functions.CreateMenuIcon(MenuItemType.QuantumPhysics, themeColour);
     this.ContentsPage  = new ContentsView(themeColour);
     this.EquationsPage = new EquationsViewBase(Constants.TopicTitles.ModernPhysics, themeColour, Equations.EquationsList);
     this.CoolStuffPage = new CoolStuffView(Constants.TopicTitles.ModernPhysics, themeColour, CoolStuffContents.GetItems(MenuItemType.ModernPhysics));
 }
示例#3
0
 public LayoutConstructor(Color themeColour) : base(themeColour)
 {
     this.Icon          = Functions.CreateMenuIcon(MenuItemType.Electromagnetism, themeColour);
     this.ContentsPage  = new ContentsView(themeColour);
     this.EquationsPage = new EquationsViewBase(Constants.TopicTitles.Electromagnetism, themeColour, Equations.EquationsList);
     this.CoolStuffPage = new CoolStuffView(Constants.TopicTitles.Electromagnetism, themeColour, CoolStuffContents.GetItems(MenuItemType.Electromagnetism));
 }