comparison src/ui/bmi/AUITextEntry.h @ 3:67bfe9f274f6

src/ui: import of src/ui3 from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:33:10 +0000
parents
children c0052fe355d3
comparison
equal deleted inserted replaced
2:3a14ee9a9843 3:67bfe9f274f6
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