gitkreventloop.h

Go to the documentation of this file.
00001 
00012 #ifndef GITKR_EVENTLOOP_H
00013 #define GITKR_EVENTLOOP_H
00014 
00015 //#undef KEY_BACKSPACE
00016 
00018 //#define KEY_BACKSPACE 0x08
00019 //#define KEY_BACKSPACE 0x107
00021 #define KEY_TAB 0x09
00022 
00023 //#define KEY_RETURN 0x0D
00025 //#define KEY_ENTER 0x0A
00027 #define KEY_ESCAPE 0x1B
00028 
00029 //-- aliases
00031 #define KEY_F1 0x109 /*KEY_F(1)*/
00032 
00033 #define KEY_F2 0x10a /*KEY_F(2)*/
00034 
00035 #define KEY_F10 0x112 /*KEY_F(0)*/
00036 
00037 //#define KEY_DEL KEY_DC
00038 #define KEY_DEL 0x07f
00039 
00040 #define KEY_INS KEY_IC
00041 
00045 #define KEYSEQ_2BYTES 0x04f
00046 
00049 #define KEYSEQ_3BYTES 0x05b
00050 
00054 #define KEYCODE_TO_ASCII(code) ((code>31 && code<256)?(char)code:'.')
00055 
00056 #ifdef GITKR_EVENTLOOP_C
00057 void next_page(GitkrPhoneLayoutPtr layout);
00058 void prev_page(GitkrPhoneLayoutPtr layout);
00059 void handle_dialog_main_widgets(GitkrPhoneLayoutPtr layout);
00060 void handle_dialog_ctrl_widgets(GitkrPhoneLayoutPtr layout);
00061 void gitkr_welcome_help();
00062 
00063 //void sighandler_on_sigint();
00064 //void sighandler_on_sigwinch();
00065 #else
00066 #ifdef GITK_RENDERER_C
00067 
00068 #endif
00069 #endif
00070 
00071 #endif /* GITKR_EVENTLOOP_H */

Generated on Thu Oct 28 10:59:10 2004 for gitk by doxygen 1.3.6