Logo Search packages:      
Sourcecode: xdkcal version File versions  Download package

window.h

/**************************************************
 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

Generated by  Doxygen 1.6.0   Back to index