-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
4,873 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Linux", | ||
"includePath": [ | ||
//For linux amd64 and linux on arm64,some include path may different | ||
//Commet and uncomment these lines to compile on a specificed archtiecture | ||
//Arm64 linux libs | ||
/* | ||
"/usr/lib/aarch64-linux-gnu/dbus-1.0/include/**", | ||
"/usr/lib/aarch64-linux-gnu/glib-2.0/include", | ||
*/ | ||
//amd64 linux libs(For ubuntu) | ||
/* | ||
"/usr/lib/x86_64-linux-gnu/dbus-1.0/include", | ||
"/usr/lib/x86_64-linux-gnu/glib-2.0/include", | ||
*/ | ||
//For debian and ubuntu,kali | ||
/* | ||
"/usr/include/gtk-3.0/gtk/**", | ||
"/usr/include/uuid/**", | ||
*/ | ||
//For manjaro(Arch linux) | ||
"/usr/lib/dbus-1.0/include/**", | ||
"/usr/lib/glib-2.0/include/**", | ||
"/usr/include/lzo/**", | ||
"/usr/include/cloudproviders/**", | ||
"${workspaceFolder}/**", | ||
"/usr/include/gtk-3.0/**", | ||
"/usr/include/at-spi2-atk/2.0/**", | ||
"/usr/include/at-spi-2.0/**", | ||
"/usr/include/dbus-1.0/**", | ||
"/usr/include/gio-unix-2.0/**", | ||
"/usr/include/cairo/**", | ||
"/usr/include/pango-1.0/**", | ||
"/usr/include/fribidi/**", | ||
"/usr/include/harfbuzz/**", | ||
"/usr/include/atk-1.0/**", | ||
"/usr/include/pixman-1/**", | ||
"/usr/include/freetype2/**", | ||
"/usr/include/libpng16/**", | ||
"/usr/include/gdk-pixbuf-2.0/**", | ||
"/usr/include/libmount/**", | ||
"/usr/include/blkid/**", | ||
"/usr/include/glib-2.0/**" | ||
], | ||
"defines": [], | ||
"compilerPath": "/usr/bin/gcc", | ||
"cStandard": "gnu17", | ||
"cppStandard": "gnu++14", | ||
"intelliSenseMode": "gcc-arm64", | ||
"compilerArgs": [ | ||
"`pkg-config --cflags --libs gtk+-3.0`" | ||
], | ||
"configurationProvider": "ms-vscode.cmake-tools" | ||
} | ||
], | ||
"version": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "g++ - Build and debug active file", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/bin/gtk42", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "gdb", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
} | ||
], | ||
"preLaunchTask": "C/C++: g++ build active file", | ||
"miDebuggerPath": "/usr/bin/gdb" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"C_Cpp.errorSquiggles": "Disabled", | ||
"cmake.configureOnOpen": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"tasks": [ | ||
{ | ||
"type": "cppbuild", | ||
"label": "C/C++: g++ build active file", | ||
"command": "/usr/bin/g++", | ||
"args": [ | ||
"-g", | ||
"src/*.cpp", | ||
"-o", | ||
"${workspaceFolder}/bin/gtk42", | ||
"-pthread", | ||
//For Arm64 linux | ||
/* | ||
"-I/usr/lib/aarch64-linux-gnu/dbus-1.0/include", | ||
"-I/usr/lib/aarch64-linux-gnu/glib-2.0/include", | ||
*/ | ||
//For amd64 linux | ||
/* | ||
"-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include", | ||
"-I/usr/lib/x86_64-linux-gnu/glib-2.0/include", | ||
*/ | ||
//Ubuntu and kali include paths | ||
/* | ||
"-I/usr/include/uuid", | ||
*/ | ||
//Manjaro linux and Arch linux include args | ||
|
||
"-I${workspaceFolder}", | ||
"-I/usr/lib/glib-2.0/include", | ||
"-I/usr/lib/dbus-1.0/include", | ||
"-I/usr/include/lzo", | ||
"-I/usr/include/cloudproviders", | ||
|
||
"-I/usr/include/gtk-3.0", | ||
"-I/usr/include/at-spi2-atk/2.0", | ||
"-I/usr/include/at-spi-2.0", | ||
"-I/usr/include/dbus-1.0", | ||
"-I/usr/include/gio-unix-2.0", | ||
"-I/usr/include/cairo", | ||
"-I/usr/include/pango-1.0", | ||
"-I/usr/include/fribidi", | ||
"-I/usr/include/harfbuzz", | ||
"-I/usr/include/atk-1.0", | ||
"-I/usr/include/pixman-1", | ||
"-I/usr/include/freetype2", | ||
"-I/usr/include/libpng16", | ||
"-I/usr/include/gdk-pixbuf-2.0", | ||
"-I/usr/include/libmount", | ||
"-I/usr/include/blkid", | ||
"-I/usr/include/glib-2.0", | ||
//Manjaro linux lib args | ||
"-lz", | ||
|
||
"-lgtk-3", | ||
"-lgdk-3", | ||
"-lpangocairo-1.0", | ||
"-lpango-1.0", | ||
"-lharfbuzz", | ||
"-latk-1.0", | ||
"-lcairo-gobject", | ||
"-lcairo", | ||
"-lgdk_pixbuf-2.0", | ||
"-lgio-2.0", | ||
"-lgobject-2.0", | ||
"-lglib-2.0", | ||
], | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
"problemMatcher": [ | ||
"$gcc" | ||
], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"detail": "Task generated by Debugger." | ||
} | ||
], | ||
"version": "2.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
1614135385 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> | ||
|
||
1613872672 source:d:\gtk3\gtk42\src\panel1.cpp | ||
<ctime> | ||
"panel1.h" | ||
"winconf.h" | ||
"background.h" | ||
|
||
1613549116 source:d:\gtk3\gtk42\src\win1.cpp | ||
"win1.h" | ||
|
||
1613879080 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 | ||
|
||
1613879180 source:d:\gtk3\gtk42\src\panel2.cpp | ||
<cstdlib> | ||
<thread> | ||
"panel2.h" | ||
"win1.h" | ||
"game.h" | ||
|
||
1614135733 source:d:\gtk3\gtk42\src\resources.cpp | ||
<gio/gio.h> | ||
<stdlib.h> | ||
|
||
1613650621 source:d:\gtk3\gtk42\gtk42\icon.rc | ||
|
||
1613878878 d:\gtk3\gtk42\src\game.h | ||
<gtk/gtk.h> | ||
<ctime> | ||
<cstdlib> | ||
<cstring> | ||
|
||
1613878921 source:d:\gtk3\gtk42\src\game.cpp | ||
"game.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<CodeBlocks_layout_file> | ||
<FileVersion major="1" minor="0" /> | ||
<ActiveTarget name="Release" /> | ||
<File name="icon.rc" open="0" 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.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0"> | ||
<Cursor> | ||
<Cursor1 position="735" topLine="57" /> | ||
</Cursor> | ||
</File> | ||
<File name="..\src\panel2.h" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0"> | ||
<Cursor> | ||
<Cursor1 position="399" topLine="0" /> | ||
</Cursor> | ||
</File> | ||
<File name="..\src\panel1.cpp" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0"> | ||
<Cursor> | ||
<Cursor1 position="16" topLine="0" /> | ||
</Cursor> | ||
</File> | ||
<File name="..\src\main.cpp" open="1" top="1" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0"> | ||
<Cursor> | ||
<Cursor1 position="883" topLine="0" /> | ||
</Cursor> | ||
</File> | ||
</CodeBlocks_layout_file> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
MAINICON ICON "Icon_1.ico" |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
glib-compile-resources gtk42.resource.xml --target=../src/resources.cpp --generate-source |
Oops, something went wrong.