diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2017-10-19 11:53:08 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2017-10-19 11:54:36 -0500 |
commit | 2a310e5f798e7921715cd11e17e61327d2614e6d (patch) | |
tree | 8b687c151dd20d78dbbe8a8fc2e40242d0fbb594 /libs/surfaces/us2400/fader.h | |
parent | ee09ae1c6bd285388159a3a69f12fc53faf247e2 (diff) |
US2400: Mark controls dirty and send them from the periodic update thread.
Diffstat (limited to 'libs/surfaces/us2400/fader.h')
-rw-r--r-- | libs/surfaces/us2400/fader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaces/us2400/fader.h b/libs/surfaces/us2400/fader.h index 169cf454d4..2a3c99e9fc 100644 --- a/libs/surfaces/us2400/fader.h +++ b/libs/surfaces/us2400/fader.h @@ -26,6 +26,8 @@ class Fader : public Control static Control* factory (Surface&, int id, const char*, Group&); + void mark_dirty() { last_update_position = llast_update_position = -1; } + private: float position; int last_update_position; |