Add full-screen options
[MacVim.git] / src / proto / gui_macvim.pro
blobb720013bd51da59bf63ff78fc84a7bc14c17966a
2 void
3 gui_mch_prepare(int *argc, char **argv);
4 int
5 gui_mch_init_check(void);
6 int
7 gui_mch_init(void);
8 void
9 gui_mch_exit(int rc);
10 int
11 gui_mch_open(void);
12 void
13 gui_mch_update(void);
14 void
15 gui_mch_flush(void);
16 void
17 gui_macvim_force_flush(void);
18 int
19 gui_mch_wait_for_chars(int wtime);
20 void
21 gui_mch_clear_all(void);
22 void
23 gui_mch_clear_block(int row1, int col1, int row2, int col2);
24 void
25 gui_mch_delete_lines(int row, int num_lines);
26 void
27 gui_mch_draw_string(int row, int col, char_u *s, int len, int flags);
28 int
29 gui_macvim_draw_string(int row, int col, char_u *s, int len, int flags);
30 void
31 gui_mch_insert_lines(int row, int num_lines);
32 void
33 gui_mch_set_curtab(int nr);
34 int
35 gui_mch_showing_tabline(void);
36 void
37 gui_mch_update_tabline(void);
38 void
39 gui_mch_show_tabline(int showit);
40 void
41 clip_mch_lose_selection(VimClipboard *cbd);
42 int
43 clip_mch_own_selection(VimClipboard *cbd);
44 void
45 clip_mch_request_selection(VimClipboard *cbd);
46 void
47 clip_mch_set_selection(VimClipboard *cbd);
48 void
49 gui_mch_add_menu(vimmenu_T *menu, int idx);
50 void
51 gui_mch_add_menu_item(vimmenu_T *menu, int idx);
52 void
53 gui_mch_destroy_menu(vimmenu_T *menu);
54 void
55 gui_mch_menu_grey(vimmenu_T *menu, int grey);
56 void
57 gui_mch_menu_hidden(vimmenu_T *menu, int hidden);
58 void
59 gui_mch_show_popupmenu(vimmenu_T *menu);
60 void
61 gui_mch_draw_menubar(void);
62 void
63 gui_mch_enable_menu(int flag);
64 void
65 gui_mch_show_toolbar(int showit);
66 void
67 gui_mch_free_font(GuiFont font);
68 GuiFont
69 gui_mch_get_font(char_u *name, int giveErrorIfMissing);
70 char_u *
71 gui_mch_get_fontname(GuiFont font, char_u *name);
72 int
73 gui_mch_init_font(char_u *font_name, int fontset);
74 void
75 gui_mch_set_font(GuiFont font);
76 int
77 gui_mch_adjust_charheight(void);
78 void
79 gui_mch_beep(void);
80 char_u *
81 gui_mch_browse(
82 int saving,
83 char_u *title,
84 char_u *dflt,
85 char_u *ext,
86 char_u *initdir,
87 char_u *filter);
88 void
89 gui_mch_create_scrollbar(
90 scrollbar_T *sb,
91 int orient);
92 void
93 gui_mch_destroy_scrollbar(scrollbar_T *sb);
94 int
95 gui_mch_dialog(
96 int type,
97 char_u *title,
98 char_u *message,
99 char_u *buttons,
100 int dfltbutton,
101 char_u *textfield);
102 void
103 gui_mch_draw_hollow_cursor(guicolor_T color);
104 void
105 gui_mch_draw_part_cursor(int w, int h, guicolor_T color);
106 void
107 gui_mch_enable_scrollbar(
108 scrollbar_T *sb,
109 int flag);
110 void
111 gui_mch_flash(int msec);
112 guicolor_T
113 gui_mch_get_color(char_u *name);
114 long_u
115 gui_mch_get_rgb(guicolor_T pixel);
116 void
117 gui_mch_get_screen_dimensions(int *screen_w, int *screen_h);
119 gui_mch_get_winpos(int *x, int *y);
120 void
121 gui_mch_getmouse(int *x, int *y);
123 gui_mch_haskey(char_u *name);
124 void
125 gui_mch_iconify(void);
126 void
127 gui_mch_invert_rectangle(int r, int c, int nr, int nc);
128 void
129 gui_mch_new_colors(void);
130 void
131 gui_mch_set_bg_color(guicolor_T color);
132 void
133 gui_mch_set_blinking(long wait, long on, long off);
134 void
135 gui_mch_set_fg_color(guicolor_T color);
136 void
137 gui_mch_set_foreground(void);
138 void
139 gui_mch_set_scrollbar_pos(
140 scrollbar_T *sb,
141 int x,
142 int y,
143 int w,
144 int h);
145 void
146 gui_mch_set_scrollbar_thumb(
147 scrollbar_T *sb,
148 long val,
149 long size,
150 long max);
151 void
152 gui_mch_set_shellsize(
153 int width,
154 int height,
155 int min_width,
156 int min_height,
157 int base_width,
158 int base_height,
159 int direction);
160 void
161 gui_mch_set_sp_color(guicolor_T color);
162 void
163 gui_mch_set_text_area_pos(int x, int y, int w, int h);
164 void
165 gui_mch_set_winpos(int x, int y);
166 void
167 gui_mch_setmouse(int x, int y);
168 void
169 gui_mch_settitle(char_u *title, char_u *icon);
170 void
171 gui_mch_start_blink(void);
172 void
173 gui_mch_stop_blink(void);
174 void
175 gui_mch_toggle_tearoffs(int enable);
176 void
177 mch_set_mouse_shape(int shape);
178 void
179 gui_mch_def_colors();
180 void
181 ex_macaction(exarg_T *eap);
182 void
183 gui_make_popup(char_u *path_name, int mouse_pos);
185 void serverRegisterName(char_u *name);
186 int serverSendToVim(char_u *name, char_u *cmd, char_u **result, int *server, int asExpr, int silent);
187 char_u *serverGetVimNames(void);
188 int serverStrToPort(char_u *str);
189 int serverPeekReply(int port, char_u **str);
190 int serverReadReply(int port, char_u **str);
191 int serverSendReply(char_u *serverid, char_u *str);
193 void gui_mch_enter_fullscreen(int fuoptions_flags);
194 void gui_mch_leave_fullscreen(void);
196 void gui_macvim_update_modified_flag();
197 void gui_macvim_add_to_find_pboard(char_u *pat);
198 void gui_macvim_set_antialias(int antialias);
200 OSErr odb_buffer_close(buf_T *buf);
201 OSErr odb_post_buffer_write(buf_T *buf);
202 void odb_end(void);