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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
/**************************************************
window.h -- Copyright(c) 1999 Jiro Sekiba <jir@hello.to>
**************************************************/
#ifndef __WINDOW_H__
#define __WINDOW_H__
#include "config.h"
struct Colors
{
unsigned long weekday;
unsigned long holiday;
unsigned long header;
unsigned long today;
unsigned long saturday;
};
enum Style
{
NORMAL_STYLE,
MONDAY_STYLE,
LINE_STYLE
};
extern int target_year;
extern int target_month;
int xdkcal(int year, int month,
int window_x, int window_y,
char *fontset,
char *default_color,
char *holiday_color,
char *saturday_color,
char *today_color,
char *header_color,
#ifdef HAVE_LIBXEXT
int shape,
#endif
int pad,
enum Style,
int draw_mon,
int draw_week,
int num_week
);
int destroy_data(void);
int repaint(void);
#endif
|