2020-06-04 15:28:45 +00:00
|
|
|
|
#include "mainwindow.h"
|
|
|
|
|
#include <QApplication>
|
|
|
|
|
#include "cplaywidget.h"
|
|
|
|
|
#include <QTimer>
|
|
|
|
|
#include "CameraCapture.h"
|
|
|
|
|
#include "mainwindow.h"
|
2020-12-06 16:01:38 +00:00
|
|
|
|
#include <qlibrary.h>
|
|
|
|
|
#include <qsysinfo.h>
|
|
|
|
|
#include <qt_windows.h>
|
2021-10-04 14:45:36 +00:00
|
|
|
|
#include "media/screen_capture.h"
|
2021-10-05 02:27:53 +00:00
|
|
|
|
#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
|
2021-10-02 05:58:29 +00:00
|
|
|
|
|
|
|
|
|
#ifdef __MINGW32__
|
2020-12-06 16:01:38 +00:00
|
|
|
|
#include <Tlhelp32.h>
|
2021-10-02 05:58:29 +00:00
|
|
|
|
#include "winuser.h"
|
|
|
|
|
#endif
|
|
|
|
|
|
2020-06-06 07:39:55 +00:00
|
|
|
|
int RegiesterOwnType(){
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
2021-10-04 14:45:36 +00:00
|
|
|
|
|
2020-06-04 15:28:45 +00:00
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
|
{
|
2021-10-05 02:27:53 +00:00
|
|
|
|
setbuf(stdout, NULL);//<2F><>printf<74><66><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2021-10-06 15:31:47 +00:00
|
|
|
|
ScreenCapture p;
|
|
|
|
|
p.EnumScreen();
|
2021-10-05 02:27:53 +00:00
|
|
|
|
|
2021-10-06 15:31:47 +00:00
|
|
|
|
Direct3D9TakeScreenshots(0,4);
|
2020-12-06 16:01:38 +00:00
|
|
|
|
QssEventFilter filter;
|
|
|
|
|
QApplication app(argc, argv);
|
2020-06-04 15:28:45 +00:00
|
|
|
|
|
|
|
|
|
MainWindow main;
|
2021-10-06 15:31:47 +00:00
|
|
|
|
|
2021-10-04 14:45:36 +00:00
|
|
|
|
main.setWindowTitle("<EFBFBD><EFBFBD>ý<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Թ<EFBFBD><EFBFBD><EFBFBD>");
|
2021-10-02 05:58:29 +00:00
|
|
|
|
main.setFixedSize(1920,1080);
|
2020-06-04 15:28:45 +00:00
|
|
|
|
main.show();
|
2020-12-06 16:01:38 +00:00
|
|
|
|
return app.exec();
|
2020-06-04 15:28:45 +00:00
|
|
|
|
}
|