Last active
April 12, 2019 12:31
-
-
Save Sean-Bradley/31184d019415bd1082209c72da568f0b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Slider(IUndoRedo): | |
"""The Invoker Class""" | |
def __init__(self): | |
self._commands = {} | |
self._history = [(0.0, "OFF", ())] # A default setting of OFF | |
self._history_position = 0 # The position that is used for UNDO/REDO | |
... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment