diff options
| author | tassaron | 2017-06-04 13:00:36 -0400 |
|---|---|---|
| committer | tassaron | 2017-06-04 13:00:36 -0400 |
| commit | 39e66ffa2d07b87b57ed90b369ab26aedf0a69e8 (patch) | |
| tree | f11cf59368997a9b0dbd6cfd4cb9dd3e45f03583 /components/__base__.py | |
| parent | 443c65455a1cae8ccaea0f0af7cdda3919c709f8 (diff) | |
video component almost working, rm hardcoded backgrounds
Diffstat (limited to 'components/__base__.py')
| -rw-r--r-- | components/__base__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/components/__base__.py b/components/__base__.py index 45c148d..f564aad 100644 --- a/components/__base__.py +++ b/components/__base__.py @@ -7,6 +7,13 @@ class Component: def version(self): # change this number to identify new versions of a component return 1 + + def cancel(self): + # make sure your component responds to these variables in frameRender() + self.canceled = True + + def reset(self): + self.canceled = False def preFrameRender(self, **kwargs): for var, value in kwargs.items(): |
