aboutsummaryrefslogblamecommitdiffstats
path: root/calendar/view-utils.h
blob: ea6e885eb0b7fd0df0ca1722dd504e9bac2f4ef8 (plain) (tree)





















                                                                                                 
                                                                                 


      
/* Miscellaneous utility functions for the calendar view widgets
 *
 * Copyright (C) 1998 The Free Software Foundation
 *
 * Author: Federico Mena <federico@nuclecu.unam.mx>
 */

#ifndef VIEW_UTILS_H
#define VIEW_UTILS_H


#include <gtk/gtk.h>
#include "calendar.h"


enum {
    VIEW_UTILS_DRAW_END   = 1 << 0,
    VIEW_UTILS_DRAW_SPLIT = 1 << 1
};


void view_utils_draw_events (GtkWidget *widget, GdkWindow *window, GdkGC *gc, GdkRectangle *area,
                 int flags, GList *events, time_t start, time_t end);


#endif