added set single member functions to playback

This commit is contained in:
lostjared
2018-03-18 11:36:38 -07:00
parent 3d2eb4176d
commit 41c3f9bc3e
2 changed files with 8 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ Playback::Playback(QObject *parent) : QThread(parent) {
isPaused = false;
bright_ = gamma_ = saturation_ = 0;
single_mode = true;
current_filter = 0;
}
void Playback::Play() {
@@ -111,7 +112,11 @@ void Playback::setColorOptions(int b, int g, int s) {
}
void Playback::setIndexChanged(int pos) {
current_filter = pos;
}
void Playback::setSingleMode(bool val) {
single_mode = val;
}
void Playback::setRGB(int r, int g, int b) {