comparison src/ui/mfw/mfw_edt.h @ 188:92abb46dc1ba

src/ui/mfw/*.[ch]: rm trailing white space
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 19 Jan 2021 06:10:27 +0000
parents 67bfe9f274f6
children
comparison
equal deleted inserted replaced
187:a33dd8a5dcc9 188:92abb46dc1ba
13 EXPORT : 13 EXPORT :
14 14
15 TO DO : 15 TO DO :
16 16
17 $History:: mfw_edt.h $ 17 $History:: mfw_edt.h $
18 * 18 *
19 * * ***************** Version 8 ***************** 19 * * ***************** Version 8 *****************
20 * User: MC Date: 03/10/02 Time: 14:40 20 * User: MC Date: 03/10/02 Time: 14:40
21 * Updated in $/GSM/Condat/MS/SRC/MFW 21 * Updated in $/GSM/Condat/MS/SRC/MFW
22 * Replaced most of the file with version on 3.3.3 line (MC, SPR 1242) 22 * Replaced most of the file with version on 3.3.3 line (MC, SPR 1242)
23 * 23 *
24 * ***************** Version 7 ***************** 24 * ***************** Version 7 *****************
25 * User: Es Date: 23.03.00 Time: 14:40 25 * User: Es Date: 23.03.00 Time: 14:40
26 * Updated in $/GSM/Condat/MS/SRC/MFW 26 * Updated in $/GSM/Condat/MS/SRC/MFW
27 * added edtUnhide() 27 * added edtUnhide()
28 * 28 *
29 * ***************** Version 6 ***************** 29 * ***************** Version 6 *****************
30 * User: Es Date: 18.02.00 Time: 15:45 30 * User: Es Date: 18.02.00 Time: 15:45
31 * Updated in $/GSM/Condat/MS/SRC/MFW 31 * Updated in $/GSM/Condat/MS/SRC/MFW
32 * added edit controls: ecTop, ecBottom 32 * added edit controls: ecTop, ecBottom
33 * 33 *
34 * ***************** Version 5 ***************** 34 * ***************** Version 5 *****************
35 * User: Es Date: 6.07.99 Time: 12:03 35 * User: Es Date: 6.07.99 Time: 12:03
36 * Updated in $/GSM/DEV/MS/SRC/MFW 36 * Updated in $/GSM/DEV/MS/SRC/MFW
37 * 37 *
38 * ***************** Version 4 ***************** 38 * ***************** Version 4 *****************
39 * User: Es Date: 17.02.99 Time: 20:00 39 * User: Es Date: 17.02.99 Time: 20:00
40 * Updated in $/GSM/DEV/MS/SRC/MFW 40 * Updated in $/GSM/DEV/MS/SRC/MFW
41 * 41 *
42 * ***************** Version 3 ***************** 42 * ***************** Version 3 *****************
43 * User: Es Date: 14.01.99 Time: 17:19 43 * User: Es Date: 14.01.99 Time: 17:19
44 * Updated in $/GSM/DEV/MS/SRC/MFW 44 * Updated in $/GSM/DEV/MS/SRC/MFW
45 * 45 *
46 * ***************** Version 2 ***************** 46 * ***************** Version 2 *****************
47 * User: Es Date: 23.12.98 Time: 16:19 47 * User: Es Date: 23.12.98 Time: 16:19
48 * Updated in $/GSM/DEV/MS/SRC/MFW 48 * Updated in $/GSM/DEV/MS/SRC/MFW
49 */ 49 */
50 50
69 U8 mode; /* edit modes & cursor type */ 69 U8 mode; /* edit modes & cursor type */
70 U8 *controls; /* edit control keys */ 70 U8 *controls; /* edit control keys */
71 char *text; /* edit buffer */ 71 char *text; /* edit buffer */
72 U16 size; /* buffer size */ 72 U16 size; /* buffer size */
73 char predText[MAX_PRED_TEXT]; /* GW 06/09/01 Added predicted word buffer */ 73 char predText[MAX_PRED_TEXT]; /* GW 06/09/01 Added predicted word buffer */
74 74
75 /* NM, 13.03, fast-edit 75 /* NM, 13.03, fast-edit
76 old: to handle between the two modes (digit/alpha) was done by BMI 76 old: to handle between the two modes (digit/alpha) was done by BMI
77 new: handle by MFW 77 new: handle by MFW
78 */ 78 */
79 U8 alphaMode; /* true(alpha)/false(digit) */ 79 U8 alphaMode; /* true(alpha)/false(digit) */
80 } MfwEdtAttr; 80 } MfwEdtAttr;
81 81
82 typedef struct MfwEdtTag /* EDITOR CONTROL BLOCK */ 82 typedef struct MfwEdtTag /* EDITOR CONTROL BLOCK */
83 { 83 {
84 MfwEvt mask; /* selection of events */ 84 MfwEvt mask; /* selection of events */
139 void moveRight (char *b, int s, int d); 139 void moveRight (char *b, int s, int d);
140 void moveLeft (char * str, int ofs); 140 void moveLeft (char * str, int ofs);
141 141
142 /* Unicode editor procedures. 142 /* Unicode editor procedures.
143 * SPR957 - SH - moved some prototypes here from mfw_edt.c */ 143 * SPR957 - SH - moved some prototypes here from mfw_edt.c */
144 144
145 MfwRes edtUpdateUnicode (MfwEdt *e); 145 MfwRes edtUpdateUnicode (MfwEdt *e);
146 MfwRes edtCharUnicode (MfwHnd e, int c); 146 MfwRes edtCharUnicode (MfwHnd e, int c);
147 void moveLeftUnicode(U16 *unicodeStr, int nChars); 147 void moveLeftUnicode(U16 *unicodeStr, int nChars);
148 void moveRightUnicode(U16 *unicodeStr, int nChars);/*MC*/ 148 void moveRightUnicode(U16 *unicodeStr, int nChars);/*MC*/
149 U16 strlenUnicode(U16* str);/*MC*/ 149 U16 strlenUnicode(U16* str);/*MC*/