Forráskód Böngészése

Soui开发自动编译系统客户端。

sat23 3 éve
szülő
commit
9df8441db3
37 módosított fájl, 1297 hozzáadás és 0 törlés
  1. 20 0
      AutoCompilation/AutoCompilation.08.sln
  2. 25 0
      AutoCompilation/AutoCompilation.sln
  3. BIN
      AutoCompilation/AutoCompilation/AutoCompilation.cpp
  4. BIN
      AutoCompilation/AutoCompilation/AutoCompilation.rc
  5. 339 0
      AutoCompilation/AutoCompilation/AutoCompilation.vcproj
  6. 159 0
      AutoCompilation/AutoCompilation/AutoCompilation.vcxproj
  7. 126 0
      AutoCompilation/AutoCompilation/AutoCompilation.vcxproj.filters
  8. 126 0
      AutoCompilation/AutoCompilation/CLoginDlg.cpp
  9. 49 0
      AutoCompilation/AutoCompilation/CLoginDlg.h
  10. BIN
      AutoCompilation/AutoCompilation/MainDlg.cpp
  11. BIN
      AutoCompilation/AutoCompilation/MainDlg.h
  12. 12 0
      AutoCompilation/AutoCompilation/license.txt
  13. 44 0
      AutoCompilation/AutoCompilation/readme.txt
  14. BIN
      AutoCompilation/AutoCompilation/res/resource.h
  15. BIN
      AutoCompilation/AutoCompilation/res/soui_res.rc2
  16. 15 0
      AutoCompilation/AutoCompilation/resource.h
  17. 5 0
      AutoCompilation/AutoCompilation/stdafx.cpp
  18. BIN
      AutoCompilation/AutoCompilation/stdafx.h
  19. 62 0
      AutoCompilation/AutoCompilation/trayicon/SShellNofityHwnd2.cpp
  20. 58 0
      AutoCompilation/AutoCompilation/trayicon/SShellNofityHwnd2.h
  21. BIN
      AutoCompilation/AutoCompilation/trayicon/SShellNotifyIcon.cpp
  22. BIN
      AutoCompilation/AutoCompilation/trayicon/SShellNotifyIcon.h
  23. 50 0
      AutoCompilation/AutoCompilation/uires/Translator/lang_cn.xml
  24. 54 0
      AutoCompilation/AutoCompilation/uires/Translator/lang_jp.xml
  25. BIN
      AutoCompilation/AutoCompilation/uires/image/page_icons.png
  26. BIN
      AutoCompilation/AutoCompilation/uires/image/soui.ico
  27. BIN
      AutoCompilation/AutoCompilation/uires/image/tab_main.png
  28. BIN
      AutoCompilation/AutoCompilation/uires/image/traymenu_icons.png
  29. 17 0
      AutoCompilation/AutoCompilation/uires/uidef/init.xml
  30. 31 0
      AutoCompilation/AutoCompilation/uires/uires.idx
  31. 10 0
      AutoCompilation/AutoCompilation/uires/values/color.xml
  32. 7 0
      AutoCompilation/AutoCompilation/uires/values/skin.xml
  33. 5 0
      AutoCompilation/AutoCompilation/uires/values/string.xml
  34. 21 0
      AutoCompilation/AutoCompilation/uires/xml/dlg_login.xml
  35. 28 0
      AutoCompilation/AutoCompilation/uires/xml/dlg_main.xml
  36. 16 0
      AutoCompilation/AutoCompilation/uires/xml/menu_tray.xml
  37. 18 0
      AutoCompilation/AutoCompilation/uires/xml/page.xml

+ 20 - 0
AutoCompilation/AutoCompilation.08.sln

@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AutoCompilation", "AutoCompilation\AutoCompilation.vcproj", "{B732C43E-3D58-4663-8B7E-707D7634AF76}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Win32 = Debug|Win32
+		Release|Win32 = Release|Win32
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{B732C43E-3D58-4663-8B7E-707D7634AF76}.Debug|Win32.ActiveCfg = Debug|Win32
+		{B732C43E-3D58-4663-8B7E-707D7634AF76}.Debug|Win32.Build.0 = Debug|Win32
+		{B732C43E-3D58-4663-8B7E-707D7634AF76}.Release|Win32.ActiveCfg = Release|Win32
+		{B732C43E-3D58-4663-8B7E-707D7634AF76}.Release|Win32.Build.0 = Release|Win32
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal

+ 25 - 0
AutoCompilation/AutoCompilation.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.0.31903.59
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AutoCompilation", "AutoCompilation\AutoCompilation.vcxproj", "{B732C43E-3D58-4663-8B7E-707D7634AF76}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Win32 = Debug|Win32
+		Release|Win32 = Release|Win32
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{B732C43E-3D58-4663-8B7E-707D7634AF76}.Debug|Win32.ActiveCfg = Debug|Win32
+		{B732C43E-3D58-4663-8B7E-707D7634AF76}.Debug|Win32.Build.0 = Debug|Win32
+		{B732C43E-3D58-4663-8B7E-707D7634AF76}.Release|Win32.ActiveCfg = Release|Win32
+		{B732C43E-3D58-4663-8B7E-707D7634AF76}.Release|Win32.Build.0 = Release|Win32
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {3DE40B85-D985-4F8C-ABF7-406E4FEEA0BA}
+	EndGlobalSection
+EndGlobal

BIN
AutoCompilation/AutoCompilation/AutoCompilation.cpp


BIN
AutoCompilation/AutoCompilation/AutoCompilation.rc


+ 339 - 0
AutoCompilation/AutoCompilation/AutoCompilation.vcproj

