1998-04-22 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c: Made it use popup_menu(). * popup-menu.c: New file with utility functions for creating popup menus. Maybe such a thing would be useful in libgnomeui, a la gnome-app-helper? * Makefile.am (gnomecal_SOURCES): Added popup-menu.[ch] to the sources. 1998-04-21 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c: New widget for editing TODO lists. This will be worked on a lot. * Makefile.am (gnomecal_SOURCES): Added gncal-todo.[ch] to the sources. * gncal-day-panel.c: Make it use the new TODO widget. svn path=/trunk/; revision=189
29 lines
624 B
C
29 lines
624 B
C
/* Miscellaneous utility functions for the calendar view widgets
|
|
*
|
|
* Copyright (C) 1998 The Free Software Foundation
|
|
*
|
|
* Author: Federico Mena <quartic@gimp.org>
|
|
*/
|
|
|
|
#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);
|
|
|
|
void view_utils_draw_textured_frame (GtkWidget *widget, GdkWindow *window, GdkRectangle *rect, GtkShadowType shadow);
|
|
|
|
|
|
#endif
|