1 // This file is part of e93. 2 // 3 // e93 is free software; you can redistribute it and/or modify 4 // it under the terms of the e93 LICENSE AGREEMENT. 5 // 6 // e93 is distributed in the hope that it will be useful, 7 // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 9 // e93 LICENSE AGREEMENT for more details. 10 // 11 // You should have received a copy of the e93 LICENSE AGREEMENT 12 // along with e93; see the file "LICENSE.TXT". 13 14 15 int XErrorEventHandler(Display *display,XErrorEvent *event); 16 int ComposeXLookupString(XKeyEvent *event_struct,char *buffer_return,int bytes_buffer,KeySym *keysym_return); 17 bool KeyEventToEditorKey(XEvent *event,EDITOR_KEY *keyData); 18 bool EditorKeyNameToKeyCode(const char *name,UINT32 *code); 19 char *EditorKeyCodeToKeyName(UINT32 code); 20 void XStateToEditorModifiers(unsigned int state,UINT32 numClicks,UINT32 *editorModifiers); 21 bool EditorGetKeyPress(UINT32 *keyCode,UINT32 *editorModifiers,bool wait,bool clearBuffered); 22 void ResetMultipleClicks(); 23 UINT32 HandleMultipleClicks(XEvent *event); 24 bool StillDown(unsigned int button,UINT32 numTicks); 25 void UpdateEditorWindows(); 26 void ResetCursorBlinkTime(); 27 void WaitTicks(UINT32 numTicks); 28 void AlarmIntervalProc(int unused); 29 void StartAlarmTimer(); 30 void EditorQuit(); 31 void EditorDoBackground(); 32 void EditorEventLoop(int argc,char *argv[]); 33 void DialogEventLoop(EDITOR_WINDOW *dialog,bool *dialogComplete); 34 void ClearAbort(); 35 bool CheckAbort(); 36 void UnInitEvents(); 37 bool InitEvents(); 38