1 /* 2 * $Id: func.h,v 1.2 2001/06/14 18:16:11 ura Exp $ 3 */ 4 5 /* 6 * FreeWnn is a network-extensible Kana-to-Kanji conversion system. 7 * This file is part of FreeWnn. 8 * 9 * Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999 10 * 11 * Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp> 12 * 13 * This program is free software; you can redistribute it and/or modify 14 * it under the terms of the GNU General Public License as published by 15 * the Free Software Foundation; either version 2, or (at your option) 16 * any later version. 17 * 18 * This program is distributed in the hope that it will be useful, 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 * GNU General Public License for more details. 22 * 23 * You should have received a copy of the GNU General Public License 24 * along with GNU Emacs; see the file COPYING. If not, write to the 25 * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 26 * 27 * Commentary: 28 * 29 * Change log: 30 * 31 * Last modified date: 8,Feb.1999 32 * 33 * Code: 34 * 35 */ 36 37 /* using functions on xresource.c */ 38 void createxres (); /* CREATE X RESources */ 39 void mktwin (); /* MaKe Test WINdow */ 40 void mkmwin (); /* MaKe Menu WINdow */ 41 void mapwin (); /* MAP WINdow */ 42 void dstrwin (); /* Draw STRing on WINdow */ 43 void cwcolor (); /* Change Window COLOR */ 44 void freexres (); /* FREE X RESources */ 45 46 /* using function on chkim.c */ 47 XIM openim (); /* check of XOpenIM */ 48 void closeim (); /* CLOSE IM */ 49 void fclim (); /* log File CLose for IM */ 50 51 /* using functions on chkic.c */ 52 XIC createic (); /* check of XCreateIC */ 53 XIC onmust (); /* for ON-the-spot mode (MUST) */ 54 XIC onmay (); /* for ON-the-spot mode (MAY) */ 55 XIC overmust (); /* for OVER-the-spot mode (MUST) */ 56 XIC overmay (); /* for OVER-the-spot mode (MAY) */ 57 XIC offmust (); /* for OFF-the-spot mode (MUST) */ 58 XIC offmay (); /* for OFF-the-spot mode (MAY) */ 59 XIC rootmust (); /* for ROOT-window mode (MUST) */ 60 XIC rootmay (); /* for ROOT-window mode (MAY) */ 61 void destic (); /* DESTroy IC */ 62 void fclic (); /* log File Close for IC */ 63 64 /* using function on chkutil.c */ 65 void chkutil (); /* CHecK UTILity functions */ 66 67 /* using function on keyev.c */ 68 FLAG keyev (); /* transaction of KEY EVent */ 69 70 /* using function on chkfe.c */ 71 FLAG fltev (); /* check of FiLTer EVent */ 72 73 /* using function on chkxls.c */ 74 void xlstr (); /* check of X*LookupSTRing */ 75 76 /* using functions on chkcset.c */ 77 FLAG xsuicf (); /* check of XSet/UnsetICFocus */ 78 FLAG sfocus (); /* Set FOCUS window */ 79 FLAG sresource (); /* Set RESOURCE name/class */ 80 81 /* using functions on chkpsset.c */ 82 FLAG sarea (); /* Set AREA */ 83 FLAG sneeded (); /* Set area-NEEDED */ 84 FLAG sspot (); /* Set SPOTlocation */ 85 FLAG scmap (); /* Set ColorMAP */ 86 FLAG sground (); /* Set fore/backGROUND */ 87 FLAG spixmap (); /* Set bg/PIXMAP */ 88 FLAG sfontset (); /* Set FONTSET */ 89 FLAG slinespc (); /* Set LINESPaCing */ 90 FLAG scursor (); /* Set CURSOR */ 91 92 /* using function on callback.c */ 93 void geometry (); 94 int pe_start (); 95 void pe_done (); 96 void pe_draw (); 97 void pe_caret (); 98 void st_start (); 99 void st_done (); 100 void st_draw (); 101 void wlogcb (); 102 void wlogtext (); 103 void chgcaretval (); 104 int trnpebuf (); 105 106 /* using function on chkreset.c */ 107 FLAG preset (); /* Preedit area RESET */ 108 109 /* using function on final.c */ 110 void dtictoex (); /* DesTroy IC TO EXit */ 111 void dticonly (); /* DesTroy IC ONLY */ 112 void dtictofc (); /* DesTroy IC TO File Close */ 113 void fcictoex (); /* log File Close for IC TO EXit */ 114 void climtoex (); /* CLose IM TO EXit */ 115 void fcimtoex (); /* log File Close for IM TO EXit */ 116 117 /* using functions on curses.c */ 118 void initmwin (); /* INITialization of Main WINdow */ 119 void prtitle (); /* PRint TITLE */ 120 u_short psmenu (); /* Print and Selest main MENU */ 121 void prprint (); /* PRint string on PRINT part */ 122 void prerrfunc (); /* PRint ERRor message for FUNCtion */ 123 void prerrld (); /* PRe-ERRor for Log file Directory */ 124 void prveres (); /* PRint VErify RESult */ 125 void prverlog (); /* PRint VErify result for LOG file */ 126 void prtorm (); /* PRint string of Title OR Menu on print part */ 127 void prmode (); /* PRint string on MODE part */ 128 int outchar (); /* OUTput CHARacter */ 129 void prstatus (); /* PRint string on STATUS part */ 130 void prpok (); /* PRint Prompt for OK */ 131 void prpng (); /* PRint Prompt for No Good */ 132 void cls (); /* CLear Screen */ 133 void freemwin (); /* FREE Main WINdow */ 134 void prcaret (); /* PRint caret */ 135 136 /* using functions on funcv.c */ 137 VALUABLE *mkstruct (); /* MaKe STRUCT valuable */ 138 FLAG verval (); /* VERify VALuable */ 139