@@ -0,0 +1,339 @@
+<?xml version="1.0" encoding="gb2312"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="9.00"
+	Name="AutoCompilation"
+	ProjectGUID="{B732C43E-3D58-4663-8B7E-707D7634AF76}"
+	TargetFrameworkVersion="196613"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="1"
+			CharacterSet="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="&quot;$(SOUIPATH)\config&quot;;&quot;$(SOUIPATH)\components&quot;;&quot;$(SOUIPATH)\SOUI\include&quot;;&quot;$(SOUIPATH)\utilities\include&quot;"
+				PreprocessorDefinitions="WIN32;_WINDOWS;STRICT;_DEBUG"
+				RuntimeLibrary="3"
+				TreatWChar_tAsBuiltInType="true"
+				UsePrecompiledHeader="2"
+				BrowseInformation="1"
+				WarningLevel="3"
+				SuppressStartupBanner="true"
+				DebugInformationFormat="4"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+				PreprocessorDefinitions="_UNICODE;UNICODE;_DEBUG;_DEBUG"
+				Culture="2052"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="utilitiesd.lib souid.lib"
+				LinkIncremental="2"
+				SuppressStartupBanner="true"
+				AdditionalLibraryDirectories="&quot;$(SOUIPATH)\bin&quot;"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="1"
+			CharacterSet="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				WholeProgramOptimization="true"
+				AdditionalIncludeDirectories="&quot;$(SOUIPATH)\config&quot;;&quot;$(SOUIPATH)\components&quot;;&quot;$(SOUIPATH)\SOUI\include&quot;;&quot;$(SOUIPATH)\utilities\include&quot;"
+				PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
+				RuntimeLibrary="2"
+				TreatWChar_tAsBuiltInType="true"
+				UsePrecompiledHeader="2"
+				WarningLevel="3"
+				SuppressStartupBanner="true"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+				Culture="2052"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="utilities.lib soui.lib"
+				LinkIncremental="1"
+				SuppressStartupBanner="true"
+				AdditionalLibraryDirectories="&quot;$(SOUIPATH)\bin&quot;"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
+			>
+			<File
+				RelativePath=".\AutoCompilation.cpp"
+				>
+			</File>
+			<File
+				RelativePath=".\MainDlg.cpp"
+				>
+			</File>
+			<File
+				RelativePath=".\trayicon\SShellNofityHwnd2.cpp"
+				>
+			</File>
+			<File
+				RelativePath=".\trayicon\SShellNotifyIcon.cpp"
+				>
+			</File>
+			<File
+				RelativePath=".\stdafx.cpp"
+				>
+				<FileConfiguration
+					Name="Debug|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="1"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="1"
+					/>
+				</FileConfiguration>
+			</File>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc"
+			>
+			<File
+				RelativePath=".\MainDlg.h"
+				>
+			</File>
+			<File
+				RelativePath=".\resource.h"
+				>
+			</File>
+			<File
+				RelativePath=".\trayicon\SShellNofityHwnd2.h"
+				>
+			</File>
+			<File
+				RelativePath=".\trayicon\SShellNotifyIcon.h"
+				>
+			</File>
+			<File
+				RelativePath=".\stdafx.h"
+				>
+			</File>
+		</Filter>
+		<Filter
+			Name="Resource Files"
+			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;jpg;jpeg;jpe;manifest"
+			>
+			<File
+				RelativePath=".\AutoCompilation.rc"
+				>
+			</File>
+			<File
+				RelativePath=".\res\soui_res.rc2"
+				>
+			</File>
+		</Filter>
+		<Filter
+			Name="SoUI Resource"
+			Filter="idx;xml;png;gif;jpg;ico;lua;bmp"
+			>
+			<File
+				RelativePath=".\uires\values\color.xml"
+				>
+			</File>
+			<File
+				RelativePath=".\uires\xml\dlg_main.xml"
+				>
+			</File>
+			<File
+				RelativePath=".\uires\uidef\init.xml"
+				>
+			</File>
+			<File
+				RelativePath=".\uires\Translator\lang_cn.xml"
+				>
+			</File>
+			<File
+				RelativePath=".\uires\xml\menu_tray.xml"
+				>
+			</File>
+			<File
+				RelativePath=".\uires\xml\page.xml"
+				>
+			</File>
+			<File
+				RelativePath=".\uires\image\page_icons.png"
+				>
+			</File>
+			<File
+				RelativePath=".\uires\values\skin.xml"
+				>
+			</File>
+			<File
+				RelativePath=".\uires\image\soui.ico"
+				>
+			</File>
+			<File
+				RelativePath=".\uires\values\string.xml"
+				>
+			</File>
+			<File
+				RelativePath=".\uires\image\tab_main.png"
+				>
+			</File>
+			<File
+				RelativePath=".\uires\image\traymenu_icons.png"
+				>
+			</File>
+			<File
+				RelativePath=".\uires\uires.idx"
+				>
+				<FileConfiguration
+					Name="Debug|Win32"
+					>
+					<Tool
+						Name="VCCustomBuildTool"
+						Description="Building SoUI Resource"
+						CommandLine="&quot;$(SOUIPATH)\tools\uiresbuilder.exe&quot; -i &quot;$(InputPath)&quot; -p uires -r .\res\soui_res.rc2 -h .\res\resource.h idtable&#x0D;&#x0A;"
+						Outputs=".\res\soui_res.rc2;"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32"
+					>
+					<Tool
+						Name="VCCustomBuildTool"
+						Description="Building SoUI Resource"
+						CommandLine="&quot;$(SOUIPATH)\tools\uiresbuilder.exe&quot; -i &quot;$(InputPath)&quot; -p uires -r .\res\soui_res.rc2 -h .\res\resource.h idtable&#x0D;&#x0A;xcopy &quot;%(RootDir)%(Directory)*.*&quot; &quot;$(TargetDir)uires&quot; /e/y/i&#x0D;&#x0A;"
+						Outputs=".\res\soui_res.rc2;"
+					/>
+				</FileConfiguration>
+			</File>
+		</Filter>
+		<File
+			RelativePath=".\license.txt"
+			>
+		</File>
+		<File
+			RelativePath=".\readme.txt"
+			>
+		</File>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>

+ 159 - 0
AutoCompilation/AutoCompilation/AutoCompilation.vcxproj

