1 /*****************************************************************************/
2 /* EyeClock - A clock application for X. The eyes follow the mouse pointer.  */
3 /*                                                                           */
4 /* EyeClock Copyright (C) 1998-1999 Sakai Hiroaki.                           */
5 /* All Rights Reserved.                                                      */
6 /*                                                                           */
7 /* EyeClock is a simple clock application for X11. You can put your favorite */
8 /* picture on the face of the clock. And you can move the eyes of the        */
9 /* picture following the mouse pointer.                                      */
10 /*                                                                           */
11 /* This file is a part of EyeClock.                                          */
12 /* EyeClock is FREE SOFTWARE. You can use, copy, modify, and/or redistribute */
13 /* it freely under the terms in the COPYRIGHT.                               */
14 /* See the COPYRIGHT for more details.                                       */
15 /*****************************************************************************/
16 
17 /*****************************************************************************/
18 /* Number ���������å�                                                       */
19 /* (����������)                                                            */
20 /*===========================================================================*/
21 /* ���Υե����������                                                        */
22 /*---------------------------------------------------------------------------*/
23 /* ���Υե�����ϡ����������롼���ѤΥإå��ե�����Ǥ���                  */
24 /* ���ѻ��ˤϡ����Υե���������롼�ɤ��Ƥ���������                      */
25 /*****************************************************************************/
26 
27 #ifndef _Number_h_INCLUDED_
28 #define _Number_h_INCLUDED_
29 
30 /*****************************************************************************/
31 /* ��������                                                                  */
32 /*****************************************************************************/
33 
34 /*****************************************************************************/
35 /* �إå��ե�����Υ����롼��(�ѥ֥�å��ʤ��)                            */
36 /*****************************************************************************/
37 
38 #include <X11/Intrinsic.h>
39 #include <X11/StringDefs.h>
40 #include <X11/Core.h>
41 
42 /*****************************************************************************/
43 /* ��������(�ѥ֥�å��ʤ��)                                              */
44 /*****************************************************************************/
45 
46 #ifndef XtNgeometry
47 #define XtNgeometry "geometry"
48 #endif
49 #ifndef XtCGeometry
50 #define XtCGeometry "Geometry"
51 #endif
52 
53 #ifndef XtNactive
54 #define XtNactive "active"
55 #endif
56 #ifndef XtCActive
57 #define XtCActive "Active"
58 #endif
59 
60 #ifndef XtNnumber
61 #define XtNnumber "number"
62 #endif
63 #ifndef XtCNumber
64 #define XtCNumber "Number"
65 #endif
66 
67 #ifndef XtNfaceSize
68 #define XtNfaceSize "faceSize"
69 #endif
70 #ifndef XtCFaceSize
71 #define XtCFaceSize "FaceSize"
72 #endif
73 
74 #ifndef XtNfaceWidth
75 #define XtNfaceWidth "faceWidth"
76 #endif
77 #ifndef XtCFaceWidth
78 #define XtCFaceWidth "FaceWidth"
79 #endif
80 
81 #ifndef XtNfaceHeight
82 #define XtNfaceHeight "faceHeight"
83 #endif
84 #ifndef XtCFaceHeight
85 #define XtCFaceHeight "FaceHeight"
86 #endif
87 
88 #ifndef XtNlength
89 #define XtNlength "length"
90 #endif
91 #ifndef XtCLength
92 #define XtCLength "Length"
93 #endif
94 
95 #ifndef XtNfigure
96 #define XtNfigure "figure"
97 #endif
98 #ifndef XtCFigure
99 #define XtCFigure "Figure"
100 #endif
101 
102 #ifndef XtNmask
103 #define XtNmask "mask"
104 #endif
105 #ifndef XtCMask
106 #define XtCMask "Mask"
107 #endif
108 
109 #ifndef XtNsize
110 #define XtNsize "size"
111 #endif
112 #ifndef XtCSize
113 #define XtCSize "Size"
114 #endif
115 
116 #ifndef XtNratio
117 #define XtNratio "ratio"
118 #endif
119 #ifndef XtCRatio
120 #define XtCRatio "Ratio"
121 #endif
122 
123 #ifndef XtNratioX
124 #define XtNratioX "ratioX"
125 #endif
126 #ifndef XtCRatioX
127 #define XtCRatioX "RatioX"
128 #endif
129 
130 #ifndef XtNratioY
131 #define XtNratioY "ratioY"
132 #endif
133 #ifndef XtCRatioY
134 #define XtCRatioY "RatioY"
135 #endif
136 
137 /*****************************************************************************/
138 /* �������(�ѥ֥�å��ʤ��)                                                */
139 /*****************************************************************************/
140 
141 typedef struct _NumberRec * NumberWidget;
142 typedef struct _NumberClassRec * NumberWidgetClass;
143 
144 /*****************************************************************************/
145 /* �����ѿ������(�ѥ֥�å��ʤ��)                                          */
146 /*****************************************************************************/
147 
148 extern WidgetClass numberWidgetClass;
149 
150 /*****************************************************************************/
151 /* �ؿ�                                                                      */
152 /*****************************************************************************/
153 
154 /*===========================================================================*/
155 /* ���饹�Υ᥽�åɤ����                                                    */
156 /*===========================================================================*/
157 
158 /*---------------------------------------------------------------------------*/
159 /* ����                                                                      */
160 /*---------------------------------------------------------------------------*/
161 
162 void NumberDraw(Widget w, Pixmap pixmap, XPoint center);
163 
164 /*****************************************************************************/
165 /* �����ޤ�                                                                  */
166 /*****************************************************************************/
167 
168 #endif
169 
170 /*****************************************************************************/
171 /* End of File.                                                              */
172 /*****************************************************************************/
173