File: window.h

package info (click to toggle)
xdkcal 0.9c-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 268 kB
  • ctags: 144
  • sloc: ansic: 1,060; sh: 330; makefile: 39
file content (41 lines) | stat: -rw-r--r-- 915 bytes parent folder | download
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
/**************************************************
 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,
    LINE_STYLE
};

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