comparison src/ui3/bmi/AUITextEntry.h @ 420:e8ddbb0837ed

src/ui3: initial import of TCS3/LoCosto BMI & MFW code
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Jan 2018 03:09:00 +0000
parents
children
comparison
equal deleted inserted replaced
419:59143cd42ec7 420:e8ddbb0837ed
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