From c499105d3def444a45dedfdc3062798d44e2c4d7 Mon Sep 17 00:00:00 2001 From: Ryandw11 <6239385+ryandw11@users.noreply.github.com> Date: Wed, 15 Dec 2021 16:07:34 -0700 Subject: [PATCH] Update README + ICON - Updated the README file. - Added an icon for the program. - Cleaned up the UI a little. --- AutoClickerDL/AutoClickerDL.c | 13 +++- AutoClickerDL/AutoClickerDL.rc | 71 ++++++++++++++++++++ AutoClickerDL/AutoClickerDL.vcxproj | 7 ++ AutoClickerDL/AutoClickerDL.vcxproj.filters | 13 ++++ AutoClickerDL/icon.ico | Bin 0 -> 19437 bytes AutoClickerDL/resource.h | 16 +++++ README.md | 10 ++- 7 files changed, 127 insertions(+), 3 deletions(-) create mode 100644 AutoClickerDL/AutoClickerDL.rc create mode 100644 AutoClickerDL/icon.ico create mode 100644 AutoClickerDL/resource.h 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 @@ <ItemGroup> <ClInclude Include="General.h" /> <ClInclude Include="IO.h" /> + <ClInclude Include="resource.h" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="AutoClickerDL.rc" /> + </ItemGroup> + <ItemGroup> + <Image Include="icon.ico" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> 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 @@ <ClInclude Include="IO.h"> <Filter>Header Files</Filter> </ClInclude> + <ClInclude Include="resource.h"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="AutoClickerDL.rc"> + <Filter>Resource Files</Filter> + </ResourceCompile> + </ItemGroup> + <ItemGroup> + <Image Include="icon.ico"> + <Filter>Resource Files</Filter> + </Image> </ItemGroup> </Project> \ No newline at end of file diff --git a/AutoClickerDL/icon.ico b/AutoClickerDL/icon.ico new file mode 100644 index 0000000000000000000000000000000000000000..b30e0cd5630f8b6ea4cd1eaffe991eabad432810 GIT binary patch literal 19437 zcmeHP30zIv_dmB$Dh)!CBodO!6q5RT$XGq1BsBay^OPZ!S0WAg@erP&@=VWAiXuHv z5xwUpB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n%~QFX5wCb~O~_l0j-x&Dv0X<5pJqf_rcTxh~Lp6XHL=JIY2 zYnPdqrHa|`Jarxm{p)gn7qeCOB$df8PqnQRvMT(Qrar2=Y`wkY0I}JcqB{F#Oj%YX z>wMsq61Cyw6Qxq#OB?t-Vr6Q@2ZfE%h}F$7_q4xZA=bSr!OW7%D2r)04p7Rm=M?Lf zkN&4M%;XQ7v~yhEtlqaJQ@O}5^3*A*Fd25Av)Yo1i!8)HPCCX`nU-CqZgyhIUsDQq z)ZfmLJoqYZ+#<hUlCLs@-p^Hk(#>Z3yR<jAhZ+B<J0@DAr$$E6``!<XUgrL`_TKBn z?vKx^#JyVKaVh8BS@t-y03E5K6(vu98q|2C2Aipcue^AkV{aFG%J78Kif#c>eFuBm zpNO5GztQ{ob7#&ZhT>T7YX$o1_wGfRPS2%oTdz#tJFp4s`XcQxe9E>ZSN;>{roF!B zyI+iqC;a|7GcqlCj9k`;T$x*HMby8UhRh(h=&Cdm=d}HgUxlz`C+GByRsJC)D{b4V z2(Kx*c{er4Mo((|NZ)H#jA`yoNa34k{`!nqckm%8`|i0rzF$7tgLz~#RcrU-<+yae zK(EF6QM+&Cc!%C7Jw9g7+|oqD&5!ao<i}lRIox*649QOPIB-GrzME~K3G>7(N7WeB znBCqbXZ44xv3>7tsP645wQYyQ@%z?W*59r1>Ai|6A)8Se^1Y;a@!@js8=TN_BL}}6 zXXa$;6#1cICu`D{N7m&UhT%PQDL?MVYq(0Z^we&kXNsGccR=bDuU*ytxmFc{lV>Mp z?JkwG)AAg``W!gPG4jv3o+&dL8^~7~Rnqd0hK87o&rN~_lbSxoVshvt2e1DEF~ju^ literal 0 HcmV?d00001 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