Skip to content

Commit fca0fd2

Browse files
committed
Fix code style of gui_macvim.pro
1 parent c9d03c7 commit fca0fd2

1 file changed

Lines changed: 95 additions & 223 deletions

File tree

src/proto/gui_macvim.pro

Lines changed: 95 additions & 223 deletions
Original file line numberDiff line numberDiff line change
@@ -1,208 +1,89 @@
1-
void
2-
macvim_early_init();
3-
void
4-
gui_mch_prepare(int *argc, char **argv);
5-
void
6-
gui_macvim_after_fork_init();
7-
int
8-
gui_mch_init_check(void);
9-
int
10-
gui_mch_init(void);
11-
void
12-
gui_mch_exit(int rc);
13-
int
14-
gui_mch_open(void);
15-
void
16-
gui_mch_update(void);
17-
void
18-
gui_macvim_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-
int
34-
gui_macvim_draw_string(int row, int col, char_u *s, int len, int flags);
35-
void
36-
gui_mch_insert_lines(int row, int num_lines);
37-
void
38-
gui_mch_set_curtab(int nr);
39-
int
40-
gui_mch_showing_tabline(void);
41-
void
42-
gui_mch_update_tabline(void);
43-
void
44-
gui_mch_show_tabline(int showit);
45-
void
46-
clip_mch_lose_selection(Clipboard_T *cbd);
47-
int
48-
clip_mch_own_selection(Clipboard_T *cbd);
49-
void
50-
clip_mch_request_selection(Clipboard_T *cbd);
51-
void
52-
clip_mch_set_selection(Clipboard_T *cbd);
53-
void
54-
gui_mch_add_menu(vimmenu_T *menu, int idx);
55-
void
56-
gui_mch_add_menu_item(vimmenu_T *menu, int idx);
57-
void
58-
gui_mch_destroy_menu(vimmenu_T *menu);
59-
void
60-
gui_mch_menu_grey(vimmenu_T *menu, int grey);
61-
void
62-
gui_mch_menu_hidden(vimmenu_T *menu, int hidden);
63-
void
64-
gui_mch_show_popupmenu(vimmenu_T *menu);
65-
void
66-
gui_mch_draw_menubar(void);
67-
void
68-
gui_mch_enable_menu(int flag);
69-
void
70-
gui_mch_show_toolbar(int showit);
71-
void
72-
gui_mch_free_font(GuiFont font);
73-
GuiFont
74-
gui_mch_get_font(char_u *name, int giveErrorIfMissing);
75-
char_u *
76-
gui_mch_get_fontname(GuiFont font, char_u *name);
77-
int
78-
gui_mch_init_font(char_u *font_name, int fontset);
79-
void
80-
gui_mch_set_font(GuiFont font);
81-
int
82-
gui_mch_adjust_charheight(void);
83-
int
84-
gui_mch_adjust_charwidth(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-
char_u *
96-
gui_mch_browsedir(char_u *title, char_u *initdir);
97-
void
98-
gui_mch_create_scrollbar(
99-
scrollbar_T *sb,
100-
int orient);
101-
void
102-
gui_mch_destroy_scrollbar(scrollbar_T *sb);
103-
int
104-
gui_mch_dialog(
105-
int type,
106-
char_u *title,
107-
char_u *message,
108-
char_u *buttons,
109-
int dfltbutton,
110-
char_u *textfield,
111-
int ex_cmd);
112-
void
113-
gui_mch_draw_hollow_cursor(guicolor_T color);
114-
void
115-
gui_mch_draw_part_cursor(int w, int h, guicolor_T color);
116-
void
117-
gui_mch_enable_scrollbar(
118-
scrollbar_T *sb,
119-
int flag);
120-
void
121-
gui_mch_flash(int msec);
122-
guicolor_T
123-
gui_mch_get_color(char_u *name);
124-
guicolor_T
125-
gui_mch_get_rgb(guicolor_T pixel);
126-
guicolor_T
127-
gui_mch_get_rgb_color(int r, int g, int b);
128-
void
129-
gui_mch_get_screen_dimensions(int *screen_w, int *screen_h);
130-
int
131-
gui_mch_get_winpos(int *x, int *y);
132-
void
133-
gui_mch_getmouse(int *x, int *y);
134-
int
135-
gui_mch_haskey(char_u *name);
136-
void
137-
gui_mch_iconify(void);
138-
void
139-
gui_mch_invert_rectangle(int r, int c, int nr, int nc, int invert);
140-
void
141-
gui_mch_new_colors(void);
142-
void
143-
gui_mch_set_bg_color(guicolor_T color);
144-
int
145-
gui_mch_is_blinking(void);
146-
int
147-
gui_mch_is_blink_off(void);
148-
void
149-
gui_mch_set_blinking(long wait, long on, long off);
150-
void
151-
gui_mch_set_fg_color(guicolor_T color);
152-
void
153-
gui_mch_set_foreground(void);
154-
void
155-
gui_mch_set_scrollbar_pos(
156-
scrollbar_T *sb,
157-
int x,
158-
int y,
159-
int w,
160-
int h);
161-
int
162-
gui_mch_get_scrollbar_xpadding(void);
163-
int
164-
gui_mch_get_scrollbar_ypadding(void);
165-
void
166-
gui_mch_set_scrollbar_thumb(
167-
scrollbar_T *sb,
168-
long val,
169-
long size,
170-
long max);
171-
void
172-
gui_mch_set_shellsize(
173-
int width,
174-
int height,
175-
int min_width,
176-
int min_height,
177-
int base_width,
178-
int base_height,
179-
int direction);
180-
void
181-
gui_mch_resize_view();
182-
void
183-
gui_mch_set_sp_color(guicolor_T color);
184-
void
185-
gui_mch_set_text_area_pos(int x, int y, int w, int h);
186-
void
187-
gui_mch_set_winpos(int x, int y);
188-
void
189-
gui_mch_setmouse(int x, int y);
190-
void
191-
gui_mch_settitle(char_u *title, char_u *icon);
192-
void
193-
gui_mch_start_blink(void);
194-
void
195-
gui_mch_stop_blink(int may_call_gui_update_cursor);
196-
void
197-
gui_mch_toggle_tearoffs(int enable);
198-
void
199-
mch_set_mouse_shape(int shape);
200-
void
201-
gui_mch_def_colors();
202-
void
203-
ex_macaction(exarg_T *eap);
204-
void
205-
gui_make_popup(char_u *path_name, int mouse_pos);
1+
void macvim_early_init();
2+
void gui_mch_prepare(int *argc, char **argv);
3+
void gui_macvim_after_fork_init();
4+
int gui_mch_init_check(void);
5+
int gui_mch_init(void);
6+
void gui_mch_exit(int rc);
7+
int gui_mch_open(void);
8+
void gui_mch_update(void);
9+
void gui_macvim_update(void);
10+
void gui_mch_flush(void);
11+
void gui_macvim_flush(void);
12+
void gui_macvim_force_flush(void);
13+
int gui_mch_wait_for_chars(int wtime);
14+
void gui_mch_clear_all(void);
15+
void gui_mch_clear_block(int row1, int col1, int row2, int col2);
16+
void gui_mch_delete_lines(int row, int num_lines);
17+
int gui_macvim_draw_string(int row, int col, char_u *s, int len, int flags);
18+
void gui_mch_insert_lines(int row, int num_lines);
19+
void gui_mch_set_curtab(int nr);
20+
int gui_mch_showing_tabline(void);
21+
void gui_mch_update_tabline(void);
22+
void gui_mch_show_tabline(int showit);
23+
void clip_mch_lose_selection(Clipboard_T *cbd);
24+
int clip_mch_own_selection(Clipboard_T *cbd);
25+
void clip_mch_request_selection(Clipboard_T *cbd);
26+
void clip_mch_set_selection(Clipboard_T *cbd);
27+
void gui_mch_add_menu(vimmenu_T *menu, int idx);
28+
void gui_mch_add_menu_item(vimmenu_T *menu, int idx);
29+
void gui_mch_destroy_menu(vimmenu_T *menu);
30+
void gui_mch_menu_grey(vimmenu_T *menu, int grey);
31+
void gui_mch_menu_hidden(vimmenu_T *menu, int hidden);
32+
void gui_mch_show_popupmenu(vimmenu_T *menu);
33+
void gui_mch_draw_menubar(void);
34+
void gui_mch_enable_menu(int flag);
35+
void gui_mch_show_toolbar(int showit);
36+
void gui_mch_free_font(GuiFont font);
37+
GuiFont gui_mch_get_font(char_u *name, int giveErrorIfMissing);
38+
char_u *gui_mch_get_fontname(GuiFont font, char_u *name);
39+
int gui_mch_init_font(char_u *font_name, int fontset);
40+
void gui_mch_set_font(GuiFont font);
41+
int gui_mch_adjust_charheight(void);
42+
int gui_mch_adjust_charwidth(void);
43+
void gui_mch_beep(void);
44+
char_u *gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter);
45+
char_u *gui_mch_browsedir(char_u *title, char_u *initdir);
46+
void gui_mch_create_scrollbar(scrollbar_T *sb, int orient);
47+
void gui_mch_destroy_scrollbar(scrollbar_T *sb);
48+
int gui_mch_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd);
49+
void gui_mch_draw_hollow_cursor(guicolor_T color);
50+
void gui_mch_draw_part_cursor(int w, int h, guicolor_T color);
51+
void gui_mch_enable_scrollbar(scrollbar_T *sb, int flag);
52+
void gui_mch_flash(int msec);
53+
guicolor_T gui_mch_get_color(char_u *name);
54+
guicolor_T gui_mch_get_rgb(guicolor_T pixel);
55+
guicolor_T gui_mch_get_rgb_color(int r, int g, int b);
56+
void gui_mch_get_screen_dimensions(int *screen_w, int *screen_h);
57+
int gui_mch_get_winpos(int *x, int *y);
58+
void gui_mch_getmouse(int *x, int *y);
59+
int gui_mch_haskey(char_u *name);
60+
void gui_mch_iconify(void);
61+
void gui_mch_invert_rectangle(int r, int c, int nr, int nc, int invert);
62+
void gui_mch_new_colors(void);
63+
void gui_mch_set_bg_color(guicolor_T color);
64+
int gui_mch_is_blinking(void);
65+
int gui_mch_is_blink_off(void);
66+
void gui_mch_set_blinking(long wait, long on, long off);
67+
void gui_mch_set_fg_color(guicolor_T color);
68+
void gui_mch_set_foreground(void);
69+
void gui_mch_set_scrollbar_pos(scrollbar_T *sb, int x, int y, int w, int h);
70+
int gui_mch_get_scrollbar_xpadding(void);
71+
int gui_mch_get_scrollbar_ypadding(void);
72+
void gui_mch_set_scrollbar_thumb(scrollbar_T *sb, long val, long size, long max);
73+
void gui_mch_set_shellsize(int width, int height, int min_width, int min_height, int base_width, int base_height, int direction);
74+
void gui_mch_resize_view();
75+
void gui_mch_set_sp_color(guicolor_T color);
76+
void gui_mch_set_text_area_pos(int x, int y, int w, int h);
77+
void gui_mch_set_winpos(int x, int y);
78+
void gui_mch_setmouse(int x, int y);
79+
void gui_mch_settitle(char_u *title, char_u *icon);
80+
void gui_mch_start_blink(void);
81+
void gui_mch_stop_blink(int may_call_gui_update_cursor);
82+
void gui_mch_toggle_tearoffs(int enable);
83+
void mch_set_mouse_shape(int shape);
84+
void gui_mch_def_colors();
85+
void ex_macaction(exarg_T *eap);
86+
void gui_make_popup(char_u *path_name, int mouse_pos);
20687