@@ -0,0 +1,159 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <VCProjectVersion>17.0</VCProjectVersion>
+    <ProjectGuid>{B732C43E-3D58-4663-8B7E-707D7634AF76}</ProjectGuid>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v143</PlatformToolset>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v143</PlatformToolset>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup>
+    <_ProjectFileVersion>17.0.31902.203</_ProjectFileVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <OutDir>$(SolutionDir)$(Configuration)\</OutDir>
+    <IntDir>$(Configuration)\</IntDir>
+    <LinkIncremental>true</LinkIncremental>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <OutDir>$(SolutionDir)$(Configuration)\</OutDir>
+    <IntDir>$(Configuration)\</IntDir>
+    <LinkIncremental>false</LinkIncremental>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+      <AdditionalIncludeDirectories>$(SOUIPATH)\config;$(SOUIPATH)\components;$(SOUIPATH)\SOUI\include;$(SOUIPATH)\utilities\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
+      <PrecompiledHeader>Use</PrecompiledHeader>
+      <BrowseInformation>true</BrowseInformation>
+      <WarningLevel>Level3</WarningLevel>
+      <SuppressStartupBanner>true</SuppressStartupBanner>
+      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
+    </ClCompile>
+    <ResourceCompile>
+      <PreprocessorDefinitions>_UNICODE;UNICODE;_DEBUG;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <Culture>0x0804</Culture>
+    </ResourceCompile>
+    <Link>
+      <AdditionalDependencies>utilitiesd.lib;souid.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <SuppressStartupBanner>true</SuppressStartupBanner>
+      <AdditionalLibraryDirectories>$(SOUIPATH)\bin;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WholeProgramOptimization>true</WholeProgramOptimization>
+      <AdditionalIncludeDirectories>$(SOUIPATH)\config;$(SOUIPATH)\components;$(SOUIPATH)\SOUI\include;$(SOUIPATH)\utilities\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
+      <PrecompiledHeader>Use</PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <SuppressStartupBanner>true</SuppressStartupBanner>
+    </ClCompile>
+    <ResourceCompile>
+      <Culture>0x0804</Culture>
+    </ResourceCompile>
+    <Link>
+      <AdditionalDependencies>utilities.lib;soui.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <SuppressStartupBanner>true</SuppressStartupBanner>
+      <AdditionalLibraryDirectories>$(SOUIPATH)\bin;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClCompile Include="AutoCompilation.cpp" />
+    <ClCompile Include="CLoginDlg.cpp" />
+    <ClCompile Include="MainDlg.cpp" />
+    <ClCompile Include="stdafx.cpp">
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
+    </ClCompile>
+    <ClCompile Include="trayicon\SShellNofityHwnd2.cpp" />
+    <ClCompile Include="trayicon\SShellNotifyIcon.cpp" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="CLoginDlg.h" />
+    <ClInclude Include="MainDlg.h" />
+    <ClInclude Include="resource.h" />
+    <ClInclude Include="stdafx.h" />
+    <ClInclude Include="trayicon\SShellNofityHwnd2.h" />
+    <ClInclude Include="trayicon\SShellNotifyIcon.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="AutoCompilation.rc" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="res\soui_res.rc2" />
+    <CustomBuild Include="uires\uires.idx">
+      <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Building SoUI Resource</Message>
+      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(SOUIPATH)\tools\uiresbuilder.exe" -i "%(FullPath)" -p uires -r .\res\soui_res.rc2 -h .\res\resource.h idtable
+</Command>
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\res\soui_res.rc2;%(Outputs)</Outputs>
+      <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Building SoUI Resource</Message>
+      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(SOUIPATH)\tools\uiresbuilder.exe" -i "%(FullPath)" -p uires -r .\res\soui_res.rc2 -h .\res\resource.h idtable
+xcopy "%25(RootDir)%25(Directory)*.*" "$(TargetDir)uires" /e/y/i
+</Command>
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\res\soui_res.rc2;%(Outputs)</Outputs>
+    </CustomBuild>
+  </ItemGroup>
+  <ItemGroup>
+    <Xml Include="uires\Translator\lang_cn.xml" />
+    <Xml Include="uires\Translator\lang_jp.xml" />
+    <Xml Include="uires\uidef\init.xml" />
+    <Xml Include="uires\values\color.xml" />
+    <Xml Include="uires\values\skin.xml" />
+    <Xml Include="uires\values\string.xml" />
+    <Xml Include="uires\xml\dlg_login.xml" />
+    <Xml Include="uires\xml\dlg_main.xml" />
+    <Xml Include="uires\xml\menu_tray.xml" />
+    <Xml Include="uires\xml\page.xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Image Include="uires\image\page_icons.png" />
+    <Image Include="uires\image\soui.ico" />
+    <Image Include="uires\image\tab_main.png" />
+    <Image Include="uires\image\traymenu_icons.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Text Include="license.txt" />
+    <Text Include="readme.txt" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>

+ 126 - 0
AutoCompilation/AutoCompilation/AutoCompilation.vcxproj.filters

