comparison g23m/condat/ms/src/bmi/AUITextEntry.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 #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