20788
void serverRegisterName(char_u *name);
20889
int serverSendToVim(char_u *name, char_u *cmd, char_u **result, int *server, int asExpr, int timeout, int silent);
@@ -235,28 +116,19 @@ int is_valid_macaction(char_u *action);
235116
void gui_macvim_wait_for_startup();
236117
void gui_macvim_get_window_layout(int *count, int *layout);
237118

238-
void
239-
gui_mch_find_dialog(exarg_T *eap);
240-
void
241-
gui_mch_replace_dialog(exarg_T *eap);
242-
void
243-
im_set_control(int enable);
119+
void gui_mch_find_dialog(exarg_T *eap);
120+
void gui_mch_replace_dialog(exarg_T *eap);
121+
void im_set_control(int enable);
244122

245-
void *
246-
gui_macvim_add_channel(channel_T *channel, ch_part_T part);
247-
void
248-
gui_macvim_remove_channel(void *cookie);
249-
void
250-
gui_macvim_cleanup_job_all(void);
123+
void *gui_macvim_add_channel(channel_T *channel, ch_part_T part);
124+
void gui_macvim_remove_channel(void *cookie);
125+
void gui_macvim_cleanup_job_all(void);
251126

252-
void
253-
gui_mch_drawsign(int row, int col, int typenr);
127+
void gui_mch_drawsign(int row, int col, int typenr);
254128

255-
void *
256-
gui_mch_register_sign(char_u *signfile);
129+
void *gui_mch_register_sign(char_u *signfile);
257130

258-
void
259-
gui_mch_destroy_sign(void *sign);
131+
void gui_mch_destroy_sign(void *sign);
260132

261133
void *gui_macvim_new_autoreleasepool();
262134
void gui_macvim_release_autoreleasepool(void *pool);

0 commit comments

Comments
 (0)