adding the ability to record and display the capture device

This commit is contained in:
langolierz
2018-04-19 03:42:25 +00:00
parent c66ce22a0d
commit 201d812502
6 changed files with 123 additions and 11 deletions

View File

@@ -9,6 +9,7 @@ from display_centre.messages import MessageHandler
from user_input.numpad_input import NumpadInput
from user_input.midi_input import MidiInput
from video_centre.video_driver import VideoDriver
from video_centre.capture import Capture
import data_centre
# create tk object
@@ -25,13 +26,13 @@ data = Data(message_handler)
# setup the video driver
video_driver = VideoDriver(tk, message_handler, data)
#capture = Capture()
capture = Capture(tk, message_handler, data)
# setup the display
display = Display(tk, video_driver, message_handler, data)
# setup the actions
actions = Actions(tk, message_handler, data, video_driver, display)
actions = Actions(tk, message_handler, data, video_driver, capture, display)
numpad_input = NumpadInput(tk, message_handler, display, actions, data)
midi_input = MidiInput(tk, message_handler, display, actions, data)