User:Mvl/calendarViews

From MozillaWiki
Jump to: navigation, search

calendar.xul would have four overlays, one for each view. Each view is a simple overlay, and has to do almost everything itself, like navigation buttons. There would be a calendarViewManager, that has functions that the various other parts of the front-end can call, if they want to change the display. Think about clicking on the minimonth.


multiweek.xul: (an overlay)

<deck onshow="foo();">
 <calendar-navigation-buttons onprev="bar()" onnext="barprime()"/>
 <calendar-month-view/>
</deck>