This commit is contained in:
Jared Bruni
2021-09-17 04:41:27 -07:00
parent eba66a69ba
commit 5ffddf8fc4
2 changed files with 4 additions and 2 deletions

View File

@@ -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)

View File

@@ -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)