Skip to content

Commit

Permalink
Update README + ICON
Browse files Browse the repository at this point in the history
- Updated the README file.
- Added an icon for the program.
- Cleaned up the UI a little.
  • Loading branch information
ryandw11 committed Dec 15, 2021
1 parent d29a4a3 commit c499105
Show file tree
Hide file tree
Showing 7 changed files with 127 additions and 3 deletions.
13 changes: 11 additions & 2 deletions AutoClickerDL/AutoClickerDL.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")

#include "General.h"
#include "IO.h"
#include "resource.h"

#define WIDTH 400
#define HEIGHT 500
Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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
===============
*/
Expand Down
71 changes: 71 additions & 0 deletions AutoClickerDL/AutoClickerDL.rc
Original file line number Diff line number Diff line change
@@ -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

7 changes: 7 additions & 0 deletions AutoClickerDL/AutoClickerDL.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
13 changes: 13 additions & 0 deletions AutoClickerDL/AutoClickerDL.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Binary file added AutoClickerDL/icon.ico
Binary file not shown.
16 changes: 16 additions & 0 deletions AutoClickerDL/resource.h
Original file line number Diff line number Diff line change
@@ -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
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit c499105

Please sign in to comment.