@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="Source Files">
+      <UniqueIdentifier>{54385cc4-1130-4e58-90c3-a9874992e08d}</UniqueIdentifier>
+      <Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm</Extensions>
+    </Filter>
+    <Filter Include="Header Files">
+      <UniqueIdentifier>{32c15ab3-0fe4-4d8f-b372-9ca824a616f0}</UniqueIdentifier>
+      <Extensions>h;hpp;hxx;hm;inl;inc</Extensions>
+    </Filter>
+    <Filter Include="Resource Files">
+      <UniqueIdentifier>{4b1eb8f3-779f-4319-b1d6-12a404c3e757}</UniqueIdentifier>
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;jpg;jpeg;jpe;manifest</Extensions>
+    </Filter>
+    <Filter Include="SoUI Resource">
+      <UniqueIdentifier>{1c62e441-cc35-4634-972c-7a2af0cd6dbd}</UniqueIdentifier>
+      <Extensions>idx;xml;png;gif;jpg;ico;lua;bmp</Extensions>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="AutoCompilation.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="MainDlg.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="trayicon\SShellNofityHwnd2.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="trayicon\SShellNotifyIcon.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="stdafx.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="CLoginDlg.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="MainDlg.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="resource.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="trayicon\SShellNofityHwnd2.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="trayicon\SShellNotifyIcon.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="stdafx.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="CLoginDlg.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+  </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="AutoCompilation.rc">
+      <Filter>Resource Files</Filter>
+    </ResourceCompile>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="res\soui_res.rc2">
+      <Filter>Resource Files</Filter>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <Xml Include="uires\values\color.xml">
+      <Filter>SoUI Resource</Filter>
+    </Xml>
+    <Xml Include="uires\xml\dlg_main.xml">
+      <Filter>SoUI Resource</Filter>
+    </Xml>
+    <Xml Include="uires\uidef\init.xml">
+      <Filter>SoUI Resource</Filter>
+    </Xml>
+    <Xml Include="uires\Translator\lang_cn.xml">
+      <Filter>SoUI Resource</Filter>
+    </Xml>
+    <Xml Include="uires\xml\menu_tray.xml">
+      <Filter>SoUI Resource</Filter>
+    </Xml>
+    <Xml Include="uires\xml\page.xml">
+      <Filter>SoUI Resource</Filter>
+    </Xml>
+    <Xml Include="uires\values\skin.xml">
+      <Filter>SoUI Resource</Filter>
+    </Xml>
+    <Xml Include="uires\values\string.xml">
+      <Filter>SoUI Resource</Filter>
+    </Xml>
+    <Xml Include="uires\xml\dlg_login.xml">
+      <Filter>SoUI Resource</Filter>
+    </Xml>
+    <Xml Include="uires\Translator\lang_jp.xml">
+      <Filter>SoUI Resource</Filter>
+    </Xml>
+  </ItemGroup>
+  <ItemGroup>
+    <Image Include="uires\image\page_icons.png">
+      <Filter>SoUI Resource</Filter>
+    </Image>
+    <Image Include="uires\image\soui.ico">
+      <Filter>SoUI Resource</Filter>
+    </Image>
+    <Image Include="uires\image\tab_main.png">
+      <Filter>SoUI Resource</Filter>
+    </Image>
+    <Image Include="uires\image\traymenu_icons.png">
+      <Filter>SoUI Resource</Filter>
+    </Image>
+  </ItemGroup>
+  <ItemGroup>
+    <Text Include="license.txt" />
+    <Text Include="readme.txt" />
+  </ItemGroup>
+  <ItemGroup>
+    <CustomBuild Include="uires\uires.idx">
+      <Filter>SoUI Resource</Filter>
+    </CustomBuild>
+  </ItemGroup>
+</Project>

+ 126 - 0
AutoCompilation/AutoCompilation/CLoginDlg.cpp

@@ -0,0 +1,126 @@
+#include "stdafx.h"
+#include "CLoginDlg.h"
+
+
+CLoginDlg::CLoginDlg() : SHostDialog(_T("LAYOUT:XML_Login"))
+{
+	m_bLayoutInited = FALSE;
+}
+
+CLoginDlg::~CLoginDlg()
+{
+}
+
+int CLoginDlg::OnCreate(LPCREATESTRUCT lpCreateStruct)
+{
+	SetMsgHandled(FALSE);
+	return 0;
+}
+
+BOOL CLoginDlg::OnInitDialog(HWND hWnd, LPARAM lParam)
+{
+	m_bLayoutInited = TRUE;
+	return 0;
+}
+
+void CLoginDlg::OnLanguageBtnCN()
+{
+	OnLanguage(1);
+}
+
+void CLoginDlg::OnLanguageBtnJP()
+{
+	OnLanguage(0);
+}
+
+void CLoginDlg::OnLanguage(int nID)
+{
+	ITranslatorMgr* pTransMgr = SApplication::getSingletonPtr()->GetTranslator();
+	SASSERT(pTransMgr);
+	bool bCnLang = nID == 1;
+
+	pugi::xml_document xmlLang;
+	if (SApplication::getSingletonPtr()->LoadXmlDocment(xmlLang, bCnLang ? _T("translator:lang_cn") : _T("translator:lang_jp")))
+	{
+		CAutoRefPtr<ITranslator> lang;
+		pTransMgr->CreateTranslator(&lang);
+		lang->Load(&xmlLang.child(L"language"), 1);//1=LD_XML
+		TCHAR lngName[TR_MAX_NAME_LEN] = { 0 };
+		lang->GetName(lngName);
+		pTransMgr->SetLanguage(lngName);
+		pTransMgr->InstallTranslator(lang);
+		SDispatchMessage(UM_SETLANGUAGE, 0, 0);
+	}
+}
+
+//TODO:消息映射
+void CLoginDlg::OnClose()
+{
+	//CSimpleWnd::DestroyWindow();
+	EndDialog(IDOK);
+}
+
+void CLoginDlg::OnMaximize()
+{
+	SendMessage(WM_SYSCOMMAND, SC_MAXIMIZE);
+}
+
+void CLoginDlg::OnRestore()
+{
+	SendMessage(WM_SYSCOMMAND, SC_RESTORE);
+}
+
+void CLoginDlg::OnMinimize()
+{
+	SendMessage(WM_SYSCOMMAND, SC_MINIMIZE);
+}
+
+void CLoginDlg::OnHelp()
+{
+	//MessageBox(NULL, _T("222"), _T("111"), MB_ICONWARNING);
+	SMessageBox(NULL, _T("this is a message box"), _T("haha"), MB_OK | MB_ICONEXCLAMATION);
+}
+
+void CLoginDlg::OnMyBtn()
+{
+	//MessageBox(NULL, _T("222"), _T("111"), MB_ICONWARNING);
+	SMessageBox(NULL, _T("这是按钮"), _T("haha"), MB_OK | MB_ICONEXCLAMATION);
+}
+
+void CLoginDlg::OnSize(UINT nType, CSize size)
+{
+	SetMsgHandled(FALSE);
+	if (!m_bLayoutInited) return;
+
+	SWindow* pBtnMax = FindChildByName(L"btn_max");
+	SWindow* pBtnRestore = FindChildByName(L"btn_restore");
+	if (!pBtnMax || !pBtnRestore) return;
+
+	if (nType == SIZE_MAXIMIZED)
+	{
+		pBtnRestore->SetVisible(TRUE);
+		pBtnMax->SetVisible(FALSE);
+	}
+	else if (nType == SIZE_RESTORED)
+	{
+		pBtnRestore->SetVisible(FALSE);
+		pBtnMax->SetVisible(TRUE);
+	}
+}
+
+
+//演示如何响应菜单事件
+void CLoginDlg::OnCommand(UINT uNotifyCode, int nID, HWND wndCtl)
+{
+	if (uNotifyCode == 0)
+	{
+		switch (nID)
+		{
+		case 6:
+			PostMessage(WM_CLOSE);
+			break;
+		default:
+			break;
+		}
+	}
+}

