diff --git a/AutoClickerDL/AutoClickerDL.c b/AutoClickerDL/AutoClickerDL.c index 06545e9..fcabbac 100644 --- a/AutoClickerDL/AutoClickerDL.c +++ b/AutoClickerDL/AutoClickerDL.c @@ -15,6 +15,7 @@ processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") #include "General.h" #include "IO.h" +#include "resource.h" #define WIDTH 400 #define HEIGHT 500 @@ -60,6 +61,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine wc.hInstance = hInstance; wc.hCursor = LoadCursor(hInstance, IDC_ARROW); wc.lpszClassName = CLASS_NAME; + wc.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON1)); RegisterClass(&wc); @@ -112,10 +114,10 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine 0, HEIGHT - 100, WIDTH, 30, generalDisplayArea, NULL, hInstance, NULL); // Notify the user that they are not running the program as an administrator and that may limit some features. - if (!IsUserAnAdmin()) { + /*if (!IsUserAnAdmin()) { HWND notAdminLabel = CreateWindow(WC_STATIC, L"Note: Program is not being ran with admin perms! This\n may limit some features", WS_VISIBLE | WS_CHILD | SS_CENTER, 0, HEIGHT - 160, WIDTH, 30, generalDisplayArea, NULL, hInstance, NULL); - } + }*/ Spinner cpsSpinner = { 0 }; cpsSpinner.x = 100; @@ -190,6 +192,13 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine /* =============== + Remember Click Display Area + =============== + */ + HWND rememberClickLabel = CreateWindow(WC_STATIC, L"This feature will come in a future version of AutoClickerDL.", WS_VISIBLE | WS_CHILD | SS_CENTER, + 10, HEIGHT/2 - 60, WIDTH - 30, 40, rememberClickDisplayArea, NULL, hInstance, NULL); + /* + =============== Window Messages =============== */ diff --git a/AutoClickerDL/AutoClickerDL.rc b/AutoClickerDL/AutoClickerDL.rc new file mode 100644 index 0000000..543dc7a --- /dev/null +++ b/AutoClickerDL/AutoClickerDL.rc @@ -0,0 +1,71 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "winres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (United States) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""winres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_ICON1 ICON "icon.ico" + +#endif // English (United States) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/AutoClickerDL/AutoClickerDL.vcxproj b/AutoClickerDL/AutoClickerDL.vcxproj index de73517..8aec377 100644 --- a/AutoClickerDL/AutoClickerDL.vcxproj +++ b/AutoClickerDL/AutoClickerDL.vcxproj @@ -146,6 +146,13 @@ + + + + + + + diff --git a/AutoClickerDL/AutoClickerDL.vcxproj.filters b/AutoClickerDL/AutoClickerDL.vcxproj.filters index 3c1607c..43a667a 100644 --- a/AutoClickerDL/AutoClickerDL.vcxproj.filters +++ b/AutoClickerDL/AutoClickerDL.vcxproj.filters @@ -32,5 +32,18 @@ Header Files + + Header Files + + + + + Resource Files + + + + + Resource Files + \ No newline at end of file diff --git a/AutoClickerDL/icon.ico b/AutoClickerDL/icon.ico new file mode 100644 index 0000000..b30e0cd Binary files /dev/null and b/AutoClickerDL/icon.ico differ diff --git a/AutoClickerDL/resource.h b/AutoClickerDL/resource.h new file mode 100644 index 0000000..306c261 --- /dev/null +++ b/AutoClickerDL/resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by AutoClickerDL.rc +// +#define IDI_ICON1 103 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 104 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/README.md b/README.md index 8fca13d..12c6f46 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # AutoClickerDL - +AutoClickerDL is a simple auto clicker created for computers using Windows. The application is coded in C and uses the WIN32 api directly. + +AutoClickerDL is available for download in the Releases tab. + +## Screen Shots +**The homepage of the application:** +![The homepage of the application.](https://img.ryandw11.com/raw/x854601pk.png) +**The settings menu:** +![The settings menu.](https://img.ryandw11.com/raw/x856jo4dp.png) \ No newline at end of file