added combo, radio buttons and working on getting the interface to work with filter transitions

This commit is contained in:
lostjared
2018-03-18 10:42:20 -07:00
parent df5f56b1ae
commit 74814f8e0e
5 changed files with 44 additions and 15 deletions

View File

@@ -12,6 +12,7 @@ Playback::Playback(QObject *parent) : QThread(parent) {
isStep = false;
isPaused = false;
bright_ = gamma_ = saturation_ = 0;
single_mode = true;
}
void Playback::Play() {
@@ -20,8 +21,8 @@ void Playback::Play() {
stop = false;
}
}
//start(LowPriority);
start(HighPriority);
start(LowPriority);
//start(HighPriority);
}
void Playback::setVideo(cv::VideoCapture cap, cv::VideoWriter wr, bool record) {
@@ -109,6 +110,10 @@ void Playback::setColorOptions(int b, int g, int s) {
mutex.unlock();
}
void Playback::setIndexChanged(int pos) {
}
void Playback::setRGB(int r, int g, int b) {
mutex.lock();
ac::swapColor_r = r;