+ 49 - 0
AutoCompilation/AutoCompilation/CLoginDlg.h

@@ -0,0 +1,49 @@
+#pragma once
+
+class CLoginDlg :public SHostDialog
+{
+public:
+	CLoginDlg();
+	~CLoginDlg();
+
+	void OnClose();
+	void OnMaximize();
+	void OnRestore();
+	void OnMinimize();
+	void OnHelp();
+	void OnSize(UINT nType, CSize size);
+	//演示如何响应菜单事件
+	void OnCommand(UINT uNotifyCode, int nID, HWND wndCtl);
+	int OnCreate(LPCREATESTRUCT lpCreateStruct);
+	BOOL OnInitDialog(HWND wndFocus, LPARAM lInitParam);
+
+protected:
+	void OnLanguage(int nID);
+	void OnLanguageBtnCN();
+	void OnLanguageBtnJP();
+	void OnMyBtn();
+	//soui消息
+	EVENT_MAP_BEGIN()
+		EVENT_NAME_COMMAND(L"btn_close", OnClose)
+		EVENT_NAME_COMMAND(L"btn_min", OnMinimize)
+		EVENT_NAME_COMMAND(L"btn_max", OnMaximize)
+		EVENT_NAME_COMMAND(L"my_btn", OnMyBtn)
+		EVENT_NAME_COMMAND(L"btn_restore", OnRestore)
+		EVENT_NAME_COMMAND(L"zh_cn", OnLanguageBtnCN)
+		EVENT_NAME_COMMAND(L"jp", OnLanguageBtnJP)
+	EVENT_MAP_END()
+
+	//HostWnd真实窗口消息处理
+	BEGIN_MSG_MAP_EX(CLoginDlg)
+		MSG_WM_CREATE(OnCreate)
+		MSG_WM_INITDIALOG(OnInitDialog)
+		MSG_WM_CLOSE(OnClose)
+		MSG_WM_SIZE(OnSize)
+		MSG_WM_COMMAND(OnCommand)
+		CHAIN_MSG_MAP(SHostWnd)
+		REFLECT_NOTIFICATIONS_EX()
+	END_MSG_MAP()
+private:
+	BOOL			m_bLayoutInited;
+};
+

BIN
AutoCompilation/AutoCompilation/MainDlg.cpp


BIN
AutoCompilation/AutoCompilation/MainDlg.h


+ 12 - 0
AutoCompilation/AutoCompilation/license.txt

@@ -0,0 +1,12 @@
+SOUI License
+
+The MIT License (MIT)
+Copyright (c) 2016 Æô³ÌÈí¼þ
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+

+ 44 - 0
AutoCompilation/AutoCompilation/readme.txt

@@ -0,0 +1,44 @@
+========================================================================
+AutoCompilation 项目概述
+========================================================================
+
+SOUI向导 已创建此 AutoCompilation 项目作为起点。
+
+本文件概要介绍组成项目的每个文件的内容。
+
+
+license.txt
+SOUI license,发布请带上,tks!SOUI使用(MIT)协议,商业个人完全免费,使用请带上license.txt。感觉启程软件的无私!
+
+ReadMe.txt
+些项目的简要说明。
+
+AutoCompilation.cpp
+程序主入口,SOUI的各种资源初使化及在此文件。
+
+MainDlg.h
+这是一个示例的默认窗口模板文件的头定义文件。
+
+MainDlg.cpp
+这是一个示例的默认窗口模板文件的实现文件。
+
+SShellNotifyIcon.h
+一个托盘的示例头文件。
+
+SShellNotifyIcon.cpp
+一个托盘示例实现文件。
+
+stdafx.h
+预处理头文件。
+
+stdafx.cpp
+为了预处理头文件被编译器编译而生。
+
+/////////////////////////////////////////////////////////////////////////////
+其他注释:
+uires 文件夹下保存所有SOUI的资源定义与资源文件!
+res/soui_res.rc2 该文件由uiresbuilder生成,请不要手动修改!
+/////////////////////////////////////////////////////////////////////////////
+
+特别提示:透明窗口上不能放置真窗口(包括但不限于IE这样的控件),如果是ActiveX要看其具体实现,如果其内部会创建子窗口仍会无法正常显示。
+重要说明:SOUI非线程安全,要刷新窗口必须要UI线程。

BIN
AutoCompilation/AutoCompilation/res/resource.h


BIN
AutoCompilation/AutoCompilation/res/soui_res.rc2


+ 15 - 0
AutoCompilation/AutoCompilation/resource.h

@@ -0,0 +1,15 @@
+//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by AutoCompilation.rc
+//
+
+// Next default values for new objects
+// 
+#ifdef APSTUDIO_INVOKED
+#ifndef APSTUDIO_READONLY_SYMBOLS
+#define _APS_NEXT_RESOURCE_VALUE        114
+#define _APS_NEXT_COMMAND_VALUE         40037
+#define _APS_NEXT_CONTROL_VALUE         1000
+#define _APS_NEXT_SYMED_VALUE           101
+#endif
+#endif

+ 5 - 0
AutoCompilation/AutoCompilation/stdafx.cpp

