mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-05 14:30:03 +01:00
updated
This commit is contained in:
@@ -186,8 +186,9 @@ AC_MainWindow::AC_MainWindow(QWidget *parent) : QMainWindow(parent) {
|
||||
|
||||
}
|
||||
|
||||
const char *ex[] = { "MovementTrails", "Zoom", "AcidShuffleMedian", "MatrixColorBlur", "AlphaBlendArrayExpand", "Zoom", "ImageXorSmooth", "SketchFilter", "SlideSub", "Histogram", "Desktop","MultiVideo","Solo", "Bars", "BilateralFilter", "BilateralFilterFade", "BoxFilter", "CurrentDesktopRect", "HorizontalTrailsInter", "IntertwineAlpha", "IntertwineAlphaBlend", "IntertwineVideo640", "RandomAlphaBlendFilter", "RandomOrigFrame", "RectangleGlitch", "SquareSwap64x32", "VideoColorMap", 0};
|
||||
|
||||
bool AC_MainWindow::checkAdd(QString str) {
|
||||
const char *ex[] = { "Zoom", "AcidShuffleMedian", "MatrixColorBlur", "AlphaBlendArrayExpand", "Zoom", "ImageXorSmooth", "SketchFilter", "SlideSub", "Histogram", "Desktop","MultiVideo","Solo", "Bars", "BilateralFilter", "BilateralFilterFade", "BoxFilter", "CurrentDesktopRect", "HorizontalTrailsInter", "IntertwineAlpha", "IntertwineAlphaBlend", "IntertwineVideo640", "RandomAlphaBlendFilter", "RandomOrigFrame", "RectangleGlitch", "SquareSwap64x32", "VideoColorMap", 0};
|
||||
std::string val = str.toStdString();
|
||||
for(int i = 0; ex[i] != 0; ++i)
|
||||
if(val.find(ex[i]) != std::string::npos)
|
||||
|
||||
@@ -16,8 +16,9 @@ SearchWindow::SearchWindow(QWidget *parent) : QDialog(parent) {
|
||||
createControls();
|
||||
}
|
||||
|
||||
extern char *ex[];
|
||||
|
||||
bool SearchWindow::checkAdd(QString str) {
|
||||
const char *ex[] = { "Zoom","AcidShuffleMedian","MatrixColorBlur", "AlphaBlendArrayExpand", "Zoom", "ImageXorSmooth", "SketchFilter", "SlideSub", "Histogram", "Desktop","MultiVideo","Solo", "Bars", "BilateralFilter", "BilateralFilterFade", "BoxFilter", "CurrentDesktopRect", "HorizontalTrailsInter", "IntertwineAlpha", "IntertwineAlphaBlend", "IntertwineVideo640", "RandomAlphaBlendFilter", "RandomOrigFrame", "RectangleGlitch", "SquareSwap64x32", "VideoColorMap", 0};
|
||||
std::string val = str.toStdString();
|
||||
for(int i = 0; ex[i] != 0; ++i)
|
||||
if(val.find(ex[i]) != std::string::npos)
|
||||
|
||||
Reference in New Issue
Block a user