annotate src/proto/gui.pro @ 6773:eb4b705a5d6a v7.4.708

patch 7.4.708 Problem: gettext() is called too often. Solution: Do not call gettext() for messages until they are actually used. (idea by Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Tue, 21 Apr 2015 16:49:05 +0200
parents 1a9c16dd76d4
children 21b0a39d13ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* gui.c */
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
2 void gui_start __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
3 void gui_prepare __ARGS((int *argc, char **argv));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
4 int gui_init_check __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
5 void gui_init __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
6 void gui_exit __ARGS((int rc));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
7 void gui_shell_closed __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
8 int gui_init_font __ARGS((char_u *font_list, int fontset));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
9 int gui_get_wide_font __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
10 void gui_set_cursor __ARGS((int row, int col));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
11 void gui_update_cursor __ARGS((int force, int clear_selection));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
12 void gui_position_menu __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
13 int gui_get_base_width __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
14 int gui_get_base_height __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
15 void gui_resize_shell __ARGS((int pixel_width, int pixel_height));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
16 void gui_may_resize_shell __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
17 int gui_get_shellsize __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
18 void gui_set_shellsize __ARGS((int mustset, int fit_to_display, int direction));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
19 void gui_new_shellsize __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
20 void gui_reset_scroll_region __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
21 void gui_start_highlight __ARGS((int mask));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
22 void gui_stop_highlight __ARGS((int mask));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
23 void gui_clear_block __ARGS((int row1, int col1, int row2, int col2));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
24 void gui_update_cursor_later __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
25 void gui_write __ARGS((char_u *s, int len));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
26 void gui_dont_update_cursor __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
27 void gui_can_update_cursor __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
28 int gui_outstr_nowrap __ARGS((char_u *s, int len, int flags, guicolor_T fg, guicolor_T bg, int back));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
29 void gui_undraw_cursor __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
30 void gui_redraw __ARGS((int x, int y, int w, int h));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
31 int gui_redraw_block __ARGS((int row1, int col1, int row2, int col2, int flags));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
32 int gui_wait_for_chars __ARGS((long wtime));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
33 void gui_send_mouse_event __ARGS((int button, int x, int y, int repeated_click, int_u modifiers));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
34 int gui_xy2colrow __ARGS((int x, int y, int *colp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
35 void gui_menu_cb __ARGS((vimmenu_T *menu));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
36 void gui_init_which_components __ARGS((char_u *oldval));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
37 int gui_use_tabline __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
38 void gui_update_tabline __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
39 void get_tabline_label __ARGS((tabpage_T *tp, int tooltip));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
40 int send_tabline_event __ARGS((int nr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
41 void send_tabline_menu_event __ARGS((int tabidx, int event));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
42 void gui_remove_scrollbars __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
43 void gui_create_scrollbar __ARGS((scrollbar_T *sb, int type, win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
44 scrollbar_T *gui_find_scrollbar __ARGS((long ident));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
45 void gui_drag_scrollbar __ARGS((scrollbar_T *sb, long value, int still_dragging));
1906
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1121
diff changeset
46 void gui_may_update_scrollbars __ARGS((void));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
47 void gui_update_scrollbars __ARGS((int force));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
48 int gui_do_scroll __ARGS((void));
2416
1a9c16dd76d4 Fix compiler warnings on 64 bit systems.
Bram Moolenaar <bram@vim.org>
parents: 2409
diff changeset
49 int gui_do_horiz_scroll __ARGS((long_u leftcol, int compute_longest_lnum));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
50 void gui_check_colors __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
51 guicolor_T gui_get_color __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
52 int gui_get_lightness __ARGS((guicolor_T pixel));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
53 void gui_new_scrollbar_colors __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
54 void gui_focus_change __ARGS((int in_focus));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
55 void gui_mouse_moved __ARGS((int x, int y));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
56 void gui_mouse_correct __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
57 void ex_gui __ARGS((exarg_T *eap));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
58 int gui_find_bitmap __ARGS((char_u *name, char_u *buffer, char *ext));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
59 void gui_find_iconfile __ARGS((char_u *name, char_u *buffer, char *ext));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
60 void display_errors __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
61 int no_console_input __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
62 void gui_update_screen __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
63 char_u *get_find_dialog_text __ARGS((char_u *arg, int *wwordp, int *mcasep));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
64 int gui_do_findrepl __ARGS((int flags, char_u *find_text, char_u *repl_text, int down));
e63691e7c504 updated for version 7.1a
vimboss
parents: 842
diff changeset
65 void gui_handle_drop __ARGS((int x, int y, int_u modifiers, char_u **fnames, int count));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 /* vim: set ft=c : */