@@ -0,0 +1,5 @@
+// stdafx.cpp : source file that includes just the standard includes
+//	SkinTest.pch will be the pre-compiled header
+//	stdafx.obj will contain the pre-compiled type information
+
+#include "stdafx.h"

BIN
AutoCompilation/AutoCompilation/stdafx.h


+ 62 - 0
AutoCompilation/AutoCompilation/trayicon/SShellNofityHwnd2.cpp

@@ -0,0 +1,62 @@
+#include "stdafx.h"
+#include "SShellNofityHwnd2.h"
+
+namespace SOUI
+{
+	CShellNotifyHwnd2::CShellNotifyHwnd2(SHostWnd * pMainWnd, SShellNotifyIcon* shellnotifyicon) :m_pMainWnd(pMainWnd),m_ShellNotifyIcon(shellnotifyicon)
+	{
+		MsgTaskbarCreated = RegisterWindowMessage(L"TaskbarCreated");
+		Create(L"shell_nofity_msg_windows", 0, 0, 0, 0, 0, 0, HWND_MESSAGE, nullptr);
+	}
+
+	//ÍÐÅÌ֪ͨÏûÏ¢´¦Àíº¯Êý
+
+	LRESULT CShellNotifyHwnd2::OnIconNotify(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL)
+	{
+		LRESULT bRet = S_FALSE;
+		switch (lParam)
+		{
+		case  WM_RBUTTONDOWN:
+		{
+			m_ShellNotifyIcon->ShowMenu();
+			bRet = S_OK;
+		}break;
+		case WM_LBUTTONDOWN:
+		{
+			if (m_pMainWnd->IsWindowVisible())
+				m_pMainWnd->ShowWindow(SW_HIDE);
+			else
+			{
+				m_pMainWnd->ShowWindow(SW_SHOW);
+				SetForegroundWindow(m_pMainWnd->m_hWnd);
+			}
+			bRet = S_OK;
+		}break;
+		}
+		return bRet;
+	}
+
+	LRESULT CShellNotifyHwnd2::OnTaskbarCreated(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL)
+	{
+		return m_ShellNotifyIcon->Show();
+	}
+
+	void CShellNotifyHwnd2::OnFinalMessage(HWND hWnd)
+	{
+		__super::OnFinalMessage(hWnd);
+		delete this;
+	}
+
+	void CShellNotifyHwnd2::OnTimer(UINT_PTR nIDEvent)
+	{
+		switch (nIDEvent)
+		{
+		case ANI_TIMER_ID:
+		{
+			m_ShellNotifyIcon->NextFrame();
+		}break;
+		default:
+			break;
+		}
+	}
+}

+ 58 - 0
AutoCompilation/AutoCompilation/trayicon/SShellNofityHwnd2.h

@@ -0,0 +1,58 @@
+#pragma once
+#include "core\SimpleWnd.h"
+#include "helper\SMenu.h"
+
+//添加一个事件接收窗口用于专门处理托盘图标
+#ifndef WM_ICONNOTIFY
+#define WM_ICONNOTIFY (WM_USER + 1111)
+#endif // !WM_ICONNOTIFY
+#ifndef ID_TASKBARICON
+#define ID_TASKBARICON	100
+#endif // !ID_TASKBARICON
+#define ANI_TIMER_ID 8
+#include "SShellNotifyIcon.h"
+#define CHAIN_MSG_MAP_MEMBER_PTR(theChainMember) \
+    { \
+	bHandled=FALSE;BOOL bCanChain=TRUE;\
+	if(theChainMember==nullptr||((uMsg!=WM_ICONNOTIFY)&&(uMsg!=WM_COMMAND)))\
+		bCanChain=FALSE;\
+    if(bCanChain&&theChainMember->ProcessWindowMessage(hWnd, uMsg, wParam, lParam, lResult)) \
+		bHandled=TRUE; \
+		if(bHandled)\
+			return TRUE;\
+    }
+
+
+#if _MSC_VER<1600
+#define nullptr NULL
+#endif
+
+namespace SOUI
+{
+	class SShellNotifyIcon;
+	class CShellNotifyHwnd2 :public CSimpleWnd
+	{
+	public:
+		CShellNotifyHwnd2(SHostWnd* pMainWnd,SShellNotifyIcon* shellnotifyicon);
+		~CShellNotifyHwnd2(){}
+	protected:
+		//托盘通知消息处理函数
+		LRESULT OnIconNotify(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL/* bHandled*/);
+		LRESULT OnTaskbarCreated(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL);
+		virtual void OnFinalMessage(HWND hWnd);
+		void OnTimer(UINT_PTR nIDEvent);
+
+		BEGIN_MSG_MAP_EX(CShellNotifyHwnd2)
+			//托盘消息处理
+			MESSAGE_HANDLER(MsgTaskbarCreated, OnTaskbarCreated)
+			MSG_WM_TIMER(OnTimer)
+			CHAIN_MSG_MAP_MEMBER_PTR(m_pMainWnd)
+			MESSAGE_HANDLER(WM_ICONNOTIFY, OnIconNotify)
+			CHAIN_MSG_MAP(CSimpleWnd)
+		END_MSG_MAP()
+	private:
+		SHostWnd            *m_pMainWnd;
+		SShellNotifyIcon	*m_ShellNotifyIcon;
+		UINT                MsgTaskbarCreated;		
+	};
+}

BIN
AutoCompilation/AutoCompilation/trayicon/SShellNotifyIcon.cpp


BIN
AutoCompilation/AutoCompilation/trayicon/SShellNotifyIcon.h


+ 50 - 0
AutoCompilation/AutoCompilation/uires/Translator/lang_cn.xml

