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