add logo.ico

This commit is contained in:
Kaehvaman 2024-12-11 21:01:00 +04:00
parent b7ccb8ad21
commit f193f212a5
7 changed files with 398 additions and 356 deletions

View File

@ -124,12 +124,13 @@
<AdditionalIncludeDirectories>$(SolutionDir)\include</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(SolutionDir)\lib</AdditionalLibraryDirectories>
<AdditionalDependencies>raylib.lib;winmm.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
@ -137,10 +138,18 @@
<ClInclude Include="..\include\raylib.h" />
<ClInclude Include="..\include\raymath.h" />
<ClInclude Include="..\include\resource_dir.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="resource1.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\main.c" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="lab16 with raylib.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="..\resources\logo.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>

View File

@ -27,10 +27,26 @@
<ClInclude Include="..\include\resource_dir.h">
<Filter>Файлы заголовков</Filter>
</ClInclude>
<ClInclude Include="resource.h">
<Filter>Файлы заголовков</Filter>
</ClInclude>
<ClInclude Include="resource1.h">
<Filter>Файлы заголовков</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\main.c">
<Filter>Исходные файлы</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="lab16 with raylib.rc">
<Filter>Файлы ресурсов</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Image Include="..\resources\logo.ico">
<Filter>Файлы ресурсов</Filter>
</Image>
</ItemGroup>
</Project>

View File

@ -0,0 +1,16 @@
//{{NO_DEPENDENCIES}}
// Âêëþ÷àåìûé ôàéë, ñîçäàííûé â Microsoft Visual C++.
// Èñïîëüçóåòñÿ lab16 with raylib.rc
//
#define IDI_ICON1 101
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -310,7 +310,7 @@ void handleKeys() {
}
int main() {
SetConfigFlags(FLAG_WINDOW_HIGHDPI);
//SetConfigFlags(FLAG_WINDOW_HIGHDPI);
InitWindow(N * WIDTH, M * HEIGHT + VOFFSET, "lab16 with raylib");

1
raylib files/raylib.rc Normal file
View File

@ -0,0 +1 @@
GLFW_ICON ICON "..\\resources\\logo.ico"