aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/layout.h
Commit message (Collapse)AuthorAgeFilesLines
* Do some cleanup; now we pass a struct with the layout algorithm's stateFederico Mena Quintero1998-10-091-4/+16
| | | | | | | | | | | | | | | | | | | | | 1998-10-08 Federico Mena Quintero <federico@nuclecu.unam.mx> * layout.c: Do some cleanup; now we pass a struct with the layout algorithm's state instead of passing a trillion parameters around. * gncal-full-day.c (layout_children): Use the new generic layout engine. (child_compare): Sort keys are start time then end time, not just start time. This produces somewhat nicer results for the layout algorithm. The new layout code uses a partition of the time range occupied by the events, rather than using a fixed time granularity. This is better since the different parts of the program that use the layout module will have different semantics regarding snapping the event bounds to a fixed "time grid". svn path=/trunk/; revision=434
* Doh, add the files - FedericoArturo Espinosa1998-10-081-0/+25
svn path=/trunk/; revision=433