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