File: SwissWatcP.h

package info (click to toggle)
swisswatch 0.6-8
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 160 kB
  • ctags: 307
  • sloc: ansic: 1,511; makefile: 50
file content (57 lines) | stat: -rw-r--r-- 1,255 bytes parent folder | download | duplicates (11)
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
46
47
48
49
50
51
52
53
54
55
56
57
#ifndef _SwissWatchP_h_
#define _SwissWatchP_h_

#include <X11/CompositeP.h>
#include "SwissWatch.h"

typedef struct _SwissWatchClassPart {
  int		dummy;
} SwissWatchClassPart;

typedef struct _SwissWatchClassRec {
  CoreClassPart      core_class;
  CompositeClassPart composite_class;
  SwissWatchClassPart swiss_watch_class;
} SwissWatchClassRec;

extern SwissWatchClassRec swissWatchClassRec;

typedef struct _SwissWatchPart {
  unsigned	n_children;
  float		tick_time;
  double	now;
  long		now_local_sec;
  double	frac_sec;
  double	expected;
  XtIntervalId	timeout;
  Boolean	shape_window;
  Boolean	circular;
  Boolean	swiss_mode;
#ifdef SHAPE
  GC		shape_gc;
  Pixmap	shape_mask;
  int		shape_width;
  int		shape_height;
#endif /* SHAPE */
  GC		bg_gc;
  Pixmap	mark_pic;
  Pixmap	pic;
  int		rad_x;
  int		rad_y;
  int		cx;
  int		cy;
} SwissWatchPart;

typedef struct _SwissWatchRec {
    CorePart      core;
    CompositePart composite;
    SwissWatchPart swiss_watch;
} SwissWatchRec;

#ifdef NeedFunctionPrototypes
#define SwissWatchInheritResize (((void *)(Widget, int, int)) 0)
#else /* not NeedFunctionPrototypes */
#define SwissWatchInheritResize (((void *)()) 0)
#endif /* not NeedFunctionPrototypes */

#endif /* not _SwissWatchP_h_ */