FreeCalypso > hg > leo2moko-debug
comparison g23m/condat/ms/src/bmi/AUIEditor_i.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /******************************************************************************* | |
2 | |
3 CONDAT (UK) | |
4 | |
5 ******************************************************************************** | |
6 | |
7 This software product is the property of Condat (UK) Ltd and may not be | |
8 disclosed to any third party without the express permission of the owner. | |
9 | |
10 ******************************************************************************** | |
11 | |
12 $Project name: Basic MMI | |
13 $Project code: BMI (6349) | |
14 $Module: MMI | |
15 $File: AUIEditor_i.h | |
16 $Revision: 1.0 | |
17 | |
18 $Author: Condat(UK) | |
19 $Date: 13/11/02 | |
20 | |
21 ******************************************************************************** | |
22 | |
23 Description: | |
24 | |
25 This is the internal header file for AUIEditor.c - that is, this header file should | |
26 only be included by MmiEmsEditor.c. The wider-purpose header file is | |
27 AUIEditor.h. | |
28 | |
29 ******************************************************************************** | |
30 $History: AUIEditor_i.h | |
31 | |
32 13/11/02 Original Condat(UK) BMI version. | |
33 | |
34 $End | |
35 | |
36 *******************************************************************************/ | |
37 | |
38 | |
39 | |
40 | |
41 /******************************************************************************* | |
42 | |
43 Type definitions | |
44 | |
45 *******************************************************************************/ | |
46 | |
47 #ifndef MMI_AUI_EDITOR_I_H | |
48 #define MMI_AUI_EDITOR_I_H | |
49 | |
50 /* | |
51 * Internal structure | |
52 */ | |
53 | |
54 typedef struct | |
55 { | |
56 T_MMI_CONTROL mmi_control; | |
57 T_MFW_HND parent; /* The parent window */ | |
58 T_MFW_HND win; /* The edit window */ | |
59 T_MFW_HND kbd; /* The keyboard handler */ | |
60 T_MFW_HND kbd_long; /* The longpress keyboard handler */ | |
61 T_MFW_HND timer; /* The timer for timeouts */ | |
62 T_MFW_HND title_timer; /* Timer used for scrolling title */ | |
63 USHORT title_pos; /* Start position to display title text */ | |
64 USHORT title_next_pos; /* The next position to display the title text */ | |
65 | |
66 T_ED_DATA *editor; /* The ATB editor */ | |
67 T_AUI_EDITOR_DATA editor_data; /* The MMI Editor data */ | |
68 T_AUI_ENTRY_DATA *entry_data; /* Key entry data */ | |
69 | |
70 T_ATB_TEXT title; /* Title of editor */ | |
71 BOOL hasTitle; /* TRUE if title is provided */ | |
72 | |
73 BOOL doNextLongPress; /* Flag used to notice/not notice long keypress */ | |
74 | |
75 T_ATB_TEXT predText; /* Predicted word buffer */ | |
76 T_ED_CHAR predTextChar; /* Current character */ | |
77 | |
78 char *displayBuffer; /* SPR#2672 - SH - Pointer to display buffer */ | |
79 } | |
80 T_AUI_EDITOR_INFO; | |
81 | |
82 /******************************************************************************* | |
83 | |
84 Internally used functions | |
85 | |
86 *******************************************************************************/ | |
87 | |
88 static T_MFW_HND AUI_edit_Create(T_MFW_HND parent, T_AUI_EDITOR_DATA *editor_data); | |
89 static void AUI_edit_Init(T_MFW_HND window); | |
90 static void AUI_edit_ExecCb(T_MFW_HND win, USHORT event, USHORT value, void *parameter); | |
91 static int AUI_edit_WinCb(T_MFW_EVENT event, T_MFW_WIN *win); | |
92 static int AUI_edit_KbdCb(T_MFW_EVENT event, T_MFW_KBD *keyboard); | |
93 static int AUI_edit_KbdLongCb(T_MFW_EVENT event, T_MFW_KBD *keyboard); | |
94 static int AUI_edit_TimerCb (T_MFW_EVENT event, T_MFW_TIM *timer); | |
95 static int AUI_edit_TitleTimerCb (T_MFW_EVENT event, T_MFW_TIM *timer); | |
96 static void AUI_edit_CalcPredText(T_AUI_EDITOR_INFO *data); | |
97 #endif | |
98 |