Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
Release Version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LengSC committed Jan 21, 2023
1 parent d4141db commit 16b7d06
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 19 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.vs/
/Debug/
*.res
*.lib
*.idb
*.lnk
Expand Down
Binary file modified BossKey/BossKey.aps
Binary file not shown.
8 changes: 4 additions & 4 deletions BossKey/BossKey.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ LRESULT BossKey::OnCreate() {
NULL
);

clock_t td = clock() - start;
clock_t td = 1000 - clock() + start;

if (td < 2000) {
Sleep((DWORD)(2000 - td));
if (td > 0) {
Sleep((DWORD)td);
}

SendMessage(hSplash, WM_CLOSE, NULL, NULL);
Expand Down Expand Up @@ -359,7 +359,7 @@ LRESULT BossKey::OnCommand(WPARAM wParam, LPARAM lParam) {
break;

case ID_FILE_SETTINGS:
// TODO: 设置的对话框内容
// TODO: next vesion: 设置的对话框内容
DialogBox(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_DIALOG_SETTINGS), m_hWnd, SettingsWindow::SettingsProc);
break;

Expand Down
Binary file modified BossKey/BossKey.rc
Binary file not shown.
2 changes: 1 addition & 1 deletion BossKey/Resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 109
#define _APS_NEXT_RESOURCE_VALUE 108
#define _APS_NEXT_COMMAND_VALUE 40007
#define _APS_NEXT_CONTROL_VALUE 1010
#define _APS_NEXT_SYMED_VALUE 101
Expand Down
5 changes: 0 additions & 5 deletions BossKey/SettingsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ INT_PTR CALLBACK SettingsWindow::SettingsProc(HWND hDlg, UINT uMsg, WPARAM wPara


INT_PTR SettingsWindow::OnInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam) {
/*INITCOMMONCONTROLSEX icex = { 0 };
icex.dwSize = sizeof(INITCOMMONCONTROLSEX);
icex.dwICC = ICC_HOTKEY_CLASS;
InitCommonControlsEx(&icex);*/

return (INT_PTR)TRUE;
}

Expand Down
3 changes: 0 additions & 3 deletions BossKey/SettingsWindow.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
#pragma once

#include <Windows.h>
//#include <CommCtrl.h>

#include "Resource.h"

//#pragma comment(lib, "comctl32.lib")


class SettingsWindow {
public:
Expand Down
Binary file modified BossKey/Win32/Release/BossKey.res
Binary file not shown.
Binary file modified BossKey/x64/Release/BossKey.res
Binary file not shown.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
---

<p align = "center">
<a href = "#"><img src = "https://img.shields.io/badge/language-C++-blue.svg"></a>
<a href = "https://github.com/LengSC/BossKey/releases"><img src = "https://img.shields.io/badge/release-1.0-greeb.svg"></a>
<a href = "https://github.com/LengSC/BossKey/blob/main/LICENSE"><img src = "https://img.shields.io/badge/lisence-MIT-orange.svg"></a>
<a href = "#"><img src = "https://img.shields.io/badge/Language-C++-blue.svg"></a>
<a href = "https://github.com/LengSC/BossKey/releases"><img src = "https://img.shields.io/badge/Version-1.0.0-greeb.svg"></a>
<a href = "https://github.com/LengSC/BossKey/blob/main/LICENSE"><img src = "https://img.shields.io/badge/License-MIT-orange.svg"></a>
</p>

---

简介
Expand Down Expand Up @@ -78,12 +79,13 @@ A:检查系统是否为 Windows,有没有毒软限制了软件。
其他
---

如果你喜欢这个项目,<br/>不妨推荐给你的好友吧😉
如果你喜欢这个项目,<br/>不妨推荐给你的好友吧😉!

如果你在使用过程中发现了 BUG,<br/>请到 Github 将其发给我,我将及时修复。

许可
---

[MIT License](https://github.com/LengSC/BossKey/blob/main/LICENSE) (free, open source)

Q:为什么不用 WTFPL 啊啊啊啊啊啊!<br/>
A:Emmmmm...
~~为什么不用 WTFPL 啊啊啊啊啊啊!~~
Binary file modified Win32/Release/BossKey.exe
Binary file not shown.
Binary file modified x64/Release/BossKey.exe
Binary file not shown.

0 comments on commit 16b7d06

Please sign in to comment.