comparison include/OverConv.h @ 0:92745d501b9a

initial import from kinput2-v3.1
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 08 Mar 2010 04:44:30 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:92745d501b9a
1 /* $Id: OverConv.h,v 1.8 1999/02/04 08:59:14 ishisone Exp $ */
2 /*
3 * Copyright (c) 1990 Software Research Associates, Inc.
4 *
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation for any purpose and without fee is hereby granted, provided
7 * that the above copyright notice appear in all copies and that both that
8 * copyright notice and this permission notice appear in supporting
9 * documentation, and that the name of Software Research Associates not be
10 * used in advertising or publicity pertaining to distribution of the
11 * software without specific, written prior permission. Software Research
12 * Associates makes no representations about the suitability of this software
13 * for any purpose. It is provided "as is" without express or implied
14 * warranty.
15 *
16 * Author: Makoto Ishisone, Software Research Associates, Inc., Japan
17 */
18
19 #ifndef _OverTheSpotConversion_h
20 #define _OverTheSpotConversion_h
21
22 /* OverTheSpotConversion widget public header file */
23
24 #include "ConvCtrl.h"
25
26 #define XtNspotX "spotX"
27 #define XtNspotY "spotY"
28 #define XtNautoSpotForwarding "autoSpotForwarding"
29 #define XtCAutoSpotForwarding "AutoSpotForwarding"
30 #define XtNlineSpacing "lineSpacing"
31 #define XtCLineSpacing "LineSpacing"
32 #define XtNmodeLocation "modeLocation"
33 #define XtCModeLocation "ModeLocation"
34 #define XtNshrinkWindow "shrinkWindow"
35 #define XtCShrinkWindow "ShrinkWindow"
36 #define XtNignoreStatusAreaSpec "ignoreStatusAreaSpec"
37 #define XtCIgnoreStatusAreaSpec "IgnoreStatusAreaSpec"
38 #define XtNmodeBorderForeground "modeBorderForeground"
39 #define XtCModeBorderForeground "ModeBorderForeground"
40 #define XtNuseOverrideShellForMode "useOverrideShellForMode"
41 #define XtCUseOverrideShellForMode "UseOverrideShellForMode"
42
43 typedef enum {
44 ModeTopLeft, /* top-left of the client window */
45 ModeTopRight, /* top-right */
46 ModeBottomLeft, /* bottom-left */
47 ModeBottomRight, /* bottom-right */
48 ModeTrackText, /* tracks text-in-conversion */
49 ModeNone /* not displeyed */
50 } ModeLocation;
51
52 typedef struct _OverTheSpotConversionClassRec* OverTheSpotConversionWidgetClass;
53 typedef struct _OverTheSpotConversionRec* OverTheSpotConversionWidget;
54
55 extern WidgetClass overTheSpotConversionWidgetClass;
56
57 #endif