48 lines
911 B
C++
48 lines
911 B
C++
|
#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();
|
|||
|
|
|||
|
Direct3D9TakeScreenshots(0,4);
|
|||
|
QssEventFilter filter;
|
|||
|
QApplication app(argc, argv);
|
|||
|
|
|||
|
MainWindow main;
|
|||
|
|
|||
|
main.setWindowTitle("<EFBFBD><EFBFBD>ý<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Թ<EFBFBD><EFBFBD><EFBFBD>");
|
|||
|
main.setFixedSize(1920,1080);
|
|||
|
main.show();
|
|||
|
return app.exec();
|
|||
|
}
|