comparison src/ui.c @ 11:4424b47a0797

updated for version 7.0003
author vimboss
date Wed, 30 Jun 2004 16:16:41 +0000
parents 3fc0f57ecb91
children 125e80798a85
comparison
equal deleted inserted replaced
10:4e2284e71352 11:4424b47a0797
1509 { 1509 {
1510 return (INBUFLEN - inbufcount); 1510 return (INBUFLEN - inbufcount);
1511 } 1511 }
1512 #endif 1512 #endif
1513 1513
1514 #if defined(FEAT_GUI_GTK) || defined(PROTO) 1514 #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE) || defined(PROTO)
1515 int 1515 int
1516 vim_used_in_input_buf() 1516 vim_used_in_input_buf()
1517 { 1517 {
1518 return inbufcount; 1518 return inbufcount;
1519 } 1519 }
1591 while (len--) 1591 while (len--)
1592 inbuf[inbufcount++] = *s++; 1592 inbuf[inbufcount++] = *s++;
1593 } 1593 }
1594 #endif 1594 #endif
1595 1595
1596 #if (defined(FEAT_XIM) && defined(FEAT_GUI_GTK)) \ 1596 #if (defined(FEAT_XIM) && (defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE))) \
1597 || (defined(FEAT_MBYTE) && defined(FEAT_MBYTE_IME)) \ 1597 || (defined(FEAT_MBYTE) && defined(FEAT_MBYTE_IME)) \
1598 || defined(PROTO) 1598 || defined(PROTO)
1599 /* 1599 /*
1600 * Add "str[len]" to the input buffer while escaping CSI bytes. 1600 * Add "str[len]" to the input buffer while escaping CSI bytes.
1601 */ 1601 */
2874 } 2874 }
2875 return fp->fr_win; 2875 return fp->fr_win;
2876 } 2876 }
2877 #endif 2877 #endif
2878 2878
2879 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) || defined (FEAT_GUI_MAC) \ 2879 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) || defined (FEAT_GUI_MAC) || defined (FEAT_GUI_KDE) \
2880 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) \ 2880 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) \
2881 || defined(FEAT_GUI_PHOTON) || defined(PROTO) 2881 || defined(FEAT_GUI_PHOTON) || defined(PROTO)
2882 /* 2882 /*
2883 * Translate window coordinates to buffer position without any side effects 2883 * Translate window coordinates to buffer position without any side effects
2884 */ 2884 */