comparison src/feature.h @ 11:4424b47a0797

updated for version 7.0003
author vimboss
date Wed, 30 Jun 2004 16:16:41 +0000
parents 3fc0f57ecb91
children bdeee1504ac1
comparison
equal deleted inserted replaced
10:4e2284e71352 11:4424b47a0797
687 /* 687 /*
688 * +toolbar Include code for a toolbar (for the Win32 GUI, GTK 688 * +toolbar Include code for a toolbar (for the Win32 GUI, GTK
689 * always has it). But only if menus are enabled. 689 * always has it). But only if menus are enabled.
690 */ 690 */
691 #if defined(FEAT_NORMAL) && defined(FEAT_MENU) \ 691 #if defined(FEAT_NORMAL) && defined(FEAT_MENU) \
692 && (defined(FEAT_GUI_GTK) \ 692 && (defined(FEAT_GUI_KDE) \
693 || defined(FEAT_GUI_GTK) \
693 || defined(FEAT_GUI_MSWIN) \ 694 || defined(FEAT_GUI_MSWIN) \
694 || ((defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA)) \ 695 || ((defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA)) \
695 && defined(HAVE_XPM)) \ 696 && defined(HAVE_XPM)) \
696 || defined(FEAT_GUI_PHOTON)) 697 || defined(FEAT_GUI_PHOTON))
697 # define FEAT_TOOLBAR 698 # define FEAT_TOOLBAR
698 #endif 699 #endif
700
701
699 #if defined(FEAT_TOOLBAR) && !defined(FEAT_MENU) 702 #if defined(FEAT_TOOLBAR) && !defined(FEAT_MENU)
700 # define FEAT_MENU 703 # define FEAT_MENU
701 #endif 704 #endif
702 705
703 /* 706 /*
704 * +browse ":browse" command. 707 * +browse ":browse" command.
705 * 708 *
706 * BROWSE_CURRBUF Open file browser in the directory of the current 709 * BROWSE_CURRBUF Open file browser in the directory of the current
707 * buffer, instead of the current directory. 710 * buffer, instead of the current directory.
708 */ 711 */
709 #if defined(FEAT_NORMAL) && (defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC)) 712 #if defined(FEAT_NORMAL) && (defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_KDE) || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC))
710 # define FEAT_BROWSE 713 # define FEAT_BROWSE
711 #endif 714 #endif
712 #if defined(FEAT_NORMAL) && defined(FEAT_GUI_MSWIN) 715 #if defined(FEAT_NORMAL) && defined(FEAT_GUI_MSWIN)
713 # define BROWSE_CURRBUF 716 # define BROWSE_CURRBUF
714 #endif 717 #endif
722 # if ((defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MOTIF)) \ 725 # if ((defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MOTIF)) \
723 && defined(HAVE_X11_XPM_H)) \ 726 && defined(HAVE_X11_XPM_H)) \
724 || defined(FEAT_GUI_GTK) \ 727 || defined(FEAT_GUI_GTK) \
725 || defined(FEAT_GUI_PHOTON) \ 728 || defined(FEAT_GUI_PHOTON) \
726 || defined(FEAT_GUI_MSWIN) \ 729 || defined(FEAT_GUI_MSWIN) \
727 || defined(FEAT_GUI_MAC) 730 || defined(FEAT_GUI_MAC) \
731 || defined(FEAT_GUI_KDE)
728 # define FEAT_CON_DIALOG 732 # define FEAT_CON_DIALOG
729 # define FEAT_GUI_DIALOG 733 # define FEAT_GUI_DIALOG
730 # else 734 # else
731 # define FEAT_CON_DIALOG 735 # define FEAT_CON_DIALOG
732 # endif 736 # endif
733 #endif 737 #endif
734 #if !defined(FEAT_GUI_DIALOG) && (defined(FEAT_GUI_MOTIF) \ 738 #if !defined(FEAT_GUI_DIALOG) && (defined(FEAT_GUI_MOTIF) \
735 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK)) 739 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE))
736 /* need a dialog to show error messages when starting from the desktop */ 740 /* need a dialog to show error messages when starting from the desktop */
737 # define FEAT_GUI_DIALOG 741 # define FEAT_GUI_DIALOG
738 #endif 742 #endif
739 #if defined(FEAT_GUI_DIALOG) && \ 743 #if defined(FEAT_GUI_DIALOG) && \
740 (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) \ 744 (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) \
741 || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN) \ 745 || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE)|| defined(FEAT_GUI_MSWIN) \
742 || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC)) 746 || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC))
743 # define FEAT_GUI_TEXTDIALOG 747 # define FEAT_GUI_TEXTDIALOG
744 #endif 748 #endif
745 749
746 /* Mac specific thing: Codewarrior interface. */ 750 /* Mac specific thing: Codewarrior interface. */
929 933
930 /* 934 /*
931 * +X11 Unix only. Include code for xterm title saving and X 935 * +X11 Unix only. Include code for xterm title saving and X
932 * clipboard. Only works if HAVE_X11 is also defined. 936 * clipboard. Only works if HAVE_X11 is also defined.
933 */ 937 */
934 #if defined(FEAT_NORMAL) || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) 938 #if (defined(FEAT_NORMAL) || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA))
935 # define WANT_X11 939 # define WANT_X11
936 #endif 940 #endif
937 941
938 /* 942 /*
939 * XSMP - X11 Session Management Protocol 943 * XSMP - X11 Session Management Protocol
1055 /* MS-DOS console and Win32 console can change cursor shape */ 1059 /* MS-DOS console and Win32 console can change cursor shape */
1056 # if defined(MSDOS) || (defined(WIN3264) && !defined(FEAT_GUI_W32)) 1060 # if defined(MSDOS) || (defined(WIN3264) && !defined(FEAT_GUI_W32))
1057 # define MCH_CURSOR_SHAPE 1061 # define MCH_CURSOR_SHAPE
1058 # endif 1062 # endif
1059 # if defined(FEAT_GUI_W32) || defined(FEAT_GUI_W16) || defined(FEAT_GUI_MOTIF) \ 1063 # if defined(FEAT_GUI_W32) || defined(FEAT_GUI_W16) || defined(FEAT_GUI_MOTIF) \
1060 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK) \ 1064 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE)\
1061 || defined(FEAT_GUI_PHOTON) 1065 || defined(FEAT_GUI_PHOTON)
1062 # define FEAT_MOUSESHAPE 1066 # define FEAT_MOUSESHAPE
1063 # endif 1067 # endif
1064 #endif 1068 #endif
1065 1069