working on interface

This commit is contained in:
lostjared
2018-03-16 19:48:24 -07:00
parent cabd794a52
commit d494164d0d
4 changed files with 52 additions and 5 deletions

View File

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