aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/layout.h
blob: b87cf7e36bc84a910ee54e04a65836e5a2bfe65b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* Event layout engine for Gnomecal
 *
 * Copyright (C) 1998 The Free Software Foundation
 *
 * Authors: Miguel de Icaza <miguel@nuclecu.unam.mx>
 *          Federico Mena <federico@nuclecu.unam.mx>
 */

#ifndef LAYOUT_H
#define LAYOUT_H

#include "calendar.h"


/* This is the main layout function for overlapping events.  You pass in a list of CalendarObject
 * structures and it will calculate a nice non-overlapping layout for them.
 *
 * 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.
 */
void layout_events (GList *events, int *num_slots, int **allocations, int **slots);


#endif
sd-ports-gnome/log/x11-toolkits/py-kivy?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&id=1f143fc8b2f5b6d5ff13d80a7511ebc932287438'>py-kivy
Commit message (Expand)AuthorAgeFilesLines
* Update USE_GITHUB so it does not require GH_COMMIT.bdrewery2015-03-201-1/+1
* - Update to 0.22 [1]jbeich2015-02-191-0/+2
* - Drop @dirrm* from and add empty directories to pkg-plistsamdmi32015-01-281-25/+0
* Fix some _DEPENDSantoine2015-01-251-3/+3
* Final removal of WITH_NEW_XORGdumbbell2014-12-231-6/+0
* Fix x11-toolkits/py-kivy due to cython update.dbn2014-10-042-4/+24
* Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-111-0/+1
* Update x11-toolkits/py-kivy to 1.8.0.dbn2014-04-255-47/+210
* The FreeBSD x11@ and graphics team proudly presentszeising2014-04-171-10/+14
* Update the default version of GCC used in the Ports Collection fromgerald2014-03-111-1/+1
* Add py-ffmpeg as an optional dependency for x11-toolkits/py-kivy.dbn2014-01-241-16/+7
* Python cleanup:rene2014-01-141-1/+1
* Move x11-toolkits/py-kivy to using auto-plist.dbn2013-12-192-947/+4
* Fix build of x11-toolkits/py-kivy on some systems (pygame.joystick related).dbn2013-12-171-0/+4
* Fix typos in x11-toolkits/py-kivy.dbn2013-11-281-2/+3
* Update x11-toolkits/py-kivy to 1.7.2.dbn2013-11-193-14/+12
* Add stage support to x11-toolkits/py-kivy.dbn2013-11-192-13/+38
* - Switch devel/sdl20 to use the autotools-based configuration, since themva2013-11-171-1/+1
* Update to libmpc version 1.0.1 which brings the following fixes:gerald2013-10-261-1/+1
* - Chase devel/sdl20 shlib version changemva2013-10-261-0/+1
* Mark x11-toolkits/py-kivy as broken under i386 without -DWITH_NEW_XORG.dbn2013-10-071-0/+3
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1