From 26ce695edf97be0383ef4da24c03096594f11ae7 Mon Sep 17 00:00:00 2001 From: Kevin Laborda Date: Fri, 26 Jan 2024 09:46:53 -0700 Subject: [PATCH 1/2] chore: call out community edition in window title --- YAFC/Windows/MainScreen.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YAFC/Windows/MainScreen.cs b/YAFC/Windows/MainScreen.cs index 45668085..16662fa0 100644 --- a/YAFC/Windows/MainScreen.cs +++ b/YAFC/Windows/MainScreen.cs @@ -50,7 +50,7 @@ public MainScreen(int display, Project project) : base(default) Instance = this; tabBar = new MainScreenTabBar(this); allPages = new VirtualScrollList(30, new Vector2(0f, 2f), BuildPage, collapsible:true); - Create("Yet Another Factorio Calculator v"+YafcLib.version, display); + Create("Yet Another Factorio Calculator CE v"+YafcLib.version, display); SetProject(project); } @@ -665,4 +665,4 @@ public void ShowTooltip(ImGui gui, ProjectPage page, bool isMiddleEdit, Rect rec }); } } -} \ No newline at end of file +} From c0921ebb83b8e62d44540d3c07319dd5f6134050 Mon Sep 17 00:00:00 2001 From: Kevin Laborda Date: Fri, 26 Jan 2024 09:51:45 -0700 Subject: [PATCH 2/2] chore: also call out CE edition in welcome screen --- YAFC/Windows/WelcomeScreen.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YAFC/Windows/WelcomeScreen.cs b/YAFC/Windows/WelcomeScreen.cs index c0cbfb8d..4fef0047 100644 --- a/YAFC/Windows/WelcomeScreen.cs +++ b/YAFC/Windows/WelcomeScreen.cs @@ -72,7 +72,7 @@ public WelcomeScreen() : base(ImGuiUtils.DefaultScreenPadding) errorScroll = new VerticalScrollCustom(20f, BuildError, collapsible:true); recentProjectScroll = new VerticalScrollCustom(20f, BuildRecentProjectList, collapsible:true); languageScroll = new VerticalScrollCustom(20f, LanguageSelection, collapsible: true); - Create("Welcome to YAFC v"+YafcLib.version.ToString(3), 45, null); + Create("Welcome to YAFC CE v"+YafcLib.version.ToString(3), 45, null); IconCollection.ClearCustomIcons(); if (tips == null) tips = File.ReadAllLines("Data/Tips.txt"); @@ -380,4 +380,4 @@ private void BuildRecentProjectList(ImGui gui) } } } -} \ No newline at end of file +}