summaryrefslogtreecommitdiff
path: root/Clock.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:47 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:47 +0000
commite87aea23d80c4519a1e2ab97582cfdce6729dbdb (patch)
tree425895187659ae880f42110fcc9f404ba6200cba /Clock.h
parent7fa20e0899cf53cbb6d386d0688127df8b6fb0c7 (diff)
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'Clock.h')
-rw-r--r--Clock.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/Clock.h b/Clock.h
index a244370..b209994 100644
--- a/Clock.h
+++ b/Clock.h
@@ -49,6 +49,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
******************************************************************/
+/* $XFree86: xc/programs/xclock/Clock.h,v 1.12 2002/10/21 13:33:07 alanh Exp $ */
#ifndef _XawClock_h
#define _XawClock_h
@@ -65,6 +66,7 @@ SOFTWARE.
Name Class RepType Default Value
---- ----- ------- -------------
+ twentyfour Boolean Boolean True
analog Boolean Boolean True
background Background Pixel white
backingStore BackingStore BackingStore default
@@ -79,6 +81,7 @@ SOFTWARE.
highlight Foreground Pixel black
mappedWhenManaged MappedWhenManaged Boolean True
padding Margin int 8
+ utime Boolean Boolean False
update Interval int 60 (seconds)
width Width Dimension 164
x Position Position 0
@@ -92,15 +95,51 @@ SOFTWARE.
#define XtNhand "hands"
+ /* Boolean: 24-hour if TRUE */
+#define XtNtwentyfour "twentyfour"
+
/* Boolean: digital if FALSE */
#define XtNanalog "analog"
+ /* Boolean: only hour/minute if TRUE */
+#define XtNbrief "brief"
+
+ /* String: will be used as format arg to
+ "strftime" if not empty string */
+#define XtNstrftime "strftime"
+
+ /* Boolean: show seconds since Epoch if TRUE */
+#define XtNutime "utime"
+
/* Boolean: */
#define XtNchime "chime"
/* Int: amount of space around outside of clock */
#define XtNpadding "padding"
+ /* Boolean: use Render extension if TRUE */
+#define XtNrender "render"
+
+ /* Boolean: use backing pixmap for double buffering */
+#define XtNbuffer "buffer"
+
+ /* RenderColor: colors for various clock elements */
+#define XtNhourColor "hourColor"
+#define XtNminuteColor "minuteColor"
+#define XtNsecondColor "secondColor"
+#define XtNmajorColor "majorColor"
+#define XtNminorColor "minorColor"
+
+#define XtRXftColor "XftColor"
+
+#define XtNface "face"
+#define XtCFace "Face"
+#define XtRXftFont "XftFont"
+
+ /* Boolean: use sharp rendering for Render polygons */
+#define XtNsharp "sharp"
+#define XtCSharp "Sharp"
+
typedef struct _ClockRec *ClockWidget; /* completely defined in ClockPrivate.h */
typedef struct _ClockClassRec *ClockWidgetClass; /* completely defined in ClockPrivate.h */