FreeCalypso > hg > fc-magnetite
comparison src/aci2/bmi/AUITextEntry.h @ 3:93999a60b835
src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 26 Sep 2016 00:29:36 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:c41a534f33c6 | 3:93999a60b835 |
---|---|
1 #ifndef AUITEXTENTRY_H | |
2 #define AUITEXTENTRY_H | |
3 | |
4 /* Key entry information*/ | |
5 | |
6 typedef struct | |
7 { | |
8 T_MFW_HND win; /* The editor window */ | |
9 U32 update; /* Event to be sent to the window to update it */ | |
10 T_ED_DATA *editor; /* Pointer to editor data */ | |
11 UBYTE Level; /* Alpha level selected */ | |
12 UBYTE Key; /* Alpha mode current key */ | |
13 T_MFW_HND editTim; /* The timer for multi-tap */ | |
14 } | |
15 T_AUI_ENTRY_DATA; | |
16 | |
17 | |
18 T_AUI_ENTRY_DATA *AUI_entry_Create(T_MFW_HND win, T_ED_DATA *editor, U32 update); | |
19 void AUI_entry_Destroy(T_AUI_ENTRY_DATA *entry_data); | |
20 USHORT AUI_entry_EditChar (T_AUI_ENTRY_DATA *entry_data, USHORT alphachar, BOOL multitap); | |
21 USHORT AUI_entry_EditDigit (T_AUI_ENTRY_DATA *entry_data, UBYTE code); | |
22 USHORT AUI_entry_EventKey (T_AUI_ENTRY_DATA *entry_data, MfwEvt event, MfwKbd *key); | |
23 USHORT AUI_entry_GetKeyChar(T_AUI_ENTRY_DATA *entry_data, T_ED_CASE_PREF casePref); | |
24 void AUI_entry_StopMultitap(T_AUI_ENTRY_DATA *entry_data); | |
25 #endif |