Mercurial > vim
comparison src/gui.h @ 2823:8bd38abda314 v7.3.187
updated for version 7.3.187
Problem: The RISC OS port has obvious errors and is not being maintained.
Solution: Remove the RISC OS files and code.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 10 May 2011 16:41:25 +0200 |
parents | ea4bf6df1a8a |
children | 7653420fdc45 |
comparison
equal
deleted
inserted
replaced
2822:7b62cd406330 | 2823:8bd38abda314 |
---|---|
48 # include <Dialogs.h> | 48 # include <Dialogs.h> |
49 # include <OSUtils.h> | 49 # include <OSUtils.h> |
50 /* | 50 /* |
51 # include <ToolUtils.h> | 51 # include <ToolUtils.h> |
52 # include <SegLoad.h>*/ | 52 # include <SegLoad.h>*/ |
53 #endif | |
54 | |
55 #ifdef RISCOS | |
56 # include "gui_riscos.h" | |
57 #endif | 53 #endif |
58 | 54 |
59 #ifdef FEAT_GUI_PHOTON | 55 #ifdef FEAT_GUI_PHOTON |
60 # include <Ph.h> | 56 # include <Ph.h> |
61 # include <Pt.h> | 57 # include <Pt.h> |
149 /* Flags for gui_mch_draw_string() */ | 145 /* Flags for gui_mch_draw_string() */ |
150 #define DRAW_TRANSP 0x01 /* draw with transparent bg */ | 146 #define DRAW_TRANSP 0x01 /* draw with transparent bg */ |
151 #define DRAW_BOLD 0x02 /* draw bold text */ | 147 #define DRAW_BOLD 0x02 /* draw bold text */ |
152 #define DRAW_UNDERL 0x04 /* draw underline text */ | 148 #define DRAW_UNDERL 0x04 /* draw underline text */ |
153 #define DRAW_UNDERC 0x08 /* draw undercurl text */ | 149 #define DRAW_UNDERC 0x08 /* draw undercurl text */ |
154 #if defined(RISCOS) || defined(FEAT_GUI_GTK) | 150 #if defined(FEAT_GUI_GTK) |
155 # define DRAW_ITALIC 0x10 /* draw italic text */ | 151 # define DRAW_ITALIC 0x10 /* draw italic text */ |
156 #endif | 152 #endif |
157 #define DRAW_CURSOR 0x20 /* drawing block cursor (win32) */ | 153 #define DRAW_CURSOR 0x20 /* drawing block cursor (win32) */ |
158 | 154 |
159 /* For our own tearoff menu item */ | 155 /* For our own tearoff menu item */ |
216 scroll_shift is set to the number of shifts | 212 scroll_shift is set to the number of shifts |
217 to reduce the count. */ | 213 to reduce the count. */ |
218 #endif | 214 #endif |
219 #ifdef FEAT_GUI_MAC | 215 #ifdef FEAT_GUI_MAC |
220 ControlHandle id; /* A handle to the scrollbar */ | 216 ControlHandle id; /* A handle to the scrollbar */ |
221 #endif | |
222 #ifdef RISCOS | |
223 int id; /* Window handle of scrollbar window */ | |
224 #endif | 217 #endif |
225 #ifdef FEAT_GUI_PHOTON | 218 #ifdef FEAT_GUI_PHOTON |
226 PtWidget_t *id; | 219 PtWidget_t *id; |
227 #endif | 220 #endif |
228 } scrollbar_T; | 221 } scrollbar_T; |
448 int MacOSHelpItems; /* Nr of help-items supplied by MacOS */ | 441 int MacOSHelpItems; /* Nr of help-items supplied by MacOS */ |
449 WindowPtr wid; /* Window id of text area */ | 442 WindowPtr wid; /* Window id of text area */ |
450 int visibility; /* Is window partially/fully obscured? */ | 443 int visibility; /* Is window partially/fully obscured? */ |
451 #endif | 444 #endif |
452 | 445 |
453 #ifdef RISCOS | |
454 int window_handle; | |
455 char_u *window_title; | |
456 int window_title_size; | |
457 int fg_colour; /* in 0xBBGGRR format */ | |
458 int bg_colour; | |
459 #endif | |
460 | |
461 #ifdef FEAT_GUI_PHOTON | 446 #ifdef FEAT_GUI_PHOTON |
462 PtWidget_t *vimWindow; /* PtWindow */ | 447 PtWidget_t *vimWindow; /* PtWindow */ |
463 PtWidget_t *vimTextArea; /* PtRaw */ | 448 PtWidget_t *vimTextArea; /* PtRaw */ |
464 PtWidget_t *vimContainer; /* PtPanel */ | 449 PtWidget_t *vimContainer; /* PtPanel */ |
465 # if defined(FEAT_MENU) || defined(FEAT_TOOLBAR) | 450 # if defined(FEAT_MENU) || defined(FEAT_TOOLBAR) |