提交测试,基本完成

This commit is contained in:
Mike Solar
2023-08-13 12:16:22 +08:00
parent b8da134809
commit 098e06a39b
40 changed files with 3219 additions and 1782 deletions

View File

@ -2,9 +2,16 @@
#include <QApplication>
#include <Windows.h>
double scale;
bool autostart = false;
bool agree = false;
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QStringList args = a.arguments();
if(args.contains("autostart"))
{
autostart = true;
}
HDC hdc = GetDC(NULL);
scale = GetDeviceCaps(hdc, LOGPIXELSX)/96;
ReleaseDC(NULL,hdc);