diff --git a/Calendar/DayListPanel.py b/Calendar/DayListPanel.py index 5edfb43..71eb741 100644 --- a/Calendar/DayListPanel.py +++ b/Calendar/DayListPanel.py @@ -34,13 +34,16 @@ class DayListPanel (PanelDesign): self.__draw_day_rows__() def add_weather (self, weather): - pass + for row in self.__day_rows__: + row.add_weather(weather) def add_calendar (self, calendar): - pass + for row in self.__day_rows__: + row.add_calendar(calendar) def add_rssfeed (self, rss): - pass + for row in self.__day_rows__: + row.add_rssfeed(rss) def __draw_day_rows__ (self): following_days = self.__get_following_days__() diff --git a/Calendar/WeatherColumnDesign.py b/Calendar/WeatherColumnDesign.py new file mode 100644 index 0000000..f64eaa6 --- /dev/null +++ b/Calendar/WeatherColumnDesign.py @@ -0,0 +1,9 @@ +from DesignEntity import DesignEntity + +class WeatherColumnDesign(DesignEntity): + """Displays weather information in a column""" + def __init__(self, size): + super().__init__(size) + + def __finish_image__(self): + pass \ No newline at end of file