--- /dev/null
+using Oobe.Common.Interfaces;\r
+using Oobe.Common.Styles;\r
+using Tizen.NUI;\r
+using Tizen.NUI.BaseComponents;\r
+using Tizen.NUI.Components;\r
+\r
+namespace Oobe.Welcome\r
+{\r
+ public class WelcomeStep : ProcessStep\r
+ {\r
+ public override View CreateView(IProcessNavigation nav)\r
+ {\r
+ View container = new View();\r
+\r
+ TextLabel title = new TextLabel("Welcome to Tizen IoT!");\r
+ title.Position2D = new Position2D(163, 160);\r
+ title.Size2D = new Size2D(857, 63);\r
+ title.TextColor = new Color(0, 20.0f/255.0f, 71.0f/255.0f, 1.0f);\r
+ title.PointSize = 48.0f;\r
+ title.HorizontalAlignment = HorizontalAlignment.Center;\r
+ title.FontFamily = "BreezeSans";\r
+ title.FontStyle = FontsStyles.Light();\r
+\r
+ TextLabel content = new TextLabel();\r
+ content.Position2D = new Position2D(81, 247);\r
+ content.Size2D = new Size2D(1022, 166);\r
+ content.TextColor = new Color(0, 12.0f/255.0f, 43.0f/255.0f, 1.0f);\r
+ content.PointSize = 22.0f;\r
+ content.HorizontalAlignment = HorizontalAlignment.Center;\r
+ content.FontFamily = "BreezeSansLight";\r
+ content.MultiLine = true;\r
+ content.Text = "There should be some description or information about Tizen IoT. There should be some description or information about Tizen IoT. There should be some description or information about Tizen IoT. There should be some description or information about Tizen IoT. There should be some description or information about Tizen IoT. There should be some description or information about Tizen IoT. There should be some description or information about Tizen IoT. There should be some description or information about Tizen IoT.";\r
+\r
+ Button next = new Button(ButtonStyles.Next);\r
+ next.Position2D = new Position2D(472, 512);\r
+ next.Text = "GET STARTED";\r
+ next.ClickEvent += (obj, args) => {\r
+ nav.Next();\r
+ };\r
+\r
+ container.Add(title);\r
+ container.Add(next);\r
+ container.Add(content);\r
+\r
+ return container;\r
+ }\r
+ }\r
+}\r
using Oobe.Common.Interfaces;
using Oobe.Language;
using Oobe.Views;
+using Oobe.Welcome;
using Tizen.NUI;
using Oobe.Region;
using System;
//TODO consider loading this from xaml, xml or something...
steps = new LinkedList<Lazy<ProcessStep>>(new []{
new Lazy<ProcessStep>(() => new LanguageStep()),
- new Lazy<ProcessStep>(() => new RegionStep())}
+ new Lazy<ProcessStep>(() => new RegionStep()),
+ new Lazy<ProcessStep>(() => new WelcomeStep())}
);
//only for review
steps.AddFirst(new Lazy<ProcessStep>(() => new WifiStep()));
<ProjectReference Include="..\OobeLanguage\OobeLanguage.csproj" />
<ProjectReference Include="..\OobeRegion\OobeRegion.csproj" />
<ProjectReference Include="..\OobeTerms\OobeTerms.csproj" />
- <ProjectReference Include="..\OobeWelcome\OobeWelcome.csproj" />
+ <ProjectReference Include="..\Oobe.Welcome\OobeWelcome.csproj" />
<ProjectReference Include="..\OobeWifi\OobeWifi.csproj" />
</ItemGroup>