Add win32 support for gtk42

This commit is contained in:
daleclack 2021-02-21 09:05:49 +08:00
parent 076efbaa22
commit 9f323d9a2c
6 changed files with 150 additions and 0 deletions

View File

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="gtk42" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/gtk42" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="0" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
<Add directory="../" />
</Compiler>
</Target>
<Target title="Release">
<Option output="bin/Release/gtk42" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="0" />
<Option compiler="gcc" />
<Compiler>
<Add option="-O2" />
<Add directory="../" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
</Compiler>
<Unit filename="../src/background.cpp" />
<Unit filename="../src/background.h" />
<Unit filename="../src/game.cpp" />
<Unit filename="../src/game.h" />
<Unit filename="../src/main.cpp" />
<Unit filename="../src/panel1.cpp" />
<Unit filename="../src/panel1.h" />
<Unit filename="../src/panel2.cpp" />
<Unit filename="../src/panel2.h" />
<Unit filename="../src/resources.cpp" />
<Unit filename="../src/win1.cpp" />
<Unit filename="../src/win1.h" />
<Unit filename="../src/winconf.cpp" />
<Unit filename="../src/winconf.h" />
<Unit filename="icon.rc">
<Option compilerVar="WINDRES" />
</Unit>
<Extensions>
<lib_finder disable_auto="1" />
</Extensions>
</Project>
</CodeBlocks_project_file>

View File

@ -0,0 +1,67 @@
# depslib dependency file v1.0
1613552905 source:d:\gtk3\gtk42\src\background.cpp
"background.h"
"winconf.h"
"winpe.xpm"
1613195745 d:\gtk3\gtk42\src\background.h
<gtk/gtk.h>
1613270288 d:\gtk3\gtk42\src\winconf.h
<gtk/gtk.h>
1613125939 d:\gtk3\gtk42\\winpe.xpm
1613801394 source:d:\gtk3\gtk42\src\main.cpp
<gtk/gtk.h>
"background.h"
"winconf.h"
"panel1.h"
"panel2.h"
1613357404 d:\gtk3\gtk42\src\panel1.h
<gtk/gtk.h>
1613650403 d:\gtk3\gtk42\src\panel2.h
<gtk/gtk.h>
1613868143 source:d:\gtk3\gtk42\src\panel1.cpp
<ctime>
"panel1.h"
"winconf.h"
"background.h"
1613549116 source:d:\gtk3\gtk42\src\win1.cpp
"win1.h"
1613543414 d:\gtk3\gtk42\src\win1.h
<gtk/gtk.h>
1613552872 source:d:\gtk3\gtk42\src\winconf.cpp
<cstdio>
"winconf.h"
1613125939 d:\gtk3\gtk42\src\winpe.xpm
1613802511 source:d:\gtk3\gtk42\src\panel2.cpp
<cstdlib>
<thread>
"panel2.h"
"win1.h"
"game.h"
1613868120 source:d:\gtk3\gtk42\src\resources.cpp
<gio/gio.h>
<stdlib.h>
1613650621 source:d:\gtk3\gtk42\gtk42\icon.rc
1613802549 d:\gtk3\gtk42\src\game.h
<gtk/gtk.h>
<ctime>
<cstdlib>
<cstring>
1613802556 source:d:\gtk3\gtk42\src\game.cpp
"game.h"

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_layout_file>
<FileVersion major="1" minor="0" />
<ActiveTarget name="Release" />
<File name="..\src\panel1.cpp" open="1" top="1" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1504" topLine="24" />
</Cursor>
</File>
<File name="..\src\panel2.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="646" topLine="42" />
</Cursor>
</File>
<File name="icon.rc" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="28" topLine="0" />
</Cursor>
</File>
<File name="..\src\panel2.h" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="399" topLine="0" />
</Cursor>
</File>
</CodeBlocks_layout_file>

1
Gtk3/gtk42/gtk42/icon.rc Normal file
View File

@ -0,0 +1 @@
MAINICON ICON "Icon_1.ico"

BIN
Gtk3/gtk42/gtk42/icon_1.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.