Skip to content

Commit

Permalink
Rename LVGL.Simulator project name to LvglWindowsSimulator for fixing…
Browse files Browse the repository at this point in the history
… the issue #42.
  • Loading branch information
MouriNaruto committed May 23, 2023
1 parent e3bc058 commit aea18da
Show file tree
Hide file tree
Showing 25 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion LVGL.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30907.101
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LVGL.Simulator", "LVGL.Simulator\LVGL.Simulator.vcxproj", "{3CA6E070-4AC1-475E-BB17-CF29AE4806DF}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LvglWindowsSimulator", "LvglWindowsSimulator\LvglWindowsSimulator.vcxproj", "{3CA6E070-4AC1-475E-BB17-CF29AE4806DF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
10 changes: 5 additions & 5 deletions LvglMaintainerTools/LvglSubmoduleProjectFileGenerator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static void Main(string[] args)
List<(string, string)> NewHeaderNames = new List<(string, string)>();
List<(string, string)> NewSourceNames = new List<(string, string)>();
List<(string, string)> NewOtherNames = new List<(string, string)>();

foreach (var FilterName in FilterNames)
{
NewFilterNames.Add(
Expand Down Expand Up @@ -159,8 +159,8 @@ static void Main(string[] args)

ProjectRootElement ProjectRoot = ProjectRootElement.Open(
string.Format(
@"{0}\LVGL.Simulator.vcxproj",
Path.GetFullPath(Root + @"\LVGL.Simulator\")));
@"{0}\LvglWindowsSimulator.vcxproj",
Path.GetFullPath(Root + @"\LvglWindowsSimulator\")));

foreach (ProjectItemElement Item in ProjectRoot.Items)
{
Expand All @@ -173,8 +173,8 @@ static void Main(string[] args)

ProjectRootElement FiltersRoot = ProjectRootElement.Open(
string.Format(
@"{0}\LVGL.Simulator.vcxproj.filters",
Path.GetFullPath(Root + @"\LVGL.Simulator\")));
@"{0}\LvglWindowsSimulator.vcxproj.filters",
Path.GetFullPath(Root + @"\LvglWindowsSimulator\")));

foreach (ProjectItemElement Item in FiltersRoot.Items)
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* PROJECT: LVGL PC Simulator using Visual Studio
* FILE: LVGL.Simulator.cpp
* PROJECT: LVGL Windows Simulator
* FILE: LvglWindowsSimulator.cpp
* PURPOSE: Implementation for LVGL ported to Windows Desktop
*
* LICENSE: The MIT License
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ProjectGuid>{3CA6E070-4AC1-475E-BB17-CF29AE4806DF}</ProjectGuid>
<RootNamespace>LVGL</RootNamespace>
<MileProjectType>ConsoleApplication</MileProjectType>
<MileProjectManifestFile>LVGL.Simulator.manifest</MileProjectManifestFile>
<MileProjectManifestFile>LvglWindowsSimulator.manifest</MileProjectManifestFile>
<MileProjectEnableVCLTLSupport>true</MileProjectEnableVCLTLSupport>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)'=='Debug'">
Expand Down Expand Up @@ -258,7 +258,7 @@
<ClInclude Include="win32drv.h" />
</ItemGroup>
<ItemGroup>
<Manifest Include="LVGL.Simulator.manifest" />
<Manifest Include="LvglWindowsSimulator.manifest" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="Mile.Project.Properties.h" />
Expand Down Expand Up @@ -720,11 +720,11 @@
<ClCompile Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\src\widgets\textarea\lv_textarea.c" />
<ClCompile Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\src\widgets\tileview\lv_tileview.c" />
<ClCompile Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\src\widgets\win\lv_win.c" />
<ClCompile Include="LVGL.Simulator.cpp" />
<ClCompile Include="LvglWindowsSimulator.cpp" />
<ClCompile Include="win32drv.c" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="LVGL.Simulator.rc" />
<ResourceCompile Include="LvglWindowsSimulator.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="LVGL.ico" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@
<ClInclude Include="win32drv.h" />
</ItemGroup>
<ItemGroup>
<Manifest Include="LVGL.Simulator.manifest" />
<Manifest Include="LvglWindowsSimulator.manifest" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="Mile.Project.Properties.h" />
Expand Down Expand Up @@ -2055,11 +2055,11 @@
<ClCompile Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\src\widgets\win\lv_win.c">
<Filter>lvgl\src\widgets\win</Filter>
</ClCompile>
<ClCompile Include="LVGL.Simulator.cpp" />
<ClCompile Include="LvglWindowsSimulator.cpp" />
<ClCompile Include="win32drv.c" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="LVGL.Simulator.rc" />
<ResourceCompile Include="LvglWindowsSimulator.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="LVGL.ico" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* PROJECT: LVGL PC Simulator using Visual Studio
* FILE: LVGL.Simulator.cpp
* PROJECT: LVGL Windows Simulator
* FILE: LvglWindowsSimulator.cpp
* PURPOSE: Implementation for LVGL ported to Windows Desktop
*
* LICENSE: The MIT License
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
PROJECT: LVGL PC Simulator using Visual Studio
PROJECT: LVGL Windows Simulator
FILE: freetype.props
PURPOSE: Property sheet for FreeType
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ 生成的包含文件。
// 供 LVGL.Simulator.rc 使用
// 供 LvglWindowsSimulator.rc 使用
//
#define IDI_LVGL 101

Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ will require a different, more involved procedure.

## How To Build & Run

Open the `LVGL.Simulator.sln` solution file in Visual Studio. Set the
`LVGL.Simulator` project as the startup project. Click on the `Local Windows
Open the `LvglWindowsSimulator.sln` solution file in Visual Studio. Set the
`LvglWindowsSimulator` project as the startup project. Click on the `Local Windows
Debugger` button in the top toolbar. The included project will be built and
run, launching from a cmd window.

## Trying Things Out

There are a list of possible test applications in the
[LVGL.Simulator.cpp](LVGL.Simulator/LVGL.Simulator.cpp) file. Each test or demo
[LvglWindowsSimulator.cpp](LvglWindowsSimulator/LvglWindowsSimulator.cpp) file. Each test or demo
is launched via a single function call. By default the `lv_demo_widgets`
function is the one that runs, but you can comment that one out and choose any
of the others to compile and run.
Expand Down

0 comments on commit aea18da

Please sign in to comment.