mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-17 04:10:01 +01:00
working on interface
This commit is contained in:
@@ -100,6 +100,14 @@ void Playback::setOptions(bool n, int c) {
|
||||
mutex.unlock();
|
||||
}
|
||||
|
||||
void Playback::setRGB(int r, int g, int b) {
|
||||
mutex.lock();
|
||||
ac::swapColor_r = r;
|
||||
ac::swapColor_g = g;
|
||||
ac::swapColor_b = b;
|
||||
mutex.unlock();
|
||||
}
|
||||
|
||||
void Playback::setDisplayed(bool shown) {
|
||||
video_shown = shown;
|
||||
}
|
||||
@@ -128,6 +136,8 @@ void Playback::run() {
|
||||
if(i == cur.size()-1)
|
||||
ac::in_custom = false;
|
||||
|
||||
|
||||
|
||||
if(cur[i].first == 0) {
|
||||
ac::draw_func[cur[i].second](frame);
|
||||
} else if(cur[i].first == 1) {
|
||||
|
||||
Reference in New Issue
Block a user