comparison src/gui.h @ 62:4a6de0783bb5

updated for version 7.0030
author vimboss
date Tue, 04 Jan 2005 21:19:20 +0000
parents 726bdc53fa49
children 80000fb16feb
comparison
equal deleted inserted replaced
61:9e4064826a20 62:4a6de0783bb5
8 */ 8 */
9 9
10 /* For debugging */ 10 /* For debugging */
11 /* #define D(x) printf x; */ 11 /* #define D(x) printf x; */
12 #define D(x) 12 #define D(x)
13
14 #if defined(FEAT_GUI_AMIGA)
15 # include <intuition/intuition.h>
16 #endif
17 13
18 #ifdef FEAT_GUI_MOTIF 14 #ifdef FEAT_GUI_MOTIF
19 # define FEAT_GUI_X11 15 # define FEAT_GUI_X11
20 # include <Xm/Xm.h> 16 # include <Xm/Xm.h>
21 #endif 17 #endif
50 #ifdef FEAT_GUI_GTK 46 #ifdef FEAT_GUI_GTK
51 # include <X11/Intrinsic.h> 47 # include <X11/Intrinsic.h>
52 # include <gtk/gtk.h> 48 # include <gtk/gtk.h>
53 #endif 49 #endif
54 50
55 #ifdef FEAT_GUI_BEOS
56 # include "gui_beos.h"
57 #endif
58
59 #ifdef FEAT_GUI_MAC 51 #ifdef FEAT_GUI_MAC
60 # include <Types.h> 52 # include <Types.h>
61 /*# include <Memory.h>*/ 53 /*# include <Memory.h>*/
62 # include <Quickdraw.h> 54 # include <Quickdraw.h>
63 # include <Fonts.h> 55 # include <Fonts.h>
100 92
101 /* 93 /*
102 * GUIs that support dropping files on a running Vim. 94 * GUIs that support dropping files on a running Vim.
103 */ 95 */
104 #if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MAC) \ 96 #if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MAC) \
105 || defined(FEAT_GUI_BEOS) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE) 97 || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE)
106 # define HAVE_DROP_FILE 98 # define HAVE_DROP_FILE
107 #endif 99 #endif
108 100
109 /* 101 /*
110 * This define makes menus always use a fontset. 102 * This define makes menus always use a fontset.
227 HWND id; /* Id of real scroll bar */ 219 HWND id; /* Id of real scroll bar */
228 int scroll_shift; /* The scrollbar stuff can handle only up to 220 int scroll_shift; /* The scrollbar stuff can handle only up to
229 32767 lines. When the file is longer, 221 32767 lines. When the file is longer,
230 scroll_shift is set to the number of shifts 222 scroll_shift is set to the number of shifts
231 to reduce the count. */ 223 to reduce the count. */
232 #endif
233 #if FEAT_GUI_BEOS
234 VimScrollBar *id; /* Pointer to real scroll bar */
235 #endif 224 #endif
236 #ifdef FEAT_GUI_MAC 225 #ifdef FEAT_GUI_MAC
237 ControlHandle id; /* A handle to the scrollbar */ 226 ControlHandle id; /* A handle to the scrollbar */
238 #endif 227 #endif
239 #ifdef RISCOS 228 #ifdef RISCOS
474 GuiFont currFont; /* Current font */ 463 GuiFont currFont; /* Current font */
475 guicolor_T currFgColor; /* Current foreground text color */ 464 guicolor_T currFgColor; /* Current foreground text color */
476 guicolor_T currBgColor; /* Current background text color */ 465 guicolor_T currBgColor; /* Current background text color */
477 #endif 466 #endif
478 467
479 #ifdef FEAT_GUI_BEOS
480 VimApp *vimApp;
481 VimWindow *vimWindow;
482 VimFormView *vimForm;
483 VimTextAreaView *vimTextArea;
484 int vdcmp; /* Vim Direct Communication Message Port */
485 #endif
486
487 #ifdef FEAT_GUI_MAC 468 #ifdef FEAT_GUI_MAC
488 WindowPtr VimWindow; 469 WindowPtr VimWindow;
489 MenuHandle MacOSHelpMenu; /* Help menu provided by the MacOS */ 470 MenuHandle MacOSHelpMenu; /* Help menu provided by the MacOS */
490 int MacOSHelpItems; /* Nr of help-items supplied by MacOS */ 471 int MacOSHelpItems; /* Nr of help-items supplied by MacOS */
491 int MacOSHaveCntxMenu; /* Contextual menu available */ 472 int MacOSHaveCntxMenu; /* Contextual menu available */
492 WindowPtr wid; /* Window id of text area */ 473 WindowPtr wid; /* Window id of text area */
493 int visibility; /* Is window partially/fully obscured? */ 474 int visibility; /* Is window partially/fully obscured? */
494 #endif
495
496 #if defined(FEAT_GUI_AMIGA)
497 struct Window *window; /* a handle to the amiga window */
498 struct Menu *menu; /* a pointer to the first menu */
499 struct TextFont *textfont; /* a pointer to the font structure */
500 #endif 475 #endif
501 476
502 #ifdef RISCOS 477 #ifdef RISCOS
503 int window_handle; 478 int window_handle;
504 char_u *window_title; 479 char_u *window_title;