This commit is contained in:
Barry Warsaw 1998-09-28 23:41:12 +00:00
parent 0e3e699178
commit 1ac18cd326
1 changed files with 3 additions and 9 deletions

View File

@ -1,16 +1,10 @@
class Switchboard:
def __init__(self, app, colordb, red, green, blue):
self.__app = app
self.__colordb = colordb
self.__red = red
self.__green = green
self.__blue = blue
def __init__(self):
self.__views = []
def add_view(self, view):
self.__views.append(view)
def update_views(self, srcview, red, green, blue):
def update_views(self, red, green, blue):
for v in self.__views:
if v <> srcview:
v.update_yourself(red, green, blue)