3 gui_mch_prepare(int
*argc
, char
**argv
);
5 gui_mch_init_check(void
);
17 gui_macvim_flush(void
);
19 gui_macvim_force_flush(void
);
21 gui_mch_wait_for_chars(int wtime
);
23 gui_mch_clear_all(void
);
25 gui_mch_clear_block(int row1
, int col1
, int row2
, int col2
);
27 gui_mch_delete_lines(int row
, int num_lines
);
29 gui_mch_draw_string(int row
, int col
, char_u
*s
, int len
, int flags
);
31 gui_macvim_draw_string(int row
, int col
, char_u
*s
, int len
, int flags
);
33 gui_mch_insert_lines(int row
, int num_lines
);
35 gui_mch_set_curtab(int nr
);
37 gui_mch_showing_tabline(void
);
39 gui_mch_update_tabline(void
);
41 gui_mch_show_tabline(int showit
);
43 clip_mch_lose_selection(VimClipboard
*cbd
);
45 clip_mch_own_selection(VimClipboard
*cbd
);
47 clip_mch_request_selection(VimClipboard
*cbd
);
49 clip_mch_set_selection(VimClipboard
*cbd
);
51 gui_mch_add_menu(vimmenu_T
*menu
, int idx
);
53 gui_mch_add_menu_item(vimmenu_T
*menu
, int idx
);
55 gui_mch_destroy_menu(vimmenu_T
*menu
);
57 gui_mch_menu_grey(vimmenu_T
*menu
, int grey
);
59 gui_mch_menu_hidden(vimmenu_T
*menu
, int hidden
);
61 gui_mch_show_popupmenu(vimmenu_T
*menu
);
63 gui_mch_draw_menubar(void
);
65 gui_mch_enable_menu(int flag
);
67 gui_mch_show_toolbar(int showit
);
69 gui_mch_free_font(GuiFont font
);
71 gui_mch_get_font(char_u
*name
, int giveErrorIfMissing
);
73 gui_mch_get_fontname(GuiFont font
, char_u
*name
);
75 gui_mch_init_font(char_u
*font_name
, int fontset
);
77 gui_mch_set_font(GuiFont font
);
79 gui_mch_adjust_charheight(void
);
91 gui_mch_create_scrollbar(
95 gui_mch_destroy_scrollbar(scrollbar_T
*sb
);
105 gui_mch_draw_hollow_cursor(guicolor_T color
);
107 gui_mch_draw_part_cursor(int w
, int h
, guicolor_T color
);
109 gui_mch_enable_scrollbar(
113 gui_mch_flash(int msec
);
115 gui_mch_get_color(char_u
*name
);
117 gui_mch_get_rgb(guicolor_T pixel
);
119 gui_mch_get_screen_dimensions(int
*screen_w
, int
*screen_h
);
121 gui_mch_get_winpos(int
*x
, int
*y
);
123 gui_mch_getmouse(int
*x
, int
*y
);
125 gui_mch_haskey(char_u
*name
);
127 gui_mch_iconify(void
);
129 gui_mch_invert_rectangle(int r
, int c
, int nr
, int nc
, int invert
);
131 gui_mch_new_colors(void
);
133 gui_mch_set_bg_color(guicolor_T color
);
135 gui_mch_set_blinking(long wait
, long on
, long off
);
137 gui_mch_set_fg_color(guicolor_T color
);
139 gui_mch_set_foreground(void
);
141 gui_mch_set_scrollbar_pos(
148 gui_mch_set_scrollbar_thumb(
154 gui_mch_set_shellsize(
163 gui_mch_set_sp_color(guicolor_T color
);
165 gui_mch_set_text_area_pos(int x
, int y
, int w
, int h
);
167 gui_mch_set_winpos(int x
, int y
);
169 gui_mch_setmouse(int x
, int y
);
171 gui_mch_settitle(char_u
*title
, char_u
*icon
);
173 gui_mch_start_blink(void
);
175 gui_mch_stop_blink(void
);
177 gui_mch_toggle_tearoffs(int enable
);
179 mch_set_mouse_shape(int shape
);
181 gui_mch_def_colors();
183 ex_macaction(exarg_T
*eap
);
185 gui_make_popup(char_u
*path_name
, int mouse_pos
);
187 void
serverRegisterName(char_u
*name
);
188 int
serverSendToVim(char_u
*name
, char_u
*cmd
, char_u
**result
, int
*server
, int asExpr
, int silent
);
189 char_u
*serverGetVimNames(void
);
190 int
serverStrToPort(char_u
*str
);
191 int
serverPeekReply(int port
, char_u
**str
);
192 int
serverReadReply(int port
, char_u
**str
);
193 int
serverSendReply(char_u
*serverid
, char_u
*str
);
195 void
gui_mch_enter_fullscreen(int fuoptions_flags
, guicolor_T bg
);
196 void
gui_mch_leave_fullscreen(void
);
197 void
gui_mch_fuopt_update(void
);
199 void
gui_macvim_update_modified_flag();
200 void
gui_macvim_add_to_find_pboard(char_u
*pat
);
201 void
gui_macvim_set_antialias(int antialias
);
203 OSErr
odb_buffer_close(buf_T
*buf
);
204 OSErr
odb_post_buffer_write(buf_T
*buf
);
207 char_u
*get_macaction_name(expand_T
*xp
, int idx
);
208 int
is_valid_macaction(char_u
*action
);
210 void
gui_macvim_wait_for_startup();
211 void
gui_macvim_get_window_layout(int
*count
, int
*layout
);
214 gui_mch_find_dialog(exarg_T
*eap
);
216 gui_mch_replace_dialog(exarg_T
*eap
);
218 im_set_control(int enable
);