2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
24 * $XConsortium: TermPrimFunction.h /main/1 1996/04/21 19:17:30 drk $";
27 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
28 * (c) Copyright 1993, 1994 International Business Machines Corp. *
29 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
30 * (c) Copyright 1993, 1994 Novell, Inc. *
32 #ifndef _Dt_TermPrimFunction_h
33 #define _Dt_TermPrimFunction_h
43 typedef void (*TermFunction) (Widget w, int count,
44 FunctionSource functionSource);
46 extern void _DtTermPrimFuncLF(Widget w, int count,
47 FunctionSource functionSource);
48 extern void _DtTermPrimFuncBackspace(Widget w, int count,
49 FunctionSource functionSource);
50 extern void _DtTermPrimFuncCR(Widget w, int count,
51 FunctionSource functionSource);
53 extern void _DtTermPrimFuncNextLine(Widget w, int count,
54 FunctionSource functionSource);
55 extern void _DtTermPrimFuncPreviousLine(Widget w, int count,
56 FunctionSource functionSource);
57 extern void _DtTermPrimFuncBackwardCharacter(Widget w, int count,
58 FunctionSource functionSource);
59 extern void _DtTermPrimFuncForwardCharacter(Widget w, int count,
60 FunctionSource functionSource);
62 extern void _DtTermPrimFuncTab(Widget w, int count,
63 FunctionSource functionSource);
65 extern void _DtTermPrimFuncTabSet(Widget w, int count,
66 FunctionSource functionSource);
67 extern void _DtTermPrimFuncTabClear(Widget w, int count,
68 FunctionSource functionSource);
69 extern void _DtTermPrimFuncTabClearAll(Widget w, int count,
70 FunctionSource functionSource);
72 extern void _DtTermPrimFuncMarginSetLeft(Widget w, int count,
73 FunctionSource functionSource);
74 extern void _DtTermPrimFuncMarginSetRight(Widget w, int count,
75 FunctionSource functionSource);
76 extern void _DtTermPrimFuncMarginClear(Widget w, int count,
77 FunctionSource functionSource);
79 extern void _DtTermPrimFuncRedrawDisplay(Widget w, int count,
80 FunctionSource functionSource);
81 #endif /* _Dt_TermPrimFunction_h */
82 /* DON'T ADD ANYTHING AFTER THIS #endif... */