@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<language name="简体中文" guid="{0DAEDE3C-6B94-4a81-9A55-C304FDD69D98}">
+  <context>
+    <!--没有上下文的翻译-->
+  </context>
+  <context name="messagebox">
+    <message>
+      <source>ok</source>
+      <translation>确定</translation>
+    </message>
+    <message>
+      <source>cancel</source>
+      <translation>取消</translation>
+    </message>
+    <message>
+      <source>retry</source>
+      <translation>重试</translation>
+    </message>
+  </context>
+  <context name="dlg_main">
+    <message>
+      <source>close</source>
+      <translation>关闭窗口</translation>
+    </message>
+    <message>
+      <source>lang_cn</source>
+      <translation>简体中文</translation>
+    </message>
+    <message>
+      <source>lang_jp</source>
+      <translation>日本语</translation>
+    </message>
+    <message>
+      <source>这是一个由SOUI向导生成的APP框架</source>
+      <translation>这是一个由SOUI向导生成的APP框架</translation>
+    </message>
+    <message>
+      <source>mainpage</source>
+      <translation>主页</translation>
+    </message>
+    <message>
+      <source>page2</source>
+      <translation>页面2</translation>
+    </message>
+    <message>
+      <source>页面1</source>
+      <translation>页面1</translation>
+    </message>
+  </context>
+</language>

+ 54 - 0
AutoCompilation/AutoCompilation/uires/Translator/lang_jp.xml

@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<language name="日本语" guid="{23D209C4-2268-49A2-B7F4-8CB57D908D47}">
+  <context>
+    <!--没有上下文的翻译-->
+  </context>
+  <context name="messagebox">
+    <message>
+      <source>ok</source>
+      <translation>確定</translation>
+    </message>
+    <message>
+      <source>cancel</source>
+      <translation>キャンセル</translation>
+    </message>
+    <message>
+      <source>retry</source>
+      <translation>リトライ</translation>
+    </message>
+  </context>
+  <context name="dlg_main">
+    <message>
+      <source>close</source>
+      <translation>窓を閉じて</translation>
+    </message>
+    <message>
+      <source>lang_cn</source>
+      <translation>簡体字</translation>
+    </message>
+    <message>
+      <source>lang_jp</source>
+      <translation>日本語</translation>
+    </message>
+    <message>
+      <source>my_btn</source>
+      <translation>窓を閉じて</translation>
+    </message>
+    <message>
+      <source>这是一个由SOUI向导生成的APP框架</source>
+      <translation>これはSOUIガイド生成のAPPフレーム</translation>
+    </message>
+    <message>
+      <source>mainpage</source>
+      <translation>ホームページ </translation>
+    </message>
+    <message>
+      <source>page2</source>
+      <translation>ページ2</translation>
+    </message>
+    <message>
+      <source>页面1</source>
+      <translation>ページ1</translation>
+    </message>
+  </context>
+</language>

BIN
AutoCompilation/AutoCompilation/uires/image/page_icons.png


BIN
AutoCompilation/AutoCompilation/uires/image/soui.ico


BIN
AutoCompilation/AutoCompilation/uires/image/tab_main.png


BIN
AutoCompilation/AutoCompilation/uires/image/traymenu_icons.png


+ 17 - 0
AutoCompilation/AutoCompilation/uires/uidef/init.xml

@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<UIDEF>
+  <font face="宋体" size="15"/>
+
+  <string src="values:string" />
+  <skin src="values:skin"/>
+  <color src="values:color"/>
+
+
+  <style>
+    <class name="normalbtn" font="" colorText="#385e8b" colorTextDisable="#91a7c0" textMode="0x25" cursor="hand" margin-x="0"/>
+    <class name="cls_btn_weblink" cursor="hand" colorText="#1e78d5" colorTextHover="#1e78d5" font="italic:1" fontHover="underline:1,italic:1" />
+  </style>
+
+  <objattr>
+  </objattr>
+</UIDEF>

+ 31 - 0
AutoCompilation/AutoCompilation/uires/uires.idx

@@ -0,0 +1,31 @@
+<resource>
+  <UIDEF>
+    <file name="XML_INIT" path="uidef\init.xml"/>
+  </UIDEF>
+  <LAYOUT>
+    <file name="XML_MAINWND" path="xml\dlg_main.xml"/>
+    <file name="XML_Login" path="xml\dlg_login.xml"/>
+    <file name="XML_page" path="xml\page.xml"/>
+  </LAYOUT>
+  
+  <values>
+  	<file name="string" path="values\string.xml"/>
+  	<file name="color" path="values\color.xml"/>
+  	<file name="skin" path="values\skin.xml"/>
+  </values>
+
+  <IMG>
+    <file name="traymenu_icons" path="image\traymenu_icons.png"/>
+    <file name="png_tab_main" path="image\tab_main.png"/>
+    <file name="png_page_icons" path="image\page_icons.png"/>
+  </IMG>
+  <ICON>
+    <file name="ICON_LOGO"  path="image\soui.ico"/>
+  </ICON>
+  <translator>
+    <file name="lang_cn"  path="translator\lang_cn.xml"/>
+  </translator>
+  <SMENU>
+    <file name="menu_tray" path="xml\menu_tray.xml"/>
+  </SMENU>
+</resource>

+ 10 - 0
AutoCompilation/AutoCompilation/uires/values/color.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<color>
+  <red value="rgb(255,0,0)"/>
+  <green value="rgb(0,255,0)"/>
+  <blue value="rgb(0,0,255)"/>
+  <white value="rgb(255,255,255)"/>
+  <gray value="#808080"/>
+</color> 
+ 

+ 7 - 0
AutoCompilation/AutoCompilation/uires/values/skin.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<skin>
+  	<imglist name="skin_traymenu_icons"	src="img:traymenu_icons" states="9"/>
+	    <imglist name="skin_tab_main" src="img:png_tab_main" states="3"/>
+    <imglist name="skin_page_icons" src="img:png_page_icons" states="9"/>
+    </skin>

+ 5 - 0
AutoCompilation/AutoCompilation/uires/values/string.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+  <string>
+    <title value="自动编译系统"/>
+    <ver value="1.0"/>
+  </string>

+ 21 - 0
AutoCompilation/AutoCompilation/uires/xml/dlg_login.xml

@@ -0,0 +1,21 @@
+<SOUI name="mainWindow" title="@string/title" bigIcon="ICON_LOGO:32" smallIcon="ICON_LOGO:16" margin="5,5,5,5"  resizable="1" wndType="normal"
+toolWindow="0"
+translucent="1" 
+>
+  <root skin="_skin.sys.wnd.bkgnd" cache="1"  width="600" height="400" >
+    <caption pos="0,0,-0,30" show="1" font="adding:0">
+      <icon pos="10,8" src="ICON_LOGO:16"/>
+      <text pos="29,9">@string/title</text>
+      <imgbtn name="btn_close" skin="_skin.sys.btn.close"    pos="-45,0" tip="close" animate="1"/>
+      <imgbtn name="btn_max" skin="_skin.sys.btn.maximize"  pos="-83,0" animate="1" />
+      <imgbtn name="btn_restore" skin="_skin.sys.btn.restore"  pos="-83,0" show="0" animate="1" />
+      <imgbtn name="btn_min" skin="_skin.sys.btn.minimize" pos="-121,0" animate="1" />
+    </caption>
+    <window pos="5,[2,-5,-5">
+      <text pos="|0,|0" offset="-0.5,-0.5">登录编译系统</text>
+      <button pos="|0,[" inset="4,4,4,4" name="zh_cn" offset="-1.1,0" text="lang_cn"/>
+      <button pos="|0,[" inset="4,4,4,4" name="jp" offset="-1.1,0" text="lang_jp"/>
+      <button pos="|0,[" inset="4,4,4,4" name="my_btn" offset="-1.1,0" text="my_btn"/>
+    </window>
+  </root>
+</SOUI>

+ 28 - 0
AutoCompilation/AutoCompilation/uires/xml/dlg_main.xml

@@ -0,0 +1,28 @@
+<SOUI name="mainWindow" title="@string/title" bigIcon="ICON_LOGO:32" smallIcon="ICON_LOGO:16" margin="5,5,5,5"  resizable="1" wndType="appMain"
+toolWindow="1"
+translucent="1" 
+>
+  <root skin="_skin.sys.wnd.bkgnd" cache="1"  width="600" height="400" >
+    <caption pos="0,0,-0,30" show="1" font="adding:0">
+      <icon pos="10,8" src="ICON_LOGO:16"/>
+      <text pos="29,9">@string/title</text>
+      <imgbtn name="btn_close" skin="_skin.sys.btn.close"    pos="-45,0" tip="close" animate="1"/>
+      <imgbtn name="btn_max" skin="_skin.sys.btn.maximize"  pos="-83,0" animate="1" />
+      <imgbtn name="btn_restore" skin="_skin.sys.btn.restore"  pos="-83,0" show="0" animate="1" />
+      <imgbtn name="btn_min" skin="_skin.sys.btn.minimize" pos="-121,0" animate="1" />
+    </caption>
+    <tabctrl name="tab_main" pos="5,[2,-5,-5" show="1" tabPos="20" curSel="0"  tabInterSize="10"  focusable="0" animateSteps="10" tabHeight="75" tabSkin="skin_tab_main" text-y="50" iconSkin="skin_page_icons" icon-x="10">
+        <page title="mainpage" colorBkgnd="#dae9f2">
+          <text pos="29,9">页面1</text>
+			<window pos="5,[2,-5,-5" layout="hbox">
+				<imgbtn name="btn_domodal" size="100,30" tip="close" animate="1">模态对话框</imgbtn>
+				<imgbtn name="btn_nodomodal" size="100,30" tip="close" animate="1">非模态对话框</imgbtn>
+			</window>
+         </page>
+        <page title="page2" colorBkgnd="#dae9f2">
+          <include src="layout:XML_page"/>
+        </page>
+    </tabctrl>
+<shellnotifyicon id="110" menu="SMENU:menu_tray" ico="ICON_LOGO:16" tip="110"/>
+  </root>
+</SOUI>

+ 16 - 0
AutoCompilation/AutoCompilation/uires/xml/menu_tray.xml

@@ -0,0 +1,16 @@
+<menu iconSkin="skin_traymenu_icons" itemHeight="26" iconMargin="4" textMargin="8">
+  <item id="1" check="1">导出配置</item>
+  <item id="2" radio="1">导入配置</item>
+  <item id="3" disable="1">检查更新</item>
+  <item id="4">这是测试菜单1</item>
+  <sep/>
+  <item id="5">
+    帮助与反馈
+    <item id="51" icon="0">访问官网</item>
+    <item id="52" icon="1">帮助指南</item>
+    <item id="53" icon="2">错误提交</item>
+    <item id="54" icon="3">关于SOUI</item>
+  </item>
+  <sep/>
+  <item id="6">退出</item>
+</menu>

+ 18 - 0
AutoCompilation/AutoCompilation/uires/xml/page.xml

@@ -0,0 +1,18 @@
+<include>
+  <text pos="10,10">欢迎使用SOUI!</text>
+  <text pos="10,[5">版本:1.0.0.1</text>
+  <text pos="10,[5">协议类型:MIT,个人,企业均可以免费使用本产品,请保留产品的license</text>
+  <text pos="10,[5">版权所有:启程软件</text>
+  <edit pos="10,[5,@150,@30" readOnly="1">QQ群:229313785</edit>
+  <link href="http://jq.qq.com/?_wv=1027&k=PxXh59"  class="cls_btn_weblink">点击链接申请加入群</link>
+  <edit pos="10,[10,@500,@30"  readOnly="1">SVN:http://code.taobao.org/svn/soui2/trunk</edit>
+  <text pos="10,[5">SOUI教程:</text>
+  <link href="http://www.cnblogs.com/setoutsoft/" class="cls_btn_weblink">http://www.cnblogs.com/setoutsoft/</link>
+  <group pos="10,[5,-10,@100" align="left">
+    支持SOUI,支持启程软件,欢迎捐助
+    <text pos="10,8">户名:</text>
+    <text colorText="#000000">黄建雄</text>
+    <text pos="10,[5">支付宝帐号:</text>
+    <edit  colorText="#ff0000" readOnly="1">setoutsoft@qq.com</edit>
+  </group>
+</include>