/* Event layout engine for Gnomecal * * Copyright (C) 1998 The Free Software Foundation * * Authors: Miguel de Icaza * Federico Mena */ #ifndef LAYOUT_H #define LAYOUT_H #include #include /* Functions of this type must translate the list item into two time_t values for the start and end * of an event. */ typedef void (* LayoutQueryTimeFunc) (GList *event, time_t *start, time_t *end); /* This is the main layout function for overlapping events. You pass in a list of (presumably) * events and a function that should take a list element and return the start and end times for the * event corresponding to that list element. * * It returns the number of slots ("columns") that you need to take into account when actually * painting the events, the array of the first slot index that each event occupies, and the array of * number of slots that each event occupies. You have to free both arrays. * * You will get somewhat better-looking results if the list of events is sorted by using the start * time as the primary sort key and the end time as the secondary sort key -- so that "longer" * events go first in the list. */ void layout_events (GList *events, LayoutQueryTimeFunc func, int *num_slots, int **allocations, int **slots); #endif 370ea1a0f2ab73453'/> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Use blaslapackthierry2015-02-061-20/+20
* Cleanup plistantoine2014-11-131-4/+0
* Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-111-0/+1
* Update to 1.4.3bapt2014-08-303-8/+7
* Reset maintainership for ports not staged with no pending PRbapt2014-07-251-1/+1
* Remove indefinite articles and trailing periods from COMMENT, plusolgeni2014-07-171-1/+1
* Modernize LIB_DEPENDSbapt2014-07-151-10/+10
* - Chase revision r353611 to math/GiNaC.stephen2014-05-111-1/+1
* Update the default version of GCC used in the Ports Collection fromgerald2014-03-111-1/+1
* Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most casestijl2014-02-171-2/+1
* Update to libmpc version 1.0.1 which brings the following fixes:gerald2013-10-261-0/+1
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Convert science to new options frameworkbapt2013-04-291-16/+13
* add math/metis4 to math/Makefile; update math/metis to 5.0.2; add appropriatebf2012-07-091-2/+2
* adjust linking and comments in dependent ports after the math/atlas update;bf2011-11-221-4/+4
* Mark as broken on powerpc: does not compile.linimon2011-11-111-0/+4
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-1/+0
* I forgot to remove unncessary patch..maho2011-09-131-64/+0
* Update to 1.4.0 and unbreak for 8-exp gcc46 run.maho2011-09-074-9/+26
* Fix for experimental gcc 4.6 build, and many small fixesmaho2011-08-26