mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-18 21:00:13 +01:00
added set single member functions to playback
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -34,6 +34,7 @@ private:
|
||||
unsigned int red, green, blue;
|
||||
unsigned int bright_, gamma_, saturation_;
|
||||
bool single_mode;
|
||||
int current_filter;
|
||||
public:
|
||||
Playback(QObject *parent = 0);
|
||||
~Playback();
|
||||
@@ -54,6 +55,7 @@ public:
|
||||
void setStep();
|
||||
void setDisplayed(bool shown);
|
||||
void setIndexChanged(int pos);
|
||||
void setSingleMode(bool val);
|
||||
signals:
|
||||
void procImage(const QImage image);
|
||||
void stopRecording();
|
||||
|
||||
Reference in New Issue
Block a user