2023-11-12 16:13:24 +00:00
|
|
|
|
#include "mainwindow.h"
|
|
|
|
|
#include <QApplication>
|
|
|
|
|
#include "cplaywidget.h"
|
|
|
|
|
#include <QTimer>
|
|
|
|
|
#include "CameraCapture.h"
|
|
|
|
|
#include "mainwindow.h"
|
|
|
|
|
#include <qlibrary.h>
|
|
|
|
|
#include <qsysinfo.h>
|
|
|
|
|
#include <qt_windows.h>
|
|
|
|
|
#include "media/screen_capture.h"
|
|
|
|
|
#include "media/DXGICapture.h"
|
|
|
|
|
#include <QVector>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <tchar.h>
|
|
|
|
|
#include <shlobj.h>
|
|
|
|
|
#include <D3D9.h>
|
|
|
|
|
|
|
|
|
|
#if _MSC_VER >= 1600
|
|
|
|
|
#pragma execution_character_set("utf-8")
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef __MINGW32__
|
|
|
|
|
#include <Tlhelp32.h>
|
|
|
|
|
#include "winuser.h"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
int RegiesterOwnType(){
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
|
{
|
|
|
|
|
setbuf(stdout, NULL);//<2F><>printf<74><66><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
ScreenCapture p;
|
|
|
|
|
p.EnumScreen();
|
|
|
|
|
|
2023-12-10 17:02:28 +00:00
|
|
|
|
SYSTEMTIME st;
|
|
|
|
|
GetSystemTime(&st);
|
|
|
|
|
|
2023-11-12 16:13:24 +00:00
|
|
|
|
Direct3D9TakeScreenshots(0,4);
|
|
|
|
|
QssEventFilter filter;
|
|
|
|
|
QApplication app(argc, argv);
|
|
|
|
|
|
|
|
|
|
MainWindow main;
|
|
|
|
|
|
|
|
|
|
main.setWindowTitle("<EFBFBD><EFBFBD>ý<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Թ<EFBFBD><EFBFBD><EFBFBD>");
|
2023-11-29 16:22:43 +00:00
|
|
|
|
main.setFixedSize(1280,769);
|
2023-11-12 16:13:24 +00:00
|
|
|
|
main.show();
|
|
|
|
|
return app.exec();
|
|
|
|